#martselq

1 messages · Page 1 of 1 (latest)

fierce vergeBOT
pale halo
#

Hello there

#

Are you the developer here?

#

Or are you using a plugin of some sort?

silver void
#

I'm the developer

#

I'm trying to test the setup live in my staging environment

pale halo
#

Second, the only thing that determines test vs. live mode in a Stripe integration is the set of API keys you use in your integration.

silver void
#

I've been testing in test mode and all the webhook events seem to work great

#

How do I test whether or not hooking up a real credit card works?

pale halo
#

We can't recommend you do that -- see the link above. Our recommendation is that you test in test mode with the test cards. Then once you are satisfied you switch to your live keys and you run in production.

silver void
#

Ok, I'll do that then

#

Right now I have my envs on staging set to live keys

#

And still the customer portal shows up in test mode

#

What will I need to do to make sure everything that needs to be live is live?

pale halo
#

In that case there is some issue like your code is cached on your older code, you haven't actually saved/deployed your update code, or there is an issue with how you are setting your keys, etc.

#

The only thing that determines test vs. live is the key used to intialize Stripe in order to make the API request.

#

So if you are seeing the Customer Portal Session created in test mode, then you are still using your test keys here and you'll need to debug why.

silver void
#

ok got you

#

thanks!