Hey Everyone,
I am seriously stuck with the stripe plugin and have spent hours trying to solve. I have just launched my site to live and started immediately having trouble with the error
Stripe error: No such customer: ‘’", a similar object exists in test mode, but a live mode key was used to make this request. So I went through the forum to try and find answers although most of these were related to plans / products and I don’t have either, I just use the ‘charge the current user flow’.
So I decided maybe if I delete my stripe customers that would help fix the issue. And that changed the error to just: Stripe error: No such customer: ‘’"
So I am stuck now because there is not much info out there about this and I have tried changing all my api keys creating new accounts in stripe and using different user credentials to make the purchase on my live site.
After going through some forum posts I think it could be because bubble’s plugin saves stripe customer ids but there is no way for us to edit or delete that in this case and so we are pretty stuck.
So with all that said if anyone has any ideas that would be amazing.
Thanks in advance,
Olly
Stripe Error Log:
{
“locale”: “en”,
“payment_method_types”: {
“0”: “card”
},
“payment_intent_data”: {
“description”: “This is a payment confirmation for the Candlelight Yin Yoga & Sound Journey Experience starting Nov 5, 2021 12:00 am for sage schlebach”,
“setup_future_usage”: “off_session”
},
“billing_address_collection”: “auto”,
“success_url”: “https://oraretreat.com/event/1635725529212x151626012353888260?resume=1635731031681x280741542044885340”,
“cancel_url”: “https://oraretreat.com/event/1635725529212x151626012353888260”,
“customer”: “cus_Jss5xUBb5aA8vW”,
“line_items”: {
“0”: {
“name”: “Candlelight Yin Yoga & Sound Journey Experience ticket for sage schlebach”,
“description”: “This is a payment confirmation for the Candlelight Yin Yoga & Sound Journey Experience starting Nov 5, 2021 12:00 am for sage schlebach”,
“amount”: “200”,
“images”: {
“0”: “https://s3.amazonaws.com/appforest_uf/f1635725459983x608361278064047100/Screen%20Shot%202021-10-20%20at%2011.21.00%20AM.png”
},
“currency”: “NZD”,
“quantity”: “1”
}
}
}
Response body
{
“error”: {
“code”: “resource_missing”,
“doc_url”: “Error codes | Stripe Documentation”,
“message”: “No such customer: ‘cus_Jss5xUBb5aA8vW’”,
“param”: “customer”,
“type”: “invalid_request_error”
}
}
Request POST body
{
“locale”: “en”,
“payment_method_types”: {
“0”: “card”
},
“payment_intent_data”: {
“description”: “This is a payment confirmation for the Candlelight Yin Yoga & Sound Journey Experience starting Nov 5, 2021 12:00 am for sage schlebach”,
“setup_future_usage”: “off_session”
},
“billing_address_collection”: “auto”,
“success_url”: “https://oraretreat.com/event/1635725529212x151626012353888260?resume=1635731031681x280741542044885340”,
“cancel_url”: “https://oraretreat.com/event/1635725529212x151626012353888260”,
“customer”: “cus_Jss5xUBb5aA8vW”,
“line_items”: {
“0”: {
“name”: “Candlelight Yin Yoga & Sound Journey Experience ticket for sage schlebach”,
“description”: “This is a payment confirmation for the Candlelight Yin Yoga & Sound Journey Experience starting Nov 5, 2021 12:00 am for sage schlebach”,
“amount”: “200”,
“images”: {
“0”: “https://s3.amazonaws.com/appforest_uf/f1635725459983x608361278064047100/Screen%20Shot%202021-10-20%20at%2011.21.00%20AM.png”
},
“currency”: “NZD”,
“quantity”: “1”
}
}
}