#AppleJaxxZ-price-lookup_id
1 messages ยท Page 1 of 1 (latest)
And what ID on that Checkout Session is always null?
lookup_key
when i click on product, then click on the endpoint for prices, the reponse data has a key of null
so im not sure if im supposed to code in the priceId for reach checkout or the lookup_key
the backend in this example accepts a lookup_key though'
im using react and node
Did you provide a lookup_key when you created the Price object?
no, where can I do that?
You can also use the standard price ids
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
so if you look at the 2ind image i sent you, instead of providing [req.body.lookup_key]. i would put [req.body.priceId] instead right?
like, does lookup_key present the price in a different way or is it the same thing as using priceId?
nevermind, im going to try a few things, ill get back to you if im still stuck thank you
There isn't an equivalent with the price IDs, I was a bit mistaken.
It looks like you can use the lookup key to list a couple prices at a time but there is not an equivalent filter that uses the IDs that Stripe generates
Sounds good, happy to help on anything that you get stuck with