#Kenny024
1 messages · Page 1 of 1 (latest)
Hi 👋
I
hello!
oh...
But what requests are you making in your Stripe Account?
but, I think the problem comes from an API call I did and delte in the past
delete*
What I try to do is to charge the buyer, to keep is money waiting before sending it to the seller
I don't know if it's clear for you...
I am a little confused. Could you describe what you are trying to do in terms of API requests?
For example:
- Create Customer
- Create Charge
...
- Create a charge
I already did an API call to create a customer
but I think Stripe can't identify it and always show me the error message I sent you
Can you share the API request ID for the request that failed?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Please, this is the request
here I underline the customer ID I always receive in the message error
It's strange because the customer account I used for the charge hasn't this customer ID
Can you copy/paste the request ID so I can look it up on my end?
{
"line_items": {
"0": {
"price_data": {
"unit_amount": "2500",
"currency": "EUR",
"product_data": {
"description": "Ma pastaaq",
"name": "aly photo"
}
},
"quantity": "1"
}
},
"billing_address_collection": "auto",
"cancel_url": "https://ptpapp.be/version-test/content?Custom_Pic=1663275340373x411486305034698750",
"customer": "cus_MXvZeaLN9b7PYD",
"locale": "fr",
"payment_intent_data": {
"description": "Ma pastaaq",
"capture_method": "manual",
"setup_future_usage": "off_session"
},
"success_url": "https://ptpapp.be/version-test/content?Custom_Pic=1663275340373x411486305034698750&resume=1665692109894x279176637258703900",
"mode": "payment",
"payment_method_types": {
"0": "card"
}
}
Corps de la requête POST
{
"line_items": {
"0": {
"price_data": {
"unit_amount": "2500",
"currency": "EUR",
"product_data": {
"description": "Ma pastaaq",
"name": "aly photo"
}
},
"quantity": "1"
}
},
"billing_address_collection": "auto",
"cancel_url": "https://ptpapp.be/version-test/content?Custom_Pic=1663275340373x411486305034698750",
"customer": "cus_MXvZeaLN9b7PYD",
"locale": "fr",
"payment_intent_data": {
"description": "Ma pastaaq",
"capture_method": "manual",
"setup_future_usage": "off_session"
},
"success_url": "https://ptpapp.be/version-test/content?Custom_Pic=1663275340373x411486305034698750&resume=1665692109894x279176637258703900",
"mode": "payment",
"payment_method_types": {
"0": "card"
}
}
Bubble introduces a new way to build a web application. It’s a no-code point-and-click programming tool. Bubble hosts all applications on its cloud platform.
is this what you need?
No, that is the payload. What I need is the request ID. Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
It should look like this --> req_abc123
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
The customer you are trying to make the request for belongs to a different Stripe account. I would recommend checking with API keys you're using and making sure you're using the right ones for the right account
That's the right one, I just checked
It's not possible for you to delete this customer and the Stripe account he is linked too?
We used a first Stripe account but decided to delete it because our first integration was a mess. We wanted to started again from the scratch
That customer is attached to a deleted account. So you need to create a new customer and use that customer ID instead
I did it
But to do it, I used on my app, the same user with the same email.
So I should try with another one?
It doesn't matter if it has the same email. You need to create a whole new customer as a separate API call and make sure your integration is getting the new customer ID. Somewhere in your code, the Create charge API call is using the wrong ID.