Closed Julianlu1 closed 2 years ago
Hi @Julianlu1 ,
This is how I usually solve this:
ReturnFromMollieController
in your app.Hey Sander,
Thanks for your answer. I am still trying to implement your method. I will let you know when it works or if I am running into problems.
Great!
Closing this for now, let me know if it should be reopened.
Yeah that's fine! Will let you know.
Hi,
I made it possible to send the user back to the app after a payment, but I am struggling to redirect the user to the correct
app screen
(success screen or payment failed screen). After theorder
is created, a payment url is sent to theclient
. He then pays or declines the payment. How can I redirect the user with a parameter that sayssuccess
orfailed
, since there is only 1 redirectUrl.I read that the
webhookUrl
is used to check for updates. Thisurl
will get called when the status of an order updates. The client then can listen for changes on that url.Do I need to listen on the
webhookUrl
? Or can I pass a parameter toredirectUrl
, however I do not know if the payment issuccess
orfailed
.Or do I need to call
get payment
directly after I redirected the user? https://docs.mollie.com/reference/v2/payments-api/get-paymentThank you!