#matthieu-product-id
1 messages · Page 1 of 1 (latest)
Product created --> Price Generated --> PRice Id saved to database
When I look at the Stripe dashboard vs Database, there is 10 additional characters which cause the product not to be found
Hello 👋
Let's chat here
Hello, thanks!
here is my code: https://pastebin.com/AYSCu90n
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
just so that I'm on the same page, product shows up fine on dashboard but not in your DB?
yes exactly
what server-side library are you using?
Flask / Python
can you share the product ID that you're testing your code with?
Sure! It seems to only happen with the Price ID though
price_1KK3ZWLBQIMsb9IpuGaKnGBr
oh, right....
I've just wasted your time
On the Stripe dashboard, it only shows the first few characters
What brought me to this issue however, is the fact that I am getting a 'bad request, price id does not exist'
Request req_lyDwLqtCoPF9Jq: No such price: 'price_1KK3ZWLBQIMsb9IpuGaKnGBr'Request req_lyDwLqtCoPF9Jq: No such price: 'price_1KK3ZWLBQIMsb9IpuGaKnGBr'
even though, on my dashboard I do see such a price
are you sure you're using the right API keys?
could happen that the price exists on the test account but the code uses a live key or vice versa
if you're using connect, make sure you're referring to platform OR the right connected account
Ah! I've just changed from using Express to Standard accounts for my users. When I create a product/price, do they have to be assigned to the standard account which will receive the money?
because I don't see anything in the 'createProduct' or 'createPrice' function that references the account that it connets to
Hello! Catching up, hang on...