Required parameters
This document outlines the required parameters for payment processing, including details on boolean fields like doPayment and storePaymentMethod, as well as specific fields such as field_accountId and authorizationAmount.
|
Required Parameter |
Description |
|---|---|
|
doPayment |
Type: boolean Default: false true indicates that the Payment Page will create a payment method as well as process the one-time payment transaction. If it is false or not specified, the Payment Page will only create a payment method. To implement payment processing flows, set doPayment to true . To implement payment method validation and setup flows, set doPayment to false . |
|
storePaymentMethod |
Type: boolean Default: true true indicates that the payment method will be stored in Zuora and used in subsequent recurring payments. false indicates that the payment method will not be stored in Zuora. End customers need to be brought back to session to authenticate the payment. |
|
param_gwOptions_MomoPayMandateEnabled |
Type: boolean Default: false
To create a mandate and store the payment method in Zuora for processing subsequent recurring payments, in addition to the
If you specify
|
|
field_accountId |
Type: string Example: 8a90e5e48f2eade6018f2ed19133003a Zuora customer account ID. This account must be set up with the VND currency. The payment method will be created for this specified account. |
|
authorizationAmount |
Required for authorization amount processing For payment processing flow, it is the amount of the one-time payment that will be sent to the gateway. For payment method validation flow, specify 0 for this field. For more information about this parameter, see Client parameters for Payment Pages 2.0 . |
|
field_currency |
Required for authorization amount processing The currency of the one-time payment amount. Only VND is supported by Adyen MoMo. For more information about this parameter, see Client parameters for Payment Pages 2.0 . |
|
documents |
Required for invoice processing An array of invoices to be paid in this transaction, containing the following fields:
|
If you want to use a non-zero value in a payment method verification request, pass the
param_gwOptions_additionalAmount
Gateway Options field. It is mapped to Adyen's
additionalAmount.value
field and sent to Adyen. See Adyen's documentation
for more information.