Skip to main content
Configuring Affirm Settings in X-Cart
A
Written by Anna Verbichenko
Updated over 6 months ago

Before you can enable the Affirm payment method at your X-Cart-based store, you need to enter and save your API keys for Affirm on the Affirm Settings page. The same page also provides preference settings for Affirm.

After adding Affirm to your store's payment methods list (Store > Payment Methods), you can access the Affirm Settings page at any time by clicking the Settings link next to the payment method name.

The Affirm Settings page looks like this:

Let us take a closer look at the settings that can be adjusted on this page.

Sandbox API keys

Enter your API keys for the Sandbox operation mode. The sandbox API keys can be found at https://sandbox.affirm.com/dashboard/apikeys (You will need to log in through the URL https://sandbox.affirm.com/dashboard/signin to access that page.)

  • Sandbox API Public Key

  • Sandbox API Private Key

Note: The current mode is specified by the Test/Live mode setting in the Other settings section (see below).

Live API keys

Enter your API keys for the Live (Production) operation mode. The production API keys can be found at https://www.affirm.com/dashboard/apikeys. (You will need to log in through the URL https://affirm.com/dashboard/home to access that page.)

  • API Public Key

  • API Private Key

Note: The current mode is specified by the Test/Live mode setting in the Other settings section (see below).

Other settings

  • Transaction type: If you set the value as Authorization only, you'll need to process each transaction manually. This option should be selected if you need to have the ability to void orders. If you set the value as Authorization and Capture, your online store will process all transactions automatically.

  • Checkout mode: Select the method of checkout integration (Modal form = Selection of Affirm payment plan and payment method confirmation will happen in a modal form integrated into your X-Cart store's checkout; Redirect to Affirm = Selection of Affirm payment plan and payment method confirmation will happen on the Affirm website where Customer will be redirected during checkout)

  • Test/Live mode: Use this setting to select the operation mode for your Affirm integration (Live or Sandbox). For testing, you will need to set the mode to Sandbox. When the payment method is ready for production use, you can switch the mode setting to Live.

  • Minimum order amount: Use this setting to set a minimum order amount threshold for enabling the Affirm payment method for customers.

  • Country: Specify the country of your Affirm account registration.

Affirm promo messaging

  • Show on Cart: This setting enables Affirm promo messaging on the Cart page.

  • Show on Checkout: This setting enables Affirm promo messaging on the Checkout page.

  • Show on Product pages: This setting enables Affirm promo messaging on product pages.

  • Show in product lists: This setting enables Affirm promo messaging on product list pages.

  • Enable enhanced analytics: This setting enables enhanced analytics.

Affirm payment method availability

After saving the Affirm settings with at least one pair of API keys, you get access to one more setting:

  • The payment method is: On/Off

This setting allows you to control the availability of the payment method to buyers.

Related pages:

Did this answer your question?