#guedes-retrieve-payment-intent
1 messages · Page 1 of 1 (latest)
Do you have a request ID for the API call that you believe is triggering this?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
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.
What is the request ID? Should look like req_abc123. Or, if you can't find that, a Payment Intent ID will work too
I think is it
Okay, so is your question "why does this automatically succeed after a second?" or is your question something else?
yes, why its change to success I just confirmed the payment_intent to have access to next_actions and use pooling to wait for payment , but after some minutes it automatically changed to success without me making the payment
That's expected in test mode unless you're manually transitioning states.
I'm using a pix method to generate payment so the state payment just changes to success only if the customer makes a payment of the pix right? I mean i make the payment intent and confirm it to get in the Next_action the qrCode and make a long pooling to check if the payment is yet in require_actions status or succeded when alredy paid
but it changes to succeded without payment
Are you using one of these test scenarios to confirm the payment?
https://www.stripe.com/docs/payments/pix/accept-a-payment?platform=web#test-integration
If those are the wrong docs, can you link me to the ones you're following?
thank you so much i didn't notice the use cases i was using {any_prefix}@{any_domain}```
stripe.paymentIntents.create({
amount: params.price,
currency: 'brl',
payment_method_types: ['pix'],
payment_method_data: { type: 'pix' as any },
receipt_email:params.customerEmail,
payment_method_options: { pix: { expires_after_seconds: 900 } } as any
})```
do you think is it what happens in receipt_email?
I following this doc but are similar that the one you send https://stripe.com/docs/payments/pix/accept-a-payment?platform=web