Set your desired payment method
Using Smart Checkout, you have the option to indicate to your customers, your desired preselected payment method. Alongside, your customers have the option to select to pay with any other payment methods.
You simply append the query parameter paymentMethod
to the Smart Checkout’s URL as the below example:
Environment | URL |
---|---|
Production | https://www.vivapayments.com/web/checkout?ref={OrderCode}&paymentMethod={MethodId} |
Demo | https://demo.vivapayments.com/web/checkout?ref={OrderCode}&paymentMethod={MethodId} |
MethodId | Payment Method |
---|---|
0 (default) | Credit Card |
2 | SEPA Direct Debit |
3 | Cash (Viva Spot) |
4 | e-banking (ΔΙΑΣ) |
8 | Viva Wallet |
10 | iDEAL |
11 | P24 |
12 | BLIK |
13 | PayU |
14 | MULTIBANCO |
15 | giropay |
16 | Sofort |
17 | EPS |
18 | WeChat Pay |
19 | BitPay |
23 | PayPal |
24 | Trustly |
28 | Payconiq |
29 | IRIS |
If the paymentMethod
parameter value is null or is not valid or is missing, then the default value (Credit Card) will apply.
Examples
PayPal as preselected payment method
You may find below an example with PayPal as the preselected payment method. The customer will be redirected to Smart Checkout which will present PayPal as preselected payment method, while still being able to pay with any other payment method he desires.
Environment | URL |
---|---|
Production | https://www.vivapayments.com/web/checkout?ref={OrderCode}&paymentMethod=23 |
Demo | https://demo.vivapayments.com/web/checkout?ref={OrderCode}&paymentMethod=23 |
Credit Card as preselected payment method
You may find below an example with Credit Card as the preselected payment method. The customer will be redirected to Smart Checkout which will present Credit Card as preselected payment method, while still being able to pay with any other payment method he desires.
Environment | URL |
---|---|
Production | https://www.vivapayments.com/web/checkout?ref={OrderCode}&paymentMethod=0 |
Demo | https://demo.vivapayments.com/web/checkout?ref={OrderCode}&paymentMethod=0 |
Get Support
If you have any questions about our solutions, or questions about how to integrate with our solutions, please refer to our Get Support page.