PrestaShop provides an open source, e-commerce software that enables merchants to create and manage their online store. By connecting your store to BlueSnap, you’ll be able to securely accept card payments. And since the payment form is embedded in your checkout form, shoppers will enjoy a frictionless checkout experience. You’ll also have access to BlueSnap’s reporting, allowing you to dig into your e-commerce data.
The BlueSnap module is supported for PrestaShop version 1.7.
You must have accounts at both PrestaShop and BlueSnap to proceed.
This guide assumes that you already have the PrestaShop software installed and uploaded to your server. For instructions, see PrestaShop's documentation.
BlueSnap requires a secure connection to process payments. You'll need to ensure that your domain is SSL certified and SSL is enabled for Prestashop. For more information, check out PrestaShop's documentation.
BlueSnap supports the currencies listed here. If a shopper chooses a currency not shown on this list, BlueSnap will not be available.
A PCI compliance of SAQ-A is required.
BlueSnap's Payment API supports 3D Secure, a tool that provides an additional layer of security for online card transactions. A lookup performed during checkout determines if the issuer requires shopper identity verification. If you flag shopper authentication as a requirement, your shoppers will be challenged for this info (in the form of a popup), which typically prompts them to enter their credentials (e.g. a password).
To set 3D Secure for your shopper’s online card transactions, click Yes in the Enable 3D-SECURE field, which displays in the BLUESNAP GENERAL SETTINGS pane (accessed via Modules > bluesnap > Configure); for example:
The BlueSnap module is available to download for free on Prestashop.
Download the BlueSnap module from Prestashop.
Log in to PrestaShop as an admin.
Go to Modules > Modules & Services and click Upload a module.
When the module has finished installing, you'll see the following message.
Follow these steps in your PrestaShop admin account to configure the BlueSnap module.
- Configure the following settings.
This option determines if you are testing your account.
- Select Yes to test in your BlueSnap Sandbox account. If yes, enter your Sandbox username and Sandbox password.
- Select No to work with your BlueSnap Production account.
Set this to No when you're ready to start processing live transactions.
Enter your BlueSnap Sandbox API username.
Enter a value if you want to change your Sandbox API password. Otherwise, leave blank.
Enter your BlueSnap Production API username.
Note: Be sure to enter your Production API username to go live.
Enter a value if you want to change your Production API password. Otherwise, leave blank.
Statement Soft Descriptor
Enter the description that will appear on the shopper's billing statement to help them identify the purchase.
Is Debug Mode Enabled
Specify if you want communications between PrestaShop and BlueSnap recorded in the log file, which is located in
- Select Yes to log the communications. We recommend using this option during the development of your site or if you're experiencing any problems.
- Select No to opt out of logging communications between PrestaShop and BlueSnap
Enable Vaulted Shoppers
Specify if you want to to allow logged-in shoppers the option to store their card details for future purchases.
Select Yes to present the option.
Select No to disable this option.
Use BlueSnap Exchange Rate Converter
Select Yes to use BlueSnap's currency exchange rates for sales.
We highly recommend that you use BlueSnap's exchange rates to ensure there are no discrepancies between the rates used to display prices during checkout and the rates used for payout.
- Click Save.
Notes on configuring PrestaShop
- If you have a multi-store environment, when you add another store you may have to reset the BlueSnap module for PrestaShop to recognize it for the new store.
- Verify the payment preferences to make sure that they allow access to the various payment methods.
To configure your application to automatically get updated exchange rates from BlueSnap, follow the steps in this section. This will ensure currency conversions are done with the most updated rates from BlueSnap.
Note: The Cron tasks manager module needs to be installed before proceeding. This module assists with scheduling time-based actions, such as updating exchange rates.
Go to International > Localization > Currencies and make sure Live Exchange Rates is enabled.
To configure your Cron tasks manager settings, go to Modules > Modules & Services > Installed modules.
Locate the Cron tasks manager module and click Configure.
Select one of the following modes:
- Basic - Update exchange rates when a shopper visits your store, using PrestaShop's cron tasks webservice.
- Advanced - Update exchange rates when a shopper visits your store, using your own cron tasks manager. This mode requires you to add a line to your crontab file, which is explained in further detail in the configuration screen.
Locating your crontab file
The crontab is an application that runs on the server operating PrestaShop and is in charge of time-based actions. The crontab file is available to you in most UNIX/Linux based machines, and often can be found in
/var/spool/cron. If you are not sure where your crontab file is, please reach out to your IT team or hosting provider for more details.
Updating currency rates after re-enabling the BlueSnap module
If you need to re-enable the BlueSnap module for any reason, we recommend that you complete the following steps after you've re-enabled the module. These steps ensure that the currency rates will be updated with BlueSnap's rates.
- In your PrestaShop admin account, go to Modules > Modules & Services > Installed modules, and click Configure next to the BlueSnap module.
- On the configuration page, click Save.
Instant Payment Notifications (IPNs), also known as webhooks, are HTTP POST messages that are sent to your PrestaShop account when an important event occurs. Follow the steps below to set up IPNs.
Log in to your BlueSnap account and go to Settings > General Settings.
In the Notifications section, select Receive Instant Payment Notifications.
Update the IPN URL(s) field with the URL you obtained in Step 3.
- Click Submit.