#phillipsharring_code

1 messages ยท Page 1 of 1 (latest)

trail sigilBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1237475885649756181

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

violet quail
#

Hello
redirectToCheckout is a deprecated function, we recommend using server-side redirect or manually redirecting to checkout page using the URL

#

The error here seems to suggest that the price_xxx ID you're passing to lineItems, doesn't exist on the Stripe account that the API key belongs to

outer beacon
#

ok - i'll double check the various ids

#

the redirectToCheckout is currently working on the production site - we're just trying to add a couple of new products

#

yup - that was it - i had mismatched ids from different accounts

#

thank you

violet quail
#

๐Ÿ™‚ ๐Ÿ‘

outer beacon
#

i'll check out replacing redirectToCheckout

#

server-side redirect or manually redirecting to checkout page using the URL

#

what would the URL be?

violet quail