Forum Academy Marketplace Showcase Pricing Features

Test and Live Keys - API Connector

Hey y’all! How are you handling test keys and live keys in the api connector? Changing them every time when publishing? Thanks.

condition

when you calling the api use condition to call either the test or live api keys like so

1 Like

Where do you enter the live key on the call?

I just made two calls and created only when statements for dev and live

great… i didn’t realise you ment stripe when you ref API. im sure the stripe plugin from bubble automatically uses stripe test/dev when in edit mode… i read that somewhere…i think

1 Like

No worries, I like making the calls directly - for some reason I find it easier hehe