> For the complete documentation index, see [llms.txt](https://help.konnektive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.konnektive.com/konnektive-crm/gateway-setup/gateways/afterpay.md).

# Afterpay

<figure><img src="/files/cSzEOXZM8bey2nrkTof8" alt="" width="226"><figcaption></figcaption></figure>

{% hint style="danger" %}
**Disclaimers:**

No card details are stored for merchants using Afterpay’s Payment Gateway

Afterpay will work with Form-code and landers that connect to Konnektive via Direct API. This will NOT work with Order Entry.

**Afterpay will only work for one-time purchases, it will NOT work for recurring billing/subscriptions nor one-click upsells.**
{% endhint %}

**STEP 1**

Go to **Gateways** → **Gateway Integrations** and select Afterpay. Click on **+Activate**.

<figure><img src="/files/ErTVzTb8o6QPudqS2n6x" alt=""><figcaption></figcaption></figure>

Enter the following information specific to Afterpay:

* **Merchant\_ID** - Found on the footer of the Home page inside your Afterpay account.
* **Secret\_Key** - This is emailed to the account owner upon the account's creation. If you are having difficulties finding this you can reach out to your Business Development Manager or you can reach Afterpay Merchant Support: [Merchant Support | Afterpay Online Developer](https://developers.afterpay.com/afterpay-online/docs/merchant-support)

Click the green **Create Gateway** button to save your changes and create the gateway.<br>

**STEP 2**

Assign the gateway to campaign products.

**STEP 3**

A checkout page should be secure HTTPS. A non-secured call to the Afterpay gateway will be rejected.

Pass paySource=PREPAID and prepaidType=AFTERPAY on the import order API call from your checkout page. Do not pass any other card information.

One option is to use hidden input fields on the page

```
<input type="hidden" name='paySource' value="PREPAID">
<input type='hidden' name='prepaidType' value='AFTERPAY'>
```

**STEP 4**

The checkout page must handle a merchant redirect exception. The consumer will be routed to Afterpay to complete the checkout.

[Basic 3DS Instructions](/konnektive-crm/gateway-setup/basic-3ds-instructions.md)
