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
Setting | Value |
---|---|
Enabled | Yes - Afterpay turned on |
API Mode | Sandbox - for development or staging environments |
Merchant ID | Your 9 digit Sandbox or Production Afterpay Merchant ID |
Merchant Key | Your Sandbox or Production Afterpay Secret Key |
Minimum Order Total / Maximum Order Total | Click Update Limits button to obtain your current minimum and maximum Afterpay order thresholds |
Sort Order | Order 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
Setting | Value |
---|---|
Debug Mode | Yes - Debug logs are written to [Magento]/var/log/afterpay.log |
Show installments amount on product pages | Yes |
Product page price block selectors | All CSS selectors of elements that hold product prices on PDP pages |
Show Afterpay on Cart Page | Yes |
4. Flush the Magento System Cache
- Go to System → Cache Management
- Click Flush Cache Storage button in the upper right corner
Updated 9 months ago