Testing and deployment


You should have received an email inviting you to create an Affirm account. Click here for information about accessing your account.

Develop and test the Affirm integration in your development environment connected to our sandbox. To use our sandbox, retrieve your sandbox API keys at https://sandbox.affirm.com/dashboard/#/apikeys for use during integration.

After development and testing, you'll need to update your integration to use your live API keys, which you can find at https://affirm.com/dashboard/#/apikeys.

When configuring Affirm, ensure that Affirm Sandbox is checked for development and testing. Return here to complete the integration.

Connect to a live environment

To connect to a live environment:

1. Navigate to WooCommerce > Settings > Payments > Affirm Payment Gateway.
2. Uncheck Affirm Sandbox.
3. Click Save.

Deploy to production

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

Did this page help you?