Configure Extension

What settings are required for the Magento 2 extension?

1. Basic Settings

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

  2. Enter Basic Settings

1241
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

2. Advanced Settings

  1. Enter Advanced Settings
1537
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 [Magento]/var/log/afterpay.log
No - Disabled
Display on Product PageYes - Afterpay Displays on Product Page
Display on Cart PageYes - Magento Checkout - proceed to checkout pagee as normal
Yes - Express Checkout - enable Aftepray express checkout from cart page
No - Afterpay will not display at 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

3. Express Checkout Settings

2206
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

4. 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
1351
  1. Click Save Config in the top right corner

  2. Flush the Magento System Cache

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

What’s Next

Get added to the Afterpay Shop Directory