# Afterpay

Source: https://support.storeconnect.com/articles/afterpay-payment-provider · Last modified 21 August 2026

This topic explains how to configure Afterpay as a third-party payment provider in StoreConnect.

## What you need

- [Afterpay business account](https://www.afterpay.com/en-AU/business)  
- Access to Afterpay sandbox and/or production credentials  
- Basic StoreConnect admin knowledge  

Afterpay is supported on StoreConnect web storefronts only and is not available for POS.

Refer to [Afterpay docs](https://developers.afterpay.com/afterpay-online-developer/guides/welcome/getting-started/introduction) if needed.

---

### Sandbox access

To test your integration, request sandbox credentials from Afterpay.

- Sandbox access may take several business days to provision  
- Credentials are provided by Afterpay’s technical team  

## Configure Afterpay in StoreConnect

### Basic configuration

1. Open StoreConnect and go to **Settings > Payments > Payment Providers**.
2. Select **New**.
3. Complete the fields as follows, then **Save**.

| StoreConnect field                      | Select or enter                  |
|-----------------------------------------|-----------------------           |
| Name                                    | Afterpay                         |
| Provider                                | Select Afterpay                  |
| API Mode                                | sandbox or production            |
| API Key                                 | API Key (Username) from Afterpay |
| API Secret                              | API Secret (Password/Secret Key) |
| API Option to enable 3DS                | three_d_secure: true             |
| API Option merchant ID (required)       | merchant_id: your_merchant_id    |
| API Option to show Afterpay wallet      | show_wallets: true               |
| API Option to enable express checkout   | express_checkout_enabled: true   |

### API Modes

- `sandbox` — for testing with Afterpay sandbox credentials  
- `production` — for live transactions  

When using `sandbox`, StoreConnect automatically routes requests to Afterpay’s test environment.

### API Options (example)

```
three_d_secure: true
merchant_id: XXXXXXB03CUR9012345
show_wallets: true
express_checkout_enabled: true
```

## Checkout behavior

When a customer checks out with Afterpay, StoreConnect sends itemized product lines and any discount entries to Afterpay, giving shoppers a clear order breakdown within the Afterpay payment UI.

If the customer modifies their cart in another browser tab after starting the Afterpay payment flow, StoreConnect detects the change and prevents the payment completing against the stale cart total. The customer is returned to the cart to restart checkout with the updated amount.

## Troubleshooting

- Ensure API Mode matches the credential type (sandbox vs production)  
- Confirm credentials are entered correctly  
- Verify Afterpay messaging is visible on product pages  
- Check with Afterpay if sandbox access has not been provisioned

---

## Follow StoreConnect

- [Email Newsletter](https://getstoreconnect.com/c/lp-newsletter)
- [LinkedIn Newsletter](https://www.linkedin.com/build-relation/newsletter-follow?entityUrn=7444956928444862464)
- [YouTube](https://www.youtube.com/channel/UCngKdP2x8l1wcbAKW3tvU8g)
- [LinkedIn](https://www.linkedin.com/company/storeconnect)
- [X / Twitter](https://x.com/storeconnecthq)

## Popular Links

- [Partners](https://getstoreconnect.com/partners)
- [News](https://getstoreconnect.com/articles/news)
- [Events](https://getstoreconnect.com/articles/events)
- [Feature Comparison](https://getstoreconnect.com/how-we-compare)
- [Download a free trial](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMkeKUAT)
- [Book a Demo](https://getstoreconnect.com/contact)

## Documentation

- [Help documentation](https://support.storeconnect.com/help-documentation)
- [AI agents](https://support.storeconnect.com/ai)
- [Videos & tutorials](https://support.storeconnect.com/videos-tutorials)
- [Developer reference](https://support.storeconnect.com/developer-reference)
- [Release notes](https://support.storeconnect.com/release-notes)
- [Troubleshooting](https://support.storeconnect.com/troubleshooting)
- [Trust Center](https://trust.getstoreconnect.com/)
- [Status Page](https://status.storeconnect.com/)

## Contact

- info@getstoreconnect.com
- US +1 415 745 3230
- AUS +61 2 8365 2308

100 S Ashley Dr, Suite 600-2461
Tampa FL 33602-600 USA

Level 22, Sydney Place
180 George Street
Sydney, NSW, 2000, AUS

---

StoreConnect Support — https://support.storeconnect.com/articles/afterpay-payment-provider