This page includes details for setting up your environment and testing your integration to ensure everything works as planned.
Before going live with your Affirm integration, we suggest testing in 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.
1. Retrieve your live API keys at https://affirm.com/dashboard/#/apikeys.
2. In the Magento 2 admin panel, go to Stores > Configuration > Sales > Payment Methods > Affirm.
3. Set Mode to Production.
4. Enter the Public API Key and Secret Key (private key) you just retrieved from the Affirm merchant dashboard.
After you've connected to our live environment and we've tested your integration, you're ready to go live and offer Affirm as a payment option to your customers.
Updated 10 months ago