Configure Affirm

This guide walks you through configuring Affirm at checkout in AmeriCommerce.

Configure Affirm

To set up configure Affirm for AmeriCommerce:

  1. Add Affirm's HTML in the One Page Checkout.
  2. Configure the Affirm settings.

Step 1: Add the Affirm HTML in the One Page Checkout

You'll need include the following HTML in the One Page Checkout. If not, you'll need to add it somewhere inside the payment methods part of the HTML. If you're not sure where to put it, contact [email protected] or click the support widget at the bottom of the screen for further assistance.

<div class="payment-method AffirmCheckout hide">
            <div class="panel pad-20">
            <div data-payment-name="AffirmCheckout" class="payment-name h4 bold"> 
            <img src="" width="100px" vertical-align="text-bottom"> &nbsp; Buy with Monthly Payments
            <ac:visibilityarea id="AffirmArea">
                <div class="pad-t-20 AffirmCheckout-text">
                    You will be redirected to Affirm to securely complete your purchase once you have clicked <strong>Place Order</strong>.

Step 2: Configure the Affirm settings

Once you’ve obtained the public and private API keys from your Affirm Merchant dashboard, go to Tools > Apps & Addons and enter them into your AmeriCommerce online dashboard for Affirm.

  1. Enter your Affirm Public and Private API keys.
  2. Leave the Financial Product Key field blank.
  3. Optional: Enable Authorize Only. When enabled, the funds will not be captured at the time the order is placed, only authorized. The funds can be captured later on the Admin Order Edit screen.
  4. Set the Mode to one of the following:
  • Redirect: Redirects to after the customer clicks place order.
  • Modal: Enables modal popup after the customer clicks place order.
  1. Optional: Enable Confirmation page analytics to send order details to Affirm after an order is placed.