#pawelk0903
1 messages · Page 1 of 1 (latest)
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.
- pawelk0903, 5 days ago, 47 messages
- pawelk0903, 5 days ago, 7 messages
No, I don't think that's possible. p24 is a redirect-based payment method and your customer will be redireceted to the payment service provider to authenticate the payment.
I know that accepting the transaction on the bank is necessary. But how do i control this manually?
What do you want to control?
i need to intercept the URL the user needs to be redirected to. Before when i was using the sources API i could get it from stripe source redirect.url
Why do you want to do that?
cause i want to open that url in popup window on the top of my app
to allow user to authenticate, and then when he closes the window, he can continue the flow. That way i dont loose the context of the flow
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i was getting it from here before
https://stripe.com/docs/api/payment_intents/object?lang=node#payment_intent_object-next_action-redirect_to_url you can get the same in PaymentIntent
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That sounds promising
i dont get the redirect_to_url as next action though, how do i force payment intent to get it everytime it needs a redirect?
What's the payment_intent Id?
I think it got it to work pi_3OCHKkAN1WpGl5pp1JJHuFbi
are there cases when this next action is different?
Yes it's possible and it's not advised to manually process the next action hash by yourself.
i dont have another way as of now unfortunately
next action hash result depends on the payment intent status?
It also depends on the payment method type as well