Prestashop

Introduction

This manual describes the functionalities of the AfterPay module for Prestashop. Prestashop is a popular eCommerce platform. AfterPay has developed a module that easily integrates with a Prestashop-based webshop. It is a simple way to let your customers start using AfterPay at checkout.

You don’t need advanced technical skills to add AfterPay to your Prestashop webshop!

This document assumes that you already have a working, installed webshop that uses Prestashop (v1.6 or above). If you don’t, you can download the software and learn how to use it here.

What you’ll need:

  1. Prestashop instance, installed on your webserver.

  2. An API key.

    1. If you just want to try AfterPay without commitment, you can get one via the Developer Sandbox

    2. Test Mode credentials will be provided by your Account Manager at AfterPay.

    3. When you are ready to go live, contact your Account Manager at AfterPay. They will configure your webshop in the backend, and give you the real production API key.

You will also need to include the AfterPay logos and Terms & Conditions / Privacy Policy links in your webshop’s design, especially the Checkout page.

Contact us

If you are thinking about offering AfterPay to your customers, please don’t hesitate to contact our sales team. We will be happy to walk you through the setup and integration process.

The AfterPay module for Prestashop is currently available in the following countries:

  • The Netherlands
  • Belgium

  • Germany

Note: API keys are unique per country. If you sell to customers from different countries, you must use a different API key for each country.

Installation

Installation through the Prestashop Marketplace

The AfterPay Prestashop plugin is currently only available as ZIP file. In the near future it will be available through the Prestashop Marketplace.

Manual installation

The installation of the Prestashop Plugin can be done through the Prestashop Module Manager, which can be found under Improve > Modules > Module manager. In the Module manager, you have to upload the module by clicking on the button “Upload a module”. A screen will appear in which the ZIP file can be uploaded.

The module will automatically be installed after uploading, and when the installation is successful it can be configured by clicking on “Configure”.

Payment methods

Each country has it’s own payment methods. You don’t need to enable and configure all of these – only the ones that you want to offer to your customers.

In general the following payment methods are available:

  • Digital Invoice – This is the default 14-Day Invoice payment method in AfterPay. It is always available in every market where AfterPay operates. It is primarily meant for business-to-consumer sales.

  • Direct Debit – This is a Direct Debit version of the 14-Day Invoice payment method. Instead of receiving an invoice to be paid via their bank, the customer enters their bank details, and the money is immediately deducted from their bank account.

  • Installment – This is a Part Payment invoice. The customer can split their purchase over multiple monthly payments.

  • Flex – This is a Minimum-to-Pay method. Instead of paying off the invoice in one go, the customer chooses an amount to pay each month, until the entire amount (including interest and fees) are paid off.

  • B2B Digital Invoice – This is a 14-Day Invoice for business-to-business sales. It is handled slightly differently in terms of tax, etc.

An extended description of these payment methods is described on the AfterPay developer site: https://developer.afterpay.io/basics

The availability of payment methods defers per country because of local demand and legislation. This is the current availability matrix of the payment methods per country:

Country

Digital Invoice (14-day)

Direct Debit

Installment

Flex

B2B Digital Invoice

Belgium

Yes

No

No

No

No

Germany

Yes

Yes

No

No

Yes

The Netherlands

Yes

Yes

No

No

No

Configuration

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.

  1. Open the Prestashop Admin Panel.

  2. Go to Improve > Modules > Module manager > AfterPay and click on “Configure”.

  3. 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 SettingsTax 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.

AfterPay logo & banner

Below you will find the AfterPay logo and banner.

Looking for a different size? Simply click on the logo or banner and see all sizes available.

Please add the AfterPay logo on all places where payment method logo’s are shown
No logo’s of payment methods? Then you can skip this part.

The banner is a great way of showing AfterPay is now a payment option in your shop!

 

*All log’s have transparency, the white logo can be used in places where the background color is dark.

Logo AfterPay M M: 113 x 22
download PNG
M: 113 x 22
download PNG

*The banners are as is, no transparency, white is actually the color white.

Logo AfterPay M

AfterPay information

For each payment method, please place the explanation somewhere on your webshop. Usually, this is the page where you sum up the available payment methods.

Below you will find the text, that you can copy and paste into your webshop.

Replace the variables where needed:

– [webshop url] = the URL of your webshop

AfterPay – Achteraf betalen voor consumenten (NL/BE)

AfterPay voert voor [webshop url] het volledige achteraf betaalproces uit. Wanneer je je bestelling afrondt via AfterPay ontvang je van hen een digitaal betaaloverzicht en betaal je het orderbedrag aan AfterPay. Ter goedkeuring van je verzoek om achteraf te betalen voert AfterPay een gegevenscontrole uit. AfterPay hanteert een strikt privacybeleid zoals omschreven in het privacy statement. Mocht onverhoopt jouw verzoek tot betaling met AfterPay niet geautoriseerd worden, dan kun je jouw bestelling natuurlijk betalen met een andere betaalmethode. Wil je meer informatie over achteraf betalen met AfterPay? Ga dan naar de website van AfterPay.

AfterPay – Achteraf betalen voor bedrijven

Bij [webshop url] kun je achteraf betalen met AfterPay als zakelijke klant. Wanneer je je bestelling afrondt via AfterPay ontvang je van hen een digitaal betaaloverzicht en betaal je het orderbedrag aan AfterPay. Ter goedkeuring van je verzoek om achteraf te betalen voert AfterPay een gegevenscontrole uit. AfterPay hanteert een strikt privacybeleid zoals omschreven in het privacy statement. Mocht onverhoopt jouw verzoek tot betaling met AfterPay niet geautoriseerd worden, dan kun je jouw bestelling natuurlijk betalen met een andere betaalmethode. Wil je meer informatie over achteraf betalen met AfterPay? Ga dan naar de website van AfterPay.

Testing and go-live

Once your webshop has been configured with test Auth keys, you can make a test purchase using AfterPay as the payment method.

  • If you want to test the whole chain, ask your Implementation Manager for an Auth key to the Afterpay Client Test environment. You can use this in Test mode. You will receive confirmation emails, and will be able to see the invoices in MyAfterPay, the customer portal used for payment and invoice management.

  • Once you and your Implementation Manager are happy that everything is in order, you will get a Live Auth key, and can start offering AfterPay to your customers!

Suggest Edit