Top Banner
API v2 plugin for PrestaShop 1.6 -CentralPay- The content of this document is the property of CentralPay and cannot be used or reproduced without the written authorisation of CentralPay. CentralPay v2 plugin PrestaShop 1.6 CENTRALPAY is a PCI DSS compliant payment gateway www.centralpay.eu April 2018 page: 1 / 13
13

jperalta/CentralPay/wiki/CentralPay v2 plugin …...Our payment module is compatible with e-commerce solution PrestaShop version 1.6. A general tutorial to install a PrestaShop module

Jun 21, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: jperalta/CentralPay/wiki/CentralPay v2 plugin …...Our payment module is compatible with e-commerce solution PrestaShop version 1.6. A general tutorial to install a PrestaShop module

API v2 plugin for PrestaShop 1.6-CentralPay-

The content of this document is the property of CentralPay and cannot be used or reproduced without thewritten authorisation of CentralPay.

CentralPay v2 plugin PrestaShop 1.6

CENTRALPAY is a PCI DSS compliant payment gatewaywww.centralpay.eu

April 2018 page: 1 / 13

Page 2: jperalta/CentralPay/wiki/CentralPay v2 plugin …...Our payment module is compatible with e-commerce solution PrestaShop version 1.6. A general tutorial to install a PrestaShop module

Content:

INSTALLING THE API V2 MODULE IN PRESTASHOP 3INSTALLING FROM ADMINISTRATION PANEL 3

Download module zip file 3Modules and Services 4Upload module 5

FTP MANUAL INSTALLATION 7Download module and extract files 7Upload module files 8Modules and Services 4Install uploaded module 10

SETTING UP YOUR PAYMENT MODULE PARAMETERS 11Select the API v2 module 11Configure payment module settings 12Set the module for live mode 13

CentralPay v2 plugin PrestaShop 1.6

CENTRALPAY is a PCI DSS compliant payment gatewaywww.centralpay.eu

April 2018 page: 2 / 13

Page 3: jperalta/CentralPay/wiki/CentralPay v2 plugin …...Our payment module is compatible with e-commerce solution PrestaShop version 1.6. A general tutorial to install a PrestaShop module

Our payment module is compatible with e-commerce solution PrestaShop version 1.6.

A general tutorial to install a PrestaShop module is available in the PrestaShopdocumentation page.

INSTALLING THE API V2 MODULE IN PRESTASHOPYou can install your plugin from your PrestaShop administration panel or manually via ftp. Werecomment the first method as it's easier. If this doesn't work we'll recomment the second one.

Find below detailed instructions to install the payment module.

INSTALLING FROM ADMINISTRATION PANEL

Download module zip file

Download the CentralPay module for PrestaShop (.zip) from the e-commerce payment pluginsection of the CentralPay Documentation or directly in this link.

CentralPay v2 plugin PrestaShop 1.6

CENTRALPAY is a PCI DSS compliant payment gatewaywww.centralpay.eu

April 2018 page: 3 / 13

Page 4: jperalta/CentralPay/wiki/CentralPay v2 plugin …...Our payment module is compatible with e-commerce solution PrestaShop version 1.6. A general tutorial to install a PrestaShop module

Modules and Services

From your administration panel Dashboard click on Modules > Modules & services :

Now in the List of modules section click on the Add a new module button.

CentralPay v2 plugin PrestaShop 1.6

CENTRALPAY is a PCI DSS compliant payment gatewaywww.centralpay.eu

April 2018 page: 4 / 13

Page 5: jperalta/CentralPay/wiki/CentralPay v2 plugin …...Our payment module is compatible with e-commerce solution PrestaShop version 1.6. A general tutorial to install a PrestaShop module

...A new form to upload a module will be displayed.

Upload module

Click then in the Choose a file button. Select the prestashop1.6.zip previously downloaded file.

CentralPay v2 plugin PrestaShop 1.6

CENTRALPAY is a PCI DSS compliant payment gatewaywww.centralpay.eu

April 2018 page: 5 / 13

Page 6: jperalta/CentralPay/wiki/CentralPay v2 plugin …...Our payment module is compatible with e-commerce solution PrestaShop version 1.6. A general tutorial to install a PrestaShop module

Once selected click in the Upload this module button.

If the installation is correct you will see a Module installed! message. If you click in the CONFIGUREbutton you'll be redirected to the installed module settings page.

CentralPay v2 plugin PrestaShop 1.6

CENTRALPAY is a PCI DSS compliant payment gatewaywww.centralpay.eu

April 2018 page: 6 / 13

Page 7: jperalta/CentralPay/wiki/CentralPay v2 plugin …...Our payment module is compatible with e-commerce solution PrestaShop version 1.6. A general tutorial to install a PrestaShop module

FTP MANUAL INSTALLATION

Download module and extract files

Download the API v2 module for PrestaShop (.zip) from Paysite-cash Helpdesk: You will find it inDownloads > Categories > Softwares Modules or directly in this link.

Extract the content of the zip file downloaded to your device:

CentralPay v2 plugin PrestaShop 1.6

CENTRALPAY is a PCI DSS compliant payment gatewaywww.centralpay.eu

April 2018 page: 7 / 13

Page 8: jperalta/CentralPay/wiki/CentralPay v2 plugin …...Our payment module is compatible with e-commerce solution PrestaShop version 1.6. A general tutorial to install a PrestaShop module

Upload module files

Connect to your server via FTP and find the directory /modules of your PrestaShop installation:

Open it and upload the folder named /centralpay to the /modules directory. Once uploaded youwill see it with all the other PrestaShop modules installed:

CentralPay v2 plugin PrestaShop 1.6

CENTRALPAY is a PCI DSS compliant payment gatewaywww.centralpay.eu

April 2018 page: 8 / 13

Page 9: jperalta/CentralPay/wiki/CentralPay v2 plugin …...Our payment module is compatible with e-commerce solution PrestaShop version 1.6. A general tutorial to install a PrestaShop module

Modules and Services

From your administration panel Dashboard click on Modules > Modules & services . You will see alist of available plugins to install in the List of modules section:

Select Modules Not Installed in the Filter by option and/or type centralpay in the search field tofilter the uploaded payment module.

CentralPay v2 plugin PrestaShop 1.6

CENTRALPAY is a PCI DSS compliant payment gatewaywww.centralpay.eu

April 2018 page: 9 / 13

Page 10: jperalta/CentralPay/wiki/CentralPay v2 plugin …...Our payment module is compatible with e-commerce solution PrestaShop version 1.6. A general tutorial to install a PrestaShop module

Install uploaded module

• Click on the Install green button and the installation process of your uploaded module willstart.

• A pop up will appear asking confirmation, click on the Proceed with the installation

orange button. This step can last approximately one minute.:

Finally, after the module has been installed, you will see the Configure module page with themessage Module(s) installed successfully in green. You can proceed to configure the settings,this step is explained with detail in the configure settings page.

CentralPay v2 plugin PrestaShop 1.6

CENTRALPAY is a PCI DSS compliant payment gatewaywww.centralpay.eu

April 2018 page: 10 / 13

Page 11: jperalta/CentralPay/wiki/CentralPay v2 plugin …...Our payment module is compatible with e-commerce solution PrestaShop version 1.6. A general tutorial to install a PrestaShop module

SETTING UP YOUR PAYMENT MODULE PARAMETERSSelect the API v2 module

• Login to your administration panel and from the Dashboard click onModules > Modules & services .

• In the Module selection section click on the Installed modules link. A list with all the pluginsenabled will be displayed. Find the CentralPay payment module V 2.0 and click on theCONFIGURE button:

CentralPay v2 plugin PrestaShop 1.6

CENTRALPAY is a PCI DSS compliant payment gatewaywww.centralpay.eu

April 2018 page: 11 / 13

Page 12: jperalta/CentralPay/wiki/CentralPay v2 plugin …...Our payment module is compatible with e-commerce solution PrestaShop version 1.6. A general tutorial to install a PrestaShop module

Configure payment module settings

You will find different empty fields in the Configure form:

Use the SandBox Test Account Details to fill the settings:

1. Login: the first part of the API Key, before the : colon.2. Password: the second part of the API Key, after the : colon.3. Public key: the 64 character ( [0-9a-f]{64} ) MerchantPublicKey.4. Point of sale: the 36 character ( [0-9a-f]{8}-{4}-{4}-{4}-{12} ) point of sale ID.

• Code ISO Merchant country should be the country of the company, an ISO3166 code informat alpha2 (e.g.: US, FR, DE, GB...).

CentralPay v2 plugin PrestaShop 1.6

CENTRALPAY is a PCI DSS compliant payment gatewaywww.centralpay.eu

April 2018 page: 12 / 13

Page 13: jperalta/CentralPay/wiki/CentralPay v2 plugin …...Our payment module is compatible with e-commerce solution PrestaShop version 1.6. A general tutorial to install a PrestaShop module

Set the module for live mode

After you have tested successfully your payments in sandbox mode, you can request yourProduction Account. You will receive a Production Account Details pdf document where you willfind the same fields included in the Sandbox Test Account Details document.

Replace in the payment module settings of your PrestaShop administration panel the Login,Password, Public Key and Point of sale with the ones provided in the Production Account Detailsdocument.

Finally set the Test mode to No.

CentralPay v2 plugin PrestaShop 1.6

CENTRALPAY is a PCI DSS compliant payment gatewaywww.centralpay.eu

April 2018 page: 13 / 13