## Configure Affirm

  1. Sign into your Ultracart dashboard.

  2. Navigate to _Configuration > Checkout > Payments_.

  3. Scroll down to Advanced Payment methods and enable Affirm.

  4. Click on _Restrictions_ next to the Affirm payment method and update the following options:

    • Enter a dollar amount into _Minimum_ under _Subtotal Restrictions_ you would like Affirm to only be available on cart totals above a certain dollar amount. Note that this is an optional field.

    • Enter a dollar amount into _Maximum_ under _Subtotal Restrictions_ you would like Affirm to only be available on cart totals above a certain dollar amount. Note that this is an optional field.

    • Select the radio button in the "Invalid for" column for _Canada_ and _International_

    • Click **Save**

  5. Click on _Settings_ next to the Affirm payment method and update the following options:

    • **Affirm API Public Key** - Enter the Public Key from your [Affirm dashboard](🔗). (If you're doing sandbox testing, use your [Affirm sandbox keys](🔗)

    • **Affirm API Private Key** - Enter the Private Key from your [Affirm dashboard](🔗). (If you're doing sandbox testing, use your [Affirm sandbox keys](🔗)

    • **Affirm Financial Products Key** - Leave this value blank

    • **Affirm Environment** - If testing, set to _Sandbox_. Otherwise set to _Live_