In the left menu, go to Settings > Channels, and make a note of your secret and public API keys.
You also need to configure webhooks for PrestaShop. Correctly configuring them is important; if your webhooks are incorrectly formatted, the plugin will not work.
Webhooks are notifications that we send when an event occurs on your account. For example, when a payment is captured. These are used by the PrestaShop plugin to update the status of an order. Read more about webhooks.
While in the Settings > Channels section of your Hub account, scroll down to the Webhooks section and select New webhook.
Enter the following endpoint URL, replacing example.com with the URL of your shop:
That's it! You're ready to start testing card payments.
Go to your storefront and add a product to your cart.
Go to your cart and proceed to the checkout.
Enter the required billing details. You can put anything here, though we recommend using a real email address so you can receive the order confirmation.
Select the Pay by Card with Checkout.com method.
Enter the following card details:
Number: 4242 4242 4242 4242
Expiry date: 12/25
Agree to the terms of service and select Order with an obligation to pay. You'll be redirected to an order confirmation page, and, if you entered a real email address in the billing details, you'll also receive an order confirmation email.
Sign in to your PrestaShop admin dashboard, and go to Order settings > Order settings. Your test order will be displayed there with a Payment accepted status. (The transaction will also appear in the Payments section of your sandbox Hub account.) This indicates that the payment has been successfully captured.
You'll find more test cards and a range of scenarios to trigger in our testing guide.
If this test does not work, first check you have configured your webhooks correctly. For the plugin to work, they must be formatted correctly. If you have configured them properly, check your server; if it's password-protected or it restricts unfamiliar IP addresses, it may be blocking webhook notifications. Contact our Support team at [email protected] if you need help.
If you're happy with the outcome of your testing and want to start taking payments right away, please contact our Sales team in order to move to a live account.
Before you go live, remember to:
Switch the environment to Live in the plugin's settings.
Update your secret and public API keys in the plugin's settings with the keys from your live Hub account.
Configure the webhook URLs in your live Hub account.