#iwynos_adi
1 messages · Page 1 of 1 (latest)
Hello! What's the issue?
This what I see after an invoice payment
I want something like the redirections after an succefull and unsuccessfull payments
Like a onetime-checkout model
I don't believe that's an option, but let me confirm...
Yep, as far as I can tell that's not an option with the hosted Invoice payment page.
I can flag it as a feature request if you want?
Are there any other way where, I can create an subscription and after payment customer comes back to my webpage again
We basically want the customer to come back to our store after making the payment for the subscription
And you to tell us via a callback or other means that payment was received for the subscription so we can proceed to next steps
There is no way to redirect to your site after a successful Invoice payment on our hosted Invoice page. We do send webhooks for successful payments though, so that second part can be handled that way.
what are the alternative to hosted invoice page
You can build your own custom page to pay Invoices.
For example, you can use the Payment Element to confirm the Invoice's Payment Intent.
Can you guide as to a link with examples
Maybe we will try with that approach. Provide any links you have that can guide us on that approach
How can i get to payment_intent_client_secret
The Invoice will have a payment_intent property, and that Payment Intent will have a client_secret.
You can use expansion to get the Invoice and Payment Intent in a single API request: https://stripe.com/docs/expand