This guide describes how to integrate Affirm into the ASPDotNetStorefront platform so you can provide Affirm as a payment option to your customers. After integrating Affirm, your ASPDotNetStorefront site will:

  • Offer Affirm as payment option on the checkout page
  • Process Affirm charges in your order management system
  • Display Affirm promotional messaging

Before you begin 

Before beginning integration, you should review:

Sandbox development

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 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

Install and configure Affirm

Please reach out to your Client Success Manager for instructions on installing and configuring Affirm and adding Affirm promotional messaging on ASPDotNetStorefront.

Review your order management functions

Processing orders (authorize, void, refund, and partial refund) in ASPDotNetStorefront updates the order status in the Affirm dashboard. While you can process orders in the dashboard, we strongly recommend using ASPDotNetStorefront to keep order status synced with Affirm. For more information on processing orders in ASPDotNetStorefront, refer to their documentation.

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.

Deploy to production

Connect to the live Affirm environment

Contact your Client Success Manager for instructions on connecting to the Affirm live environment.

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?