Here’s a great example of what I’m describing. This lady (user ID 154) tried to sign up today. She does not have a subscription, and is a brand new user. She created her listing and went to the check out page. Then, she tried to use a discount code and encountered the following error (see screenshot “stripe error 1”):
request POST body
{
“id”: “standard-listing_1883_299_799_month_0”,
“amount”: “799”,
“currency”: “USD”,
“interval”: “month”,
“interval_count”: “1”,
“product”: {
“id”: “1883”,
“name”: “Standard Listing ($2.99 for the first month. Then $7.99 for each month.)”
}
}
Response body
{
“error”: {
“code”: “resource_already_exists”,
“doc_url”: “https://stripe.com/docs/error-codes/resource-already-exists”,
“message”: “Product already exists.”,
“type”: “invalid_request_error”
}
}
she then tried multiple times and ended up getting another error (see screenshot “stripe error 2”)