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

# Affirm

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2Fjpdu9Mp2jdeJiDzMQfdu%2Faffirm.png?alt=media&amp;token=d14470ed-f738-4e67-a8db-abccffb75f7b" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}

#### **Disclaimers:** <a href="#affirm-disclaimers" id="affirm-disclaimers"></a>

No card details are stored for merchants using Affirm's Payment Gateway

Affirm will only work for one-time purchases, it will NOT work for recurring billing/subscriptions. Affirm does not support One-click Upsells.
{% endhint %}

{% hint style="info" %}
Affirm will work with CheckoutChamp funnels, CheckoutChamp form-code, and landers that connect to CheckoutChamp via Direct API.

Order Entry does not support this payment method.
{% endhint %}

{% hint style="info" %}
To add Affirm to a CheckoutChamp funnel, please follow [this documentation](/funnel-builder/creating-and-editing-funnels-pages/funnel-visualizer-and-page-builder/funnel-visualizer/edit-funnel-settings/payments/affirm.md).
{% endhint %}

***

[**STEP 1 - Activate Plugin**](#user-content-fn-1)[^1]

Go to **Gateways** → **Gateway Integrations** and select Affirm. Then click on **+Activate**.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FekI0IQ98ACCqtt2G1gJt%2Fimage.png?alt=media&amp;token=97c39365-ac58-44f2-9288-4da5c35d129d" alt=""><figcaption></figcaption></figure>

Enter the following information specific to Affirm:

* **public\_api\_key -** Obtained from Affirm
* **private\_api\_key** - Obtained from Affirm

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

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FM6BKaE1RFEFCr5Jnonnn%2Fimage.png?alt=media&amp;token=ee6f5655-68d7-4791-9b24-0ecc4412218f" alt=""><figcaption></figcaption></figure>

**STEP 2 - Apply to Offers**

If Affirm is your only gateway option, assign the gateway to your campaign offers. Otherwise, skip this step and use the forceMerchantId option in the next step.

**STEP 3 - Apply to Checkout Page**

{% hint style="success" %}
To add Affirm to a CheckoutChamp funnel, please follow [this documentation](https://konnektive.atlassian.net/wiki/spaces/CC/pages/1859552886/Affirm+Checkout+Champ)
{% endhint %}

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

Pass paySource=PREPAID and prepaidType=AFFIRM 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='AFFIRM'>
```

\
If your standard credit card gateways are applied to your offers, use the **forceMerchantId** parameter in the Import Order API call. Note that this will only work for one time sales, it will not work with recurring transactions.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FlDT4AVGjTorY4Jdl75A3%2FUntitled.png?alt=media&amp;token=cd3fed1d-4ea0-4a3a-b630-867674682975" alt=""><figcaption></figcaption></figure>

For more info on the Import Order API call, please refer to our [API Documentation](https://apidocs.checkoutchamp.com).

<br>

[^1]:
