Configure Extension

What settings are required for the Adobe Commerce extension?

Basic Settings

  1. Login to Adobe Commerce Admin and go to Stores → Configuration → Sales → Payment Methods → Afterpay (scroll to bottom).

  2. Enter Basic Settings.

Basic settings

SettingValue
EnabledYes - Afterpay turned on.
No - Afterpay disabled.
API ModeSandbox - for development or staging environments.
Production - for your live website.
TitleInstallments by Afterpay - the title of payment method at checkout.
Merchant IDYour 9 digit Sandbox or Production Afterpay Merchant ID.
Merchant KeyYour Sandbox or Production Afterpay Secret Key.
Payment ActionAuthorise and Capture.

Advanced Settings

  1. Enter Advanced Settings

Advanced settings

SettingValue
Minimum/Maximum Order TotalClick *Update Limits button to obtain your current minimum and maximum Afterpay order thresholds.
Cross-Border TradeEnabled - this is enabled via speaking to your Afterpay Representative.
DebugYes - Debug logs are written to "h-0": "/var/log/afterpay.log
No - Disabled.
Display on Product PageYes - Afterpay Displays on Product Page
Display on Cart PageYes - Adobe Commerce Checkout - proceed to checkout page as normal.
Yes - Express Checkout - enable Afterpay Express Checkout from cart page.
No - Afterpay will not display on the Cart page.
Sort Order(Order of payment methods at checkout).
HTTP Version Header SupportNo - normal value.
Yes - if "Invalid header line detected" errors occur.
Exclude CategorySelect relevant categories to exclude Afterpay from being available.
Payment FlowImmediate Payment Flow - Capture full payment.
Deferred Payment Flow - Capture incremental amounts as items are despatched.

Express Checkout Settings

Express checkout settings

SettingValue
Enabled for Product PageYes - Can checkout directly from Product Page.
No
Enabled for Cart PageYes - Can checkout directly from Cart Page.
No
Enabled for Mini-Cart PageYes - Can checkout directly from Mini-Cart.
No

Country Specific Settings

  1. Enter Country Specific Settings:
  • Set Payment from Applicable Countries to "Specific Countries".
  • Set Payment from Specific Countries to United States, Australia, or New Zealand.

  1. Click Save Config in the top right corner.

  2. Flush the Adobe Commerce System Cache.

  • Go to System → Cache Management.
  • Click Flush Cache Storage button in the upper right corner.