#usama-paymentelement-redirect

1 messages · Page 1 of 1 (latest)

uneven gateBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

cunning vale
#

Are you setting custom parameters and not seeing those or expecting something set by Stripe?

#

I would expect your payment intent ID to be included in the query parameters

pearl lintel
#

No When I use payment intent I get the parameters of payment intent ID and payment status in the url query but when I use the payment intent form a subscription object I don't get that info in the url query anymore.

cunning vale
#

Do your confirmPayment calls for those two cases use the same code?

pearl lintel
#

Yes, I use the same confirmPayment code for normal payment intent and the payment intent of subscription

#

So what can be the issue. Can you let me know?

uneven gateBOT
chilly knoll
#

usama-paymentelement-redirect

#

@pearl lintel and the exact same code works fine for a normal PaymentIntent?

pearl lintel
#

Yes, I have been using it for last 1 year and this never happened with normal intents using this code

chilly knoll
#

What payment method type are you using? card or something else?

pearl lintel
#

card

chilly knoll
#

Can you share an example PaymentIntent id?

#

@pearl lintel I tried locally on my end and it works fine for me at least

pearl lintel
#

Sure let me share the intentId

#

@chilly knoll Here is the intent id for last call I did: pi_3OMXgbBs7DpMc7pY1sveelkm

chilly knoll
#

Which test card are you using?

#

ah it seems to be the 4242. I really can't reproduce and neither can my colleague, for us it works totally fine so we're going to need to see an example page

pearl lintel
#

Oh ok. Well for now I have stopped relaying on query parameters for the redirect page after subscription. Since I'm already verifying the payment using webhooks so I'm dispatching the emails already from there. Thanks for the help

chilly knoll
#

sure thing

uneven gateBOT
pearl lintel
#

I think I know why I'm not getting the query parameters. When payment is made I get redirected to return url page but I didn't not received any payment success event on webhooks against the intent. I'm trying to figure out now why this is happening. Will let you know If I need anymore help