This article is also available in:
Besides PayPal, Stripe and other payment gateways, you can activate Cardpay as well if you want to allow credit card payments during checkout.

Before connecting, you must have a Cardpay account. Check the step A below for more details. If you already had a Merchant Account and Sandbox Account, kindly follow this tutorial to finish all steps.

Step-by-step guide:

A. Set up Cardpay Merchant Account

B. Get Terminal code, Terminal Password & Callback secret

C. Add Callback URL and turn on Auto redirect

D. Send CSS file to Cardpay

E. Activate Cardpay as your payment method

F. Setup Cardpay's Sandbox Account (for testing)

G. Deactivate your Cardpay account


A. Set up Cardpay Merchant Account

Cardpay can be configured on test mode or live mode on your store.

Either you want to use it as a live gateway (for real purchases) or just want to test the gateway, you need to apply for an account.



B. Get the Terminal code, Terminal Password & Callback secret

You will need to get the Terminal code, Terminal Password & Callback secret of your Cardpay account for later steps.

Guideline

For Live account, you can either select Dashboard from Cardpay home page or login from Cardpay dashboard.



Enter your credentials to Log In.

From Dashboard, click your profile at the right top of the page > go to Settings.



In Settings menu, select Wallet settings.

The ID shown in URL list is Terminal Code. Copy ID of the website you need for later steps.



Click on the ID of the URL that you want to get the key. You will see the detailed configuration of that URL.



Click button Show credentials to get the Terminal Password and Callback secret.

Note: Credentials for this terminal will be shown ONLY ONCE upon Show credentials control activation. Remember to copy and save your keys for later use.



Click on the Copy button to copy Terminal Password and Callback secret.

C. Add Callback URL and turn on Auto redirect

Copy the below link and paste in field JSON callback URL of Callbacks section to complete setup in Cardpay dashboard.

https://whk.shopbase.com/provider-whk?provider=cardpay



Then, don't forget to turn on the option Auto direction to website after payment of Redirect URLs for cardholders section to make sure customers will be redirected to your site after completing payments. You can set the time for auto redirect by entering the number of seconds in field Auto direction timeout in seconds.



D. Send CSS file to Cardpay

In order to complete setup for checkout page, download the below file and send to Cardpay via email:

https://assets.shopbase.com/cardpay/customized_css.zip

E. Activate Cardpay as your payment method

Go to ShopBase store admin >> Settings >> Payment Providers and click to choose Cardpay

Note: Please Deactivate your current payment gateway before choosing Cardpay



Enter your merchant info from step B above >> Activate.



You can turn on 3D secure for this payment gateway.

That's all and you are now ready to receive customers' purchases via Cardpay.

F. Setup Cardpay's Sandbox Account (for testing)

For Test account, you can login from Cardpay Sandbox dashboard and get Terminal code, Terminal Password & Callback secret.

Then, turn on Test mode in the ShopBase dashboard > Settings > Payment Providers.



You can use the following test cards to simulate payments for different billing countries.

For 3-D Secure transactions

4000000000000002: CONFIRMED as 3-D Secure transaction
5555555555554444: DECLINED as 3-D Secure transaction
4000000000000044: AUTHORIZED as 3-D Secure transaction

For non 3-D Secure transactions

4000000000000077: CONFIRMED as non 3-D Secure transaction
5555555555554477: DECLINED as non 3-D Secure transaction
4000000000000051: AUTHORIZED as non 3-D Secure transaction

G. Deactivate your Cardpay account

After connecting your Cardpay account to the store, you can deactivate anytime and still be able to re-activate it later with the same or different credentials.
Was this article helpful?
Cancel
Thank you!