#xcoder - runtime error

1 messages · Page 1 of 1 (latest)

lucid badge
#

Hello. Let's chat in here

#

Out of the main channel

quiet wyvern
#

okok

lucid badge
#

Looking

quiet wyvern
#

ok thanks

lucid badge
#

Ah ok. So you're just using the publishable key when you should be using the secret key

#

Requests from your backend server, like creating a checkout session, need to be made with the secret key

#

The link in that error message will show you where to find your secret key in the dashboard

quiet wyvern
#

I have my secret key

#

But i don't know how to use it

#

I'm using stripe for the first time

lucid badge
#

What guide are you following to use Stripe Checkout and create Checkout sessions?

quiet wyvern
quiet wyvern
lucid badge
#

Can you link it?

#

Want to know how you're structuring your code first of all

#

There's different strategies to implement Checkout

quiet wyvern
#

Too difficult? 👉 Watch my REACT BASICS 101 class for FREE with 1 month FREE Skillshare access (First 1000 people): https://skl.sh/2Srfwuf

🚨 Join the world’s BEST developer community “Zero to Full Stack Hero” NOW: https://www.papareact.com/course

Join me on Day 4 of 5 of the 5-DAY AMAZON CHALLENGE where we build the following:

👉 Payment Proce...

▶ Play video
#

And ge just added stripePromise = load(public_key)

quiet wyvern
#

You can check it

lucid badge