💳Payment info not found (test and live keys mixed up)
StripeInvalidRequestError: No such price: 'price_1Abc…'
The payment service has no product or customer with that ID. It usually happens when test keys and live keys get mixed up.
🤔 Why does it happen?
- A product ID made in test mode is being called with a live key (or the other way around)
- An ID from a different account was used
🔧 Try this
- Check the test/live mode at the top of the dashboard, and see whether the ID was made in that mode
- Manage keys and IDs in environment variables, grouped by the same mode
🤖 Ask your AI like this
I get a 'No such price' error when paying. Please check whether test-mode and live-mode keys and product IDs got mixed up, and change it so environment variables are managed separately for each mode. Don't ask me for the key values. [Paste the full error here]
Replace the [ ] parts with your own situation, and paste the error with a few extra lines before and after it.