Afterpay Developer Docs

Configure Extension

What settings are required for the Magento 1 Extension?

Follow the steps below to set up Afterpay in Magento Admin

🚧

You need a Merchant ID and Merchant Key from Afterpay to complete these steps. Please contact your Afterpay account manager if you do not have these.

1. Enter Payment Method Settings

  • Go to System → Configuration → Sales → Payment Methods → Afterpay
  • Enter the values in the table below
SettingValue
EnabledYes - Afterpay turned on
No - Afterpay disabled
API ModeSandbox - for development or staging environments
Production - for your live website
Merchant IDYour 9 digit Sandbox or Production Afterpay Merchant ID
Merchant KeyYour Sandbox or Production Afterpay Secret Key
Minimum Order Total / Maximum Order TotalClick Update Limits button to obtain your current minimum and maximum Afterpay order thresholds
Sort OrderOrder of payment methods at checkout (optional)

2. Enter Afterpay Settings

  • Go to System → Configuration → Sales → Afterpay
  • Enter the values in the table below
  • Click Save Config in the top right corner
SettingValue
Debug ModeYes - Debug logs are written to [Magento]/var/log/afterpay.log
No - Disabled
Show installments amount on product pagesYes
Product Price Block selectorsAll CSS selectors of elements that hold product prices on PDP pages
Show Afterpay on Cart PageYes - Magento Checkout - Proceed to checkout as pere normal payment flow
Yes - Afterpay Express Checkout - enable Aftepray express checkout from cart page
No - Afterpay will not display at Cart page
Express Checkout Public KeyKey to be provided by your Afterpay Delivery Manager to enable Afterpay Express Payments
Payment Method Display
Show Installments AmountYes
Payment Display Method"Lightbox
Redirect"

4. Flush the Magento System Cache

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

Updated 3 months ago


Next Steps

Get added to the Afterpay Shop Directory

Shop Directory

Configure Extension


What settings are required for the Magento 1 Extension?

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.