Set your desired payment method
How to set a desired (preselected) payment method.
Overview
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 |
3 | Cash (Viva Spot) |
4 | e-banking (ΔΙΑΣ) |
6 | MobilePay Online |
8 | Viva Wallet |
10 | iDEAL |
11 | P24 |
12 | BLIK |
13 | PayU |
17 | EPS |
18 | WeChat Pay |
19 | BitPay |
23 | PayPal |
24 | Trustly |
26 | Klarna |
27 | Bancontact QR |
28 | Payconiq |
29 | IRIS |
30 | Pay By Bank |
31 | MB WAY |
32 | MULTIBANCO |
34 | tbi bank |
35 | Pay on Delivery |
36 | MobilePay Online |
37 | BANCOMAT Pay |
41 | Bluecode |
43 | Satispay |
221 | Swish |
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 would like to integrate with Viva, or if you have any queries about our products and solutions, please see our Contact & Support page to see how we can help!