> This page is for Afterpay Online Developer, version Main (default).
> For other versions, use one of these documentation indexes:
> - Main (default): https://developers.afterpay.com/afterpay-online-developer/main/llms.txt
> - v1: https://developers.afterpay.com/afterpay-online-developer/v-1/llms.txt
> - Chinese: https://developers.afterpay.com/afterpay-online-developer/chinese/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.afterpay.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.afterpay.com/_mcp/server.

# Add Payment Option

## Configuration

Completing the below steps will enable and display Afterpay as a Payment Method.

1. Navigate to: BigCommerce Control Panel.
2. Navigate to: Settings > Payments
3. Under the ‘Online Payment Methods’ section, click on the drop-down arrow.

![add-payment-option-1.png](/_fern-img/c018aba4df80dbb734441a820804d01bd099b32a139930b67025edb107825184.webp)

4. Locate ‘Afterpay’ from the Online Payment Methods list and click the 'Set up' button.

![add-payment-option-2.png](/_fern-img/d41ce719b7821c76a3e389d0493064d8884a2fdc41bfa31960776094cfc4488d.webp)

5. Enter the Merchant ID provided by Afterpay into the Merchant Id field.
6. Enter the Secret Key provided by Afterpay into the Secret Key field.

![add-payment-option-3.png](/_fern-img/59c86de9b2f09265de9a3ea284274202c7575c3b8440949cfe68def984b2683c.webp)

7. Additionally, you can configure the following settings:

* **Transaction Type** — can be set to Authorize & Capture or Authorize Only.\
  Authorize Only allows you to capture the funds manually. See [Manually Capturing Transactions (Authorize Only)](https://support.bigcommerce.com/s/article/Manually-Capturing-Transactions-Authorize-Only) to learn more.
* **Test Mode** — set this to *Yes* to test checkout flow. Make sure this is set to *No* when your store goes live.

> **Note**
>
> You need Afterpay Sandbox Credentials to use Test Mode. Please contact your Afterpay Delivery Manager for assistance.

8. Click the **Save** button.