Background
⌘K

Stripe test mode and Affonso tracking

Affonso only tracks Stripe live-mode payments. How to test end-to-end without charging real cards.

Silvestro
Written by Silvestro
Updated more than a week ago

Affonso processes Stripe webhooks only from live mode. Purchases made in Stripe test mode are intentionally ignored — they will never appear as referrals in Affonso.

How to test end-to-end

Run the test in live mode and use a 100% off coupon so no money is actually charged. This exercises the exact same flow as a real customer:

  • The cookie is set in the browser.
  • The cookie value is passed into the Checkout Session metadata.
  • Stripe fires the live-mode webhook to Affonso.
  • The referral and commission show up in the dashboard.

Why test mode isn't tracked

Test-mode events can be generated freely against Stripe's test API. If Affonso accepted them, anyone could fabricate referrals and inflate commission totals. Limiting to live mode protects program integrity.

See also

Was this article helpful?

If you still need help, our support team is here for you.

Contact Support
bg

Ready to Scale Your SaaS?

Affonso is the easiest way to launch your own affiliate program. We take care of the technical stuff, so you can focus on growing your business.