#SamZepo - Subscriptions
1 messages · Page 1 of 1 (latest)
Hello! Can you give me the ID of a Payment Intent that returned a 200 but was unsuccessful?
That's an Invoice ID, not a Payment Intent ID. Can you clarify if this is an issue with Invoices?
Invoices generate Payment Intents, but you can also create Payment Intents directly without using Invoices. I just want to make sure i fully understand your question/scenario.
This Invoice was created for a Subscription, and that Subscription creation request is here: https://dashboard.stripe.com/logs/req_BLzQIC9oJOYJ9k
Is that the request that returns 200 that you're talking about?
Where can I get the Payment intent ID?
I think I found it
pi_3JdGqjIijQMzpdJS195rFIkW
I can get to the Payment Intent ID from these other objects, but I don't think I fully understand your scenario.
Can you give me the request ID for the request giving you the 200 you don't expect if it's not the same as the request I linked to above?
Ok, let me try to explain again. Give one second
At this time, when the user clicks checkout from my system, the payment intent is sent to Stripe.
In many cases Stripe returns 400 if the process fails; whether due to the bank, insufficient funds, etc.
But as many times Stripe returns 200, but seconds later it sends the cancellation of the same account through the webhook; since the bank did not approve or there is not funds.
I don't understand why sometimes it returns 400 and other times returns 200. The ideal for me would be that I always answer 200 when the payment was made successfully.
But as many times Stripe returns 200
Can you provide a request ID showing an example 200? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
One where it was canceled later.
That's a Payment Intent ID. I'm looking for the specific request ID (starts with req_) that shows the 200 response you're talking about.
I think it's req_BLzQIC9oJOYJ9k, but can you confirm that?
That's the same request I linked to above.
req_BLzQIC9oJOYJ9k
Yeah, okay, so that's a request to create a Subscription. If you look at that request in your Dashboard you can see that the Subscription's status is incomplete which means it hasn't been paid yet: https://stripe.com/docs/api/subscriptions/object#subscription_object-status
I recommend you read through our "how subscriptions work" documentation here: https://stripe.com/docs/billing/subscriptions/overview
Especially this section: https://stripe.com/docs/billing/subscriptions/overview#subscription-lifecycle
Ok, ok
SamZepo - Subscriptions
So, If the subscription was created is the reason I get 200?
Yeah, the Subscription was created successfully, it just hasn't been paid yet.
That specific 200 indicates successful creation, not that you got paid.
So, we have to wait all process to create a denial the access, right?