Introduction
Once you have your API keys for all the countries where you will be offering AfterPay, the next step is to configure the plugin’s settings.
-
Open the Prestashop Admin Panel.
-
Go to Improve > Modules > Module manager > AfterPay and click on “Configure”.
-
Expand the sections, and fill them in as described below.
There is a separate section for each country showing the specific AfterPay payment methods that are available (Invoice, Direct Debit, etc.).
Payment methods are disabled by default, and must be enabled explicitly in their settings.
A few points of notice, before configuring:
-
You can have more than one payment method per country.
-
For example, you can have both Digital Invoice and Direct Debit enabled in the Netherlands. Both options will show up at checkout.
-
-
A payment method will only work for customers from that country.
-
For example, if you only have the AfterPay Belgium Digital Invoice payment method enabled, AfterPay will not be available to customers whose address is in the Netherlands.
-
-
API keys are country-specific.
-
For example, you cannot use the same API key for both Germany and Austria.
-
There are also three settings panels that are not payment methods: Address Lookup Settings, Tax Settings and Developer Settings.
Configure a payment method
General settings
The general settings tab contains general settings for the module and settings for the order management operations.
Settings
Label |
Description |
---|---|
Enabled |
If this is set to Yes, the AfterPay payment module will be enabled and ready to use. |
Debug log |
If this is set to Yes, a debug log will be written to the folder var/logs. This log will contain information from the requests and responses to AfterPay. It is advised to not use this function in production. |
Debug email |
The debug email can be used to send the debug log after a transaction is completed. |
IP Restriction |
With the IP restriction the payment method can be shown only to customers with a certain IP. this can be used for example in the testing phase, to not show the payment method to everyone. To enable this, the IP address should be filled in. |
Order management
Label |
Description |
---|---|
Use captures |
If this is set to Yes, the AfterPay payment module will automatically sent a capture request to AfterPay after the order is accepted by AfterPay. After a capture request is done AfterPay will start the invoicing process. |
Payment method settings
Each payment method has a section with settings, which in general are all the same. To enable a payment method it should be enabled, an API key should be filled in and the correct connection method should be configured.
The following configuration options are available per payment method:
Label |
Description |
---|---|
Enabled |
If this is set to Yes, this AfterPay payment method will be available to customers in this country. |
Title |
The name of this payment method, as displayed to the customer at checkout. |
Description |
A short description of this payment method, as displayed to the customer at checkout. |
API key |
The Auth key for transactions. Depending on the “Test mode” a production, test or sandbox key can be used. |
Merchant ID |
Field which can be used to distinguish separate sites. This options should only be used in agreement with your contact at AfterPay. |
Lower threshold |
The smallest purchase that a customer can make in your webshop when paying with AfterPay. If the total sum of the shopping cart is lower than this number, this payment method is not displayed at checkout. Leave empty to set no bottom limit. |
Upper threshold |
The biggest purchase that a customer can make in your webshop when paying with AfterPay. If the total sum of the shopping cart is higher than this number, this payment method is not displayed at checkout. Leave empty to set no upper limit. |
Test mode |
Select No to use the Production connection. Select Yes to use the Test connection. Select Yes – Sandbox to use the Sandbox connection |
Show phonenumber |
If this is set to Yes, the AfterPay section of your checkout page will ask the customer to enter their phone number. |
Show birthdate |
If this is set to Yes, the AfterPay section of your checkout page will ask the customer to enter their date of birth. |
Show gender |
If this is set to Yes, the AfterPay section of your checkout page will ask the customer to enter their gender. |
The following options are available on some payment methods:
Label |
Description |
---|---|
Show Bank IBAN input field |
If this is set to Yes, the AfterPay section of your checkout page will ask the customer to enter their Bank IBAN number. |
Show Bank BIC / Swift input field |
If this is set to Yes, the AfterPay section of your checkout page will ask the customer to enter their Bank BIC / Swift code. |
Show company name input field |
If this is set to Yes, the AfterPay section of your checkout page will ask the customer to enter their company name. |
Show chamber of commerce number input field |
If this is set to Yes, the AfterPay section of your checkout page will ask the customer to enter their chamber of commerce number. |