Set up your client code for Adyen OVO payments
Learn how to set up your client code for Adyen OVO payments by integrating with Payment Pages 2.0 and specifying required parameters for rendering the Payment Page form.
Follow the instructions in Integrate Payment Pages 2.0 . When rendering the Payment Page form, specify the following required parameters in the Z.render or Z.renderWithErrorHandler function. For other optional parameters, see Client Parameters for Payment Pages 2.0 .
|
Required Parameter |
Type |
Description |
|---|---|---|
|
doPayment |
boolean |
Default: false
If it is
To implement OVO payment flows,
|
|
storePaymentMethod |
boolean |
Default: true
|
|
field_accountId |
string |
Zuora customer account ID. This account must be set up with the IDR currency. The payment method will be created for this specified account.
Example:
|
|
authorizationAmount |
number |
Required for authorization amount processing The amount of the one-time payment that will be sent to the gateway. For more information about this parameter, see Client parameters for Payment Pages 2.0 . |
|
field_currency |
string |
Required for authorization amount processing The currency of the one-time payment amount. Only IDR is supported by Adyen OVO. For more information about this parameter, see Client parameters for Payment Pages 2.0 . |
|
documents |
array |
Required for invoice processing An array of invoices to be paid in this transaction, containing the following fields:
|
Here is an example:
var params = {
doPayment:"true",
storePaymentMethod:"false",
field_accountId:"testc0f87596f2f301759c29443622fa",
documents:"[{"type":"invoice","ref":"INV00026338"}, {"type":"invoice","ref":"INV00026339"}]"
};