Apple Pay Direct - mollie/PrestaShop GitHub Wiki

Apple Pay Direct enables your customers to skip the checkout flow and purchase items directly from your shop's product pages or the cart.

When you add it to your shop, an Apple Pay button appears next to Add to cart on your product pages and under Proceed to checkout in the cart.

Apple Pay and Apple Pay Direct only work for customers using the Safari browser or an Apple device.

Add Apple Pay Direct to your shop's pages

Before you start

Enable Apple Pay Direct

  1. Log in to PrestaShop and select Mollie in the left navigation panel. This opens the General settings configuration tab.

  2. Scroll down to Payment methods.

  3. Scroll down to the bottom of the page and click Save.

  4. Click Apple Pay to open its settings.

  5. If Apple Pay is disabled, select Yes in the dropdown next to Enabled. The Apple Pay Direct settings appear.

  6. Select Yes in the dropdown next to Apple Pay Direct.

  7. Choose your preferred button style from the available options:

    • Black
    • White with a border
    • White without a border.
  8. Optional: Configure the other available settings as needed:

    • Title: Display a different name for Apple Pay in your checkout.

    • Method: Select whether to use Payments API or Orders API for Apple Pay and Apple Pay Direct payments.

    • Description: Define which information to include in transaction descriptions in your Mollie Dashboard for Apple Pay or Apple Pay Direct payments. The description contains the order number by default. You can enter any of the available variables and plain text.

    • Payment allowed from: Select the countries in which customers canpay with Apple Pay and Apple Pay Direct.

      • All countries (default): Offer Apple Pay and Apple Pay Direct to customers from all countries. To exclude countries, select them from the Exclude payment from specific countries dropdown.
      • Selected countries: Offer Apple Pay and Apple Pay Direct to customers in selected countries. You can select the countries from the Allow payment from specific countries dropdown.
    • Payment surcharge: Charge an additional fixed and/or percentage fee when customers use Apple Pay or Apple Pay Direct. The fixed fee is based on your shop's currency.

      Not all countries allow you to add payment fees. Always check your local legislation before applying a surcharge.

The Apple Pay Direct button now appears next to Add to cart on your product pages and under Proceed to checkout in the cart for customers using Safari.

To test whether it works, run a test payment in live mode.