Skip to main content

PrestaShop Plugin

Accept payments on your PrestaShop platform using the Amazon Payment Services plugin for seamless payment processing.

Prerequisites

Before you begin, ensure you have:

  • PrestaShop 1.7+ installed and configured
  • Amazon Payment Services test account for testing
  • PrestaShop admin access with module installation permissions
  • SSL certificate installed on your website

Supported integration types and payment methods

Supported Integration typesSupported Payment methods
Hosted CheckoutVisa, Mastercard, AMEX, MADA, Meeza, Apple Pay, KNET, NAPS, Benefit, OmanNet, STC Pay
Custom IntegrationVisa, Mastercard, AMEX, MADA, Meeza, Apple Pay, STC Pay

Install the plugin

1

Download Plugin

Visit our GitHub repository and download the latest release as a .zip file.

2

Access Module Manager

Login to your PrestaShop admin panel and navigate to ModulesModule Manager.

3

Upload Module

Click Upload a module, select the downloaded .zip file, and click Upload this module.

4

Install Module

Find "Amazon Payment Services" in the module list, click Install, and confirm installation when prompted.

Configure the plugin

Required Credentials

Before configuring the plugin, gather these credentials from your Amazon Payment Services test account by navigating to Security Settings tab where you will find:

  • merchant_identifier - Your unique merchant ID
  • access_code - API access code for authentication
  • request_sha_phrase - SHA phrase for request signing
  • response_sha_phrase - SHA phrase for response verification
  • sha_type - Hashing algorithm (SHA256 or SHA512)

Configuration Steps

1

Navigate to Payment Settings

Go to ModulesModule Manager (PrestaShop 1.7+) or Modules and Services (PrestaShop 1.6), find "Amazon Payment Services" in the module list, and click Configure to open configuration.

2

Configure Global Settings

Complete the following core settings:

SettingDescription
EnabledSelect Yes to enable the plugin; No to disable the plugin
Merchant IdentifierAmazon Payment Services account merchant identifier
Access CodeAmazon Payment Services account access code
Request SHA PhraseAmazon Payment Services account SHA Request Phrase
Response SHA PhraseAmazon Payment Services account SHA Response Phrase
Sandbox ModeSelect Yes for testing environment; No for production/live account
CommandSet as PURCHASE for direct capturing of the amount or AUTHORIZATION for holding the amount and capturing it later on
SHA TypeValue should be the same as the value under security settings in your account
Gateway CurrencyIf you are using PrestaShop multi-currency:
1. Select Front which uses the customer's selected currency.
2. Select Base which uses store's default currency.
If multi-currency is disabled, both options are the same.
Note: Make sure the currency you will process payments with is active on your Amazon Payment Services account
Debug ModeEnable debug mode to save all transaction logs
Host to Host URLThis is used as a Webhook URL. Host to Host URL needs to be set in your Amazon Payment Services account for feedback and transaction notifications under Technical Settings tab
Enable TokenizationEnable if you need your customers to securely save cards on Amazon Payment Services. The Save My Card button appears for Debit/Credit Card and Installment payments. Saved cards can be managed in the My Account page in PrestaShop
Hide delete token buttonAllows users to delete saved cards in their Account, except for those linked to active subscriptions

Credit/Debit configuration

SettingDescription
EnabledShould be Yes
Integration TypeSelect the type that is active on your account, Redirection or Custom Integration
Sort OrderOn the checkout page, you can manage orders for all payment options
Show Mada BrandingEnable if you are in KSA and have MADA active on your account
Show Meeza BrandingEnable if you are in EGY and have Meeza active on your account
Mada BinsNew Mada BINs can be added as they are introduced. The latest BINs are supported by setting a default value for this field
Meeza BinsNew Meeza BINs can be added as they are introduced. The latest BINs are supported by setting a default value for this field

Please do not change any of the configured BINs configuration unless it is instructed by Amazon Payment Services Integration team.

Apple Pay configuration

SettingDescription
EnabledYes: Enables this payment option.
No: Disables this payment option
SHA TypeAlgorithm used by the plugin and Amazon Payment Services to verify requests and responses. Must match the Amazon Payment Services account
Apple Pay Button TypesChoose the type of Apple Pay button
Access CodeObtain this value from the Amazon Payment Services account
Request SHA PhraseObtain this value from the Amazon Payment Services account
Response SHA PhraseObtain this value from the Amazon Payment Services account
Domain NameThe domain where PrestaShop is running
Supported NetworksSelect the card brands available for Apple Pay
Production KeyPassword specified during Apple Pay certificate creation process
Apple Pay CertificatesUpload payment processing certificates received from Apple.
Requires a certificate file and a certificate key file
Sort OrderOn the checkout page, you can manage orders for all payment options

If you have chosen Redirection integration type, Apple Pay will be displayed on the payment page, you do not need to do any Apple Pay configurations.

KNET configuration

Configure only if you are in KWT and have KNET payment option active on your Amazon Payment Services account.

SettingDescription
EnabledYes: Enables this payment option.
No: Disables this payment option
Sort OrderOn the checkout page, you can manage orders for all payment options

NAPS configuration

Configure only if you are in Qatar and have NAPS payment option active on your Amazon Payment Services account.

SettingDescription
EnabledYes: Enables this payment option.
No: Disables this payment option
Sort OrderOn the checkout page, you can manage orders for all payment options

Installments Configuration

SettingDescription
EnabledYes: Enables this payment option.
No: Disables this payment option
Integration TypeChoose from three integration types:
Redirection: Users are redirected to Amazon Payment Services to enter payment details.
Standard Checkout: Users stay on the merchant's checkout page; an Amazon Payment Services hosted form appears in an iframe.
Hosted Checkout: Users stay on PrestaShop, and the card form is hosted by PrestaShop, with host-to-host communication between PrestaShop and Amazon Payment Services
Installment Order Purchase Minimum Limit (SAR)Default: 1100 SAR. The minimum order amount (including tax) required for installment purchases. Must match the installment plan threshold in Amazon Payment Services Back Office
Installment Order Purchase Minimum Limit (AED)Default: 1100 AED. The minimum order amount (including tax) required for installment purchases. Must match the installment plan threshold in Amazon Payment Services Back Office
Installment Order Purchase Minimum Limit (EGP)Default: 1100 EGP. The minimum order amount (including tax) required for installment purchases. Must match the installment plan threshold in Amazon Payment Services Back Office.
Minimum order limits apply only to these three currencies, but installment plans may be available in others
Show Issuer NameCheck this box to display the bank/issuer name on the checkout page for installment plans
Show Issuer LogoCheck this box to display the bank/issuer logo on the checkout page for installment plans
Sort OrderOn the checkout page, you can manage orders for all payment options

In case of saved cards, the first 6 digits of saved (masked) card will be used to fetch installment plan.

valU configuration

Configure only if you are in Egypt and have valU payment option active on your Amazon Payment Services account.

SettingDescription
EnabledYes: To enable this payment option.
No: To disable this payment option
VALU OrderMinimum order limit in EGP. The total amount (including tax) required to place the order with Valu
Sort OrderOn the checkout page, you can manage orders for all payment options

Cron Jobs configuration

SettingDescription
CRON Recurring OrderFor recurring subscription payments
CRON Check Order Payment StatusChecks payment status for pending orders
CRON Check Status DurationTime delay to determine which pending orders to check (e.g., 30 mins)

Capture, Void & Refund

Full and partial captures are supported by following these steps:

1

Access Order Details

Go to the order detail page and navigate to the Amazon Payment Services tab under Order History section, enter the amount you want to capture.

2

Submit Capture

Click Capture.

  • For a partial capture, enter an amount lower than the authorized amount.
  • For a full capture, enter the exact authorized amount.
  • Capturing more than the authorized amount is not allowed.

Test the integration

To test your integration with Amazon Payment Services plugin:

1

Add Product to Cart

Add a product to your cart.

2

Proceed to Checkout

Proceed to checkout and enter required details for checking out.

3

Test Payment

Pay by using one of our testing cards.

Visit this go-live checklist to go live with Amazon Payment Services plugin on PrestaShop.

Was this page helpful?

Thanks for your feedback!