Gestpay PRO module permits to connect the Magento checkout page with Gestpay. Gestpay PRO has three different integration modes:
- standard - the user will be redirected on Gestpay payment page, and will be afterwards redirected to the shop at the end of the transacion;
- iFrame - you can personalize every aspect of your payment page, like layout and language, with the advantage to let Gestpay handle sensitive credit card data;
- Token - with this service, credit card data can be stored safely on Gestpay servers, and the users will be able to buy with just one click (like big online stores).
Note: At the moment the Token feature works only with Magento Recurrng Profile Payment feature.
Gestpay PRO has been tested with these versions:
|Community Edition||Enterprise Edition|
The module is also compatible with IWD One Step / Page Checkout.
Install via Magento Connect Manager
From your admin page, go to System -> Magento Connect -> Magento Connect Manager:
Log in again if Magento Connect Manager asks you to do it.
Once in Magento Connect Manager, paste this extension key to install:
And then click Proceed.
After clicking on Refresh at the bottom of the page, you should see the plugin correctly installed:
To see if the module is correctly installed select System > Configuration > Advanced > Advanced > and check that the option EasyNolo_BancaSellaPro is
Gestpay PRO and IWD One Step / Page Checkout
if you use IWD One Step / Page Checkout (IWD_Opc), replace the content of the file
EasyNolo_BancaSellaPro.xml.Onepage.bak. This way you’ll set the dependency to IWD_Opc the Gestpay PRO, and the two will work together.
Next, go to System -> Cache Management and refresh the cache.
Once logged in in Magento, select System > Configuration > * Payment methods* and expand “Banca Sella Gestpay Pro” section. Here is an example of the configuration section:
We will discuss now the single items.
|Enabled||If set on
|Title||The payment method title that will be shown to the user at checkout.|
|Description||A message shown in checkout before the user is redirected to Gestpay payment page.|
|Shop Login||The shop code given by Gestpay. It identifies the merchant.|
|Test Environment||If enabled, transactions are processed in the test environment. To use the test environment you must also set the Test Shop Login).|
|Payment Action||This option sets how the payment is processed by Gestpay. The choices are:
|Use S2S Sales API for Capture, Void, Refund actions||If enabled, Capture, Void and Refund features are directly integrated in Magento, so that you don’t have to access Gestpay Back-Office to do this.|
|Enable iFrame Payment Page||This setting permits the user to pay directly on the store checkout page, without being redirected to Gestpay payment page.|
|Enable Tokenization||Enables tokens for recurring payments.|
|Gateway Language||The language to use in Gestpay payment page.|
|Gateway Currency||the currency to use for transactions. If the currency of the store is different from the one set in this configuration, the amount will be converted in the currency set, applying the exchange rate available in System > Manage Currency > Rates in Magento.|
|Status of order canceled by customer||by this setting you can choose the status of a cancelled order, if the payment is interrupted by the user.|
|Status of order canceled by Banca Sella||by this setting you can choose the status of a cancelled order, if the payment is interrupted by Gestpay.|
|Status of order confirmed by Banca Sella||With this option you can set the status of an payed order.|
|Enable Anti-Fraud Check||If enabled, the amount of the payment in Magento is verified against the amount of the proessed payment in Gestpay. If the payment doesn’t pass this check, the order gets the status
|Payment from Applicable Countries||Filter by countries. If it’s set to
|Sort Order||Sets the order of this payment method against the others.|
Merchant Back Office Configuration
In Configuration > Environment > Response Address, set your configuration like this:
- URL for positive response (mandatory): it is the URL to whom Gestpay redirects the user after the payment process, in case of success.
http://<< your domain >>/bancasellapro/gestpay/result
- URL for negative response (mandatory): it is the URL to whom Gestpay redirects the user after the payment process, in case of failure.
http://<< your domain >>/bancasellapro/gestpay/result
- URL Server to Server
http://<< your domain >>/bancasellapro/gestpay/s2s
If your store has store codes in the URL, put it in the response URL:
http://<< your domain >>/it_IT/bancasellapro/gestpay/s2s
Here the store code is
it_IT. The module will automatically identify the store where the purchase was made.
If you select the language via the Gateway Language option, then you have to add the Parameter “Language” in the Merchant Back Office.
To do this, go in Payment Page > Fields & Parameters and then enable the parameter
The only prerequisite to use the iFrame in Gestpay is to publish the default payment page in Gestpay.
To enable the Recurring Payment Profile in Magento you must enable Tokenization parameters, so that when the credit card is authorized for the first time, Gestpay will return a unique code for the card.
This token code can than be used in future transactions, until the due date of the subscription.
From Gestpay Back Office, in Payment Page > Fields & Parameters set the parameters in this way:
To enable the token feature you have to disable 3D secure security protocol. By disabling it, the module can request the authorization on the credit card for recurrent payments. It’s not possible to use security protocols together with recurring payments.
You can disable 3D secure by asking Gestpay customer care.
Authorization and Settlement of a transaction
With M.O.T.O. configuration, Gestpay permits to separate the authorization and settlement phases. If enabled, the first transaction will be limited to the autorization request, else Gestpay will settle the amount immediately.
The plugin works accordingly to this configuration, implementing Gestpay S2S API for
Refund. In case you are not using S2S services you have to manually settle the transaction in the merchant back office.
With the settlement operation the authorized amount will permanently be transferred to the merchant account. To use it, M.O.T.O. must be configured to separate the authorization from the settlement.
With this configuration Magento will create the order and, on checkout, it will block the necessary amount with the authorization operation (the merchant will receive an email from Gestpay).
When the shop administrator requests the invoice, Magento will ask Gestpay to settle the amount (and Gestpay will send an email to the merchant).
Cancelling a transaction occours when you cancel an authorized transaction. It can be performed only with M.O.T.O. configured to separate authorization and settlement. It can be performed only on transactions that are not settled. This operations can be performed by Magento backend via the panel Sales > Sales and orders > Orders, and from the order detail by clicking on “Void”.
Refund is the operation of refunding a settlement. From a fiscal point of view it is a charge on the merchant account and a credit on the buyer’s card. This operation can be performed only on altready settled transactions.
A settled transaction can be refunded partially and more than once, until the total of the original amount is reached. These operations are done from Magento using the control panel Sales > Orders and Sales > Invoices > Credit Note and clicking on Refund.
Labels for this module can be translated in every language, using Magento transaltion system based on CSV. You’ll find that the plugin already contains two languages:
- English (US): en_US
- Italian (Italy): it_IT
For every problem you can relate to Gestpay customer support at +39 015 243 4640 or firstname.lastname@example.org.