Testing & deployment

Test your Shopify integration before deploying and going live.


This page includes details on ensuring that Affirm is correctly configured as a payment option within your Shopify settings and ready for your customers to use as a payment option.

1. Test your integration

To test the integration, please add any product to your cart and navigate through your checkout process as normal, then select Affirm as a payment option.

As long as you are able to get redirected to the Affirm checkout flow after selecting Affirm as a payment method, Affirm will work as expected. You will know if the Affirm payment option is working correctly if you can see the screen below after clicking ‘Complete Order’


If you receive any errors at and are not able to get to the screenshot above, please reach out to [email protected]

2. Deploy to production


Please note: while test mode is active, real loans are not created. Your customers will not be able to use Affirm as a payment method until test mode is deactivated by following the steps below

To deactivate test mode:

  1. Sign in to your Shopify account and click the Settings (gear) icon at the bottom-left of the screen.
  2. Click Payments
  3. In the Alternative Payments section, find Using: Affirm and click Edit
  4. Uncheck the Use test mode checkbox and save settings. You will know test mode has successfully been disabled once the red 'You are currently using the Affirm Developer Sandbox' banner is removed from the Affirm checkout flow:

If you see the image above, Affirm is successfully connected to your live environment and ready to be used by your customers! If you're experiencing any errors that prevent you from seeing the image above, please reach out to us at [email protected]

Related topics

Congrats on successfully testing and deploying you Affirm integration in Shopify! You may also want to learn more about processing transactions in Shopify, and some additional features for Shopify Plus users.

Did this page help you?