Configure Extension
What settings are required for the Adobe Commerce extension?
Basic Settings
-
Login to Adobe Commerce Admin and go to Stores → Configuration → Sales → Payment Methods → Afterpay (scroll to bottom).
-
Enter Basic Settings.
Setting | Value |
---|---|
Enabled | Yes - Afterpay turned on. No - Afterpay disabled. |
API Mode | Sandbox - for development or staging environments. Production - for your live website. |
Title | Installments by Afterpay - the title of payment method at checkout. |
Merchant ID | Your 9 digit Sandbox or Production Afterpay Merchant ID. |
Merchant Key | Your Sandbox or Production Afterpay Secret Key. |
Payment Action | Authorise and Capture. |
Advanced Settings
- Enter Advanced Settings
Setting | Value |
---|---|
Minimum/Maximum Order Total | Click *Update Limits button to obtain your current minimum and maximum Afterpay order thresholds. |
Cross-Border Trade | Enabled - this is enabled via speaking to your Afterpay Representative. |
Debug | Yes - Debug logs are written to "h-0": "/var/log/afterpay.log No - Disabled. |
Display on Product Page | Yes - Afterpay Displays on Product Page |
Display on Cart Page | Yes - 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 Support | No - normal value. Yes - if "Invalid header line detected" errors occur. |
Exclude Category | Select relevant categories to exclude Afterpay from being available. |
Payment Flow | Immediate Payment Flow - Capture full payment. Deferred Payment Flow - Capture incremental amounts as items are despatched. |
Express Checkout Settings
Setting | Value |
---|---|
Enabled for Product Page | Yes - Can checkout directly from Product Page. No |
Enabled for Cart Page | Yes - Can checkout directly from Cart Page. No |
Enabled for Mini-Cart Page | Yes - Can checkout directly from Mini-Cart. No |
Country Specific Settings
- Enter Country Specific Settings:
- Set Payment from Applicable Countries to "Specific Countries".
- Set Payment from Specific Countries to United States, Australia, or New Zealand.
-
Click Save Config in the top right corner.
-
Flush the Adobe Commerce System Cache.
- Go to System → Cache Management.
- Click Flush Cache Storage button in the upper right corner.
Updated about 2 months ago