| Name | Description | Type | Additional information |
|---|---|---|---|
| type |
The payment type, i.e. deposit [default], full or plan |
string |
None. |
| paymentDay |
The day of the month on which payment should be taken. Required when type = plan, e.g. 4 |
integer |
None. |
| termsAgreed |
Confirmation that the customer has agreed to the terms and conditions, i.e. Y or N |
string |
None. |
| paymentGateway |
Payment gateway to use, i.e. LIVE or TEST [default] |
string |
None. |
| baseURL |
Basic Payment Page address that is used in case the Payment Page domain differs from the domain used to connect libraries or if merchant.js is not connected via the / tag (ECommPay ONLY) |
string |
None. |
| targetElement |
The element in which the iframe of the payment page is embedded in the web page of your project (ECommPay ONLY) |
string |
None. |
| redirectFailURL |
The redirection URL when the payment fails (ECommPay ONLY) |
string |
None. |
| redirectSuccessURL |
The redirection URL when the payment succeeds (ECommPay ONLY) |
string |
None. |
| redirectSuccessMode |
The mode for customer redirection when the payment succeeded. Value accepted: iframe, parent_page or blank_page (ECommPay ONLY) |
string |
None. |
| redirectFailMode |
The mode for customer redirection when the payment failed. Value accepted: iframe, parent_page or blank_page (ECommPay ONLY) |
string |
None. |