# 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.konnektive.com/konnektive-crm/gateway-setup/gateways/afterpay.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
