Newer Version Available

This content describes an older version of this product. View Latest

payments Commands

commerce:payments:quickstart:setup

Set up a new Payment Gateway.

Examples for commerce:payments:quickstart:setup

sfdx commerce:payments:quickstart:setup -p Stripe

Command Syntax

sfdx commerce:payments:quickstart:setup
[--json]
[--loglevel LOGLEVEL]
[-u TARGETUSERNAME]
[--apiversion APIVERSION]
[-p PAYMENT-ADAPTER]
[-n STORE-NAME]

Parameters

--json
Optional

Format output as JSON.

Type: boolean
--loglevel LOGLEVEL
Optional

The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.

Type: enum
Permissible values are: trace, debug, info, warn, error, fatal, TRACE, DEBUG, INFO, WARN, ERROR, FATAL
Default value: warn
-u | --targetusername TARGETUSERNAME
Optional

A username or alias for the target org. Overrides the default target org.

Type: string
--apiversion APIVERSION
Optional

Override the API version used for API requests made by this command.

Type: string
-p | --payment-adapter PAYMENT-ADAPTER
Optional

Payment Adapter.

Type: string
Default value: Stripe
-n | --store-name STORE-NAME
Required

Name of the site to create.

Type: string
Default value: 1commerce