Stripe integration - Test & live keys

Are you trying to integrate a Test or Live mode API key?

Author photo   Geri G
  Last updated February 4 2022

Stripe provides each account with separate keys for testing and running live transactions. Therefore, all Stripe API requests exist in either test or live mode

When integrating a stripe account, please ensure that you've integrating the live API and not the test key. To know whether you've integrated a test or live API, please look for 'test' within the code:


If a test API is integrated with Canapii, please be advised that an error message will occur when a transaction is attempted. 

For more information, please check out this Stripe knowledge base article.