#Enema-setup-intent

1 messages ยท Page 1 of 1 (latest)

foggy bramble
#

Hello ๐Ÿ‘‹

placid venture
#

Hi!

foggy bramble
#

Can you move the attached image to the thread so that we can keep all context here? ๐Ÿ™‚

placid venture
foggy bramble
#

thanks

placid venture
#

Here you go.

foggy bramble
#

For 1/ Are you using any Stripe JS Elements for your integration? If so, how are you initializing Stripe? Are you sure you're using the right keys?

#

For 2/ It seems like your site is initialized with Test mode keys rather than live mode. It would also explain 1/

placid venture
#

Yes,

#

But it is in normal mode on the other domain.

#

Same code running.

foggy bramble
#

Is this site public? If so, can you share the URL?

placid venture
#
  1. is registering as a client.
  2. is registering as a therapist
foggy bramble
#

Okay so on app1.reachlink.com site, you're initializing Stripe with your test mode publishable key
pk_test_51K3bAl.....Na4DJTl1

#

That's why
1/ It isn't able to find the SetupIntent which is likely created in live mode
2/ It launches connect onboarding in test mode

#

you want to switch it out with your live mode key pk_live_xxxxx

#

The working one beta.reachlink.com is using your live key

#

One other thing I want to call out and which you should fix urgently is your exports are leaking a portion of your secret key (sk_live...)

#

REACT_APP_AWS_STRIPE_SECRET_KEY

#

I'd highly recommend fixing the exports and rolling your secret key as soon as possible.

#

you should never include/save your secret key anywhere on your front-end

placid venture
#

Thank you very much

#

I will get back to you on these.

foggy bramble
#

NP! ๐Ÿ™‚

#

Good luck