Test and go live with Snap

Overview

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

Coordinate testing with Affirm

Before deploying the Affirm integration to your production site, Affirm will need to test it in your development or staging environment connected to our live environment. Contact your Integration Consultant or [email protected] to coordinate this test.


Test the Snap checkout flow

1. Enter any valid US Number.
2. Use 1234 for the PIN.
3. Enter a name and email address.
4. Use 07-07-1977 as the birth date.
5. Enter any 4 digits for the SSN.
6. Enter an income less than $100,000.
7. Enter any payment dates.
8. Enter any 9 digits for the routing number, except do not use 0 as the final number.
9. Enter any 6-10 digits for the bank account number.
10. Review the lease and proceed to the order confirmation page.

Snap flowSnap flow

Snap flow


Go live

Connect to the live Affirm environment

1. Retrieve your live API keys at https://affirm.com/dashboard/#/apikeys
2. Sign in to your Shopify account and click the Settings (gear) icon at the bottom-left of the screen.
3. Click Payments
4. In the Alternative Payments section, find Using: Affirm and click Edit
5. Uncheck the Use test mode checkbox
6. Enter the Public API Key and Private API Key you retrieved from the Affirm merchant dashboard
7. Click Save
8. In the Affirm promotional messaging, update the Affirm.js code to use the live public API key you just received for public_api_key and <https://cdn1.affirm.com/js/v2/affirm.js> for script

Launch to production

After you've connected to our live environment and we've tested your integration, you're ready to deploy to your production environment and offer Affirm as a payment option to your customers.


Did this page help you?