> 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.

# Configure Afterpay

## How to Configure Afterpay

From the Solidus home page, do the following:

1. Go to the Admin Panel, to do this, enter **/admin** at the end of the home page URL. You are redirected to the *Admin Login*  page.

2. Enter your login credentials and click *Login*.

![login.png](/_fern-img/4718f24dda9cf1a79170ff6f499eeec754a295a5902caeb717cf6c737bb69cc3.webp)

3. Click *Settings* on the left side menu, a sub-menu appears.

4. Click *Payments*, a list of available payment methods appears.

![payment-methods-tab.png](/_fern-img/c364e255e210717fb9f36babcc7c86dec10b7a60d35942e363fe6bba79c08246.webp)

5. Click **New Payment** in the top right corner, the *Payment Methods* tab appears.

### The Payment Methods Tab

Complete the following fields:

![payment-methods-tab-details.png](/_fern-img/7035d100bbe49ad824f7ad0fa5b4a7384e6b2804e5d3114da641151c6f38552a.webp)

1. *Type* - Select *Afterpay*

2. *Name* - This can be anything you want, it's an internal name for the payment method. "Afterpay" is a good choice.

3. *Description* - An optional field, enter what you want here.

4. *Preference Source* - Leave this field as *custom*.

5. *Auto Capture* - This is an automatic payment capture feature. Leave it on the default setting that is *Use App Default (No)*.

6. *Available to Users* - Enable this checkbox to make Afterpay available to customers when the configuration is complete. But see step 8 below.

7. *Available to Admins* - Enable this checkbox to make Afterpay available to Solidus administrators when the configuration is complete. But see step 8 below.

8. *Active* - Enable this checkbox to make Afterpay available for use when the configuration is complete. You can set the type of customer in steps 6 and 7 above.

9. *Stores* - Enter the name or names of the store or stores where Afterpay will be offered. This is an optional field.

10. Click **Create**. The final set of fields appear, see the section below for instructions.

### Final Configuration Fields

Complete the following final fields:

![final-config-fields.png](/_fern-img/4079399763589a0066497029376b0e4c3dd48fa62f6b473b1b1c9ac485343805.webp)

1. *Merchant* - Enter your Afterpay Merchant ID.

2. *Secret Key* - Enter your Afterpay secret key.

3. *Deferred*  - Enable this checkbox to offer Afterpay as a deferred payment.

4. *Popup window* - Enable this checkbox to display Afterpay in a popup window. If you do not enable the checkbox, your customers are redirected to the Afterpay website.

5. *Merchant Key* - Enter your Afterpay merchant key.

6. *Auto Capture (No)* - This is an automatic payment capture feature. The default setting is No.

7. Click **Update**. Afterpay is now configured to work with Solidus.