Afterpay Developer Docs

Configure Plugin

How can I add Afterpay as a payment method and display Afterpay Site Messaging?

Configuration

Completing the below steps will enable and display Afterpay as a Payment Method and add Afterpay messaging to product pages.

Note: If the 'Afterpay Gateway Installation' steps have just been completed, please skip to Step 3.

  1. Navigate to: WordPress Admin Dashboard
  2. Navigate to: Plugins > Installed Plugins
  3. Locate the ‘Afterpay Gateway for WooCommerce’ in the plugin list and click the 'Settings' button.
  1. Navigate to the 'Core Configuration' section.
  1. Enter the Merchant ID provided by Afterpay into the 'Merchant ID' field.
  1. Enter the Secret Key provided by Afterpay into the 'Secret Key' field.
  1. Click the 'Save changes' button at the bottom of the page.

Note: Upon a successful save of the Afterpay credentials, the 'Minimum Payment Amount' and 'Maximum Payment Amount' values will be updated.

Notes

The ‘Sandbox’ API Environment is only applicable for dedicated test websites.
Advise your Afterpay Account Manager should test credentials be required.

Updated 20 days ago


Next Steps

Update Plugin

Configure Plugin


How can I add Afterpay as a payment method and display Afterpay Site Messaging?

Suggested Edits are limited on API Reference Pages

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