Closed 3stragon closed 3 weeks ago
Mollie will call your webhook url with the payment id. The payment id will not be included in the redirectUrl.
However...
If you do the following you are able to add the payment id to the redirectUrl yourself:
$payment = $mollie->payments->create(...);
$payment->redirectUrl = $newUrl;
// now redirect the customer
Small mistake
$payment = $mollie->payments->create(...);
$payment->redirectUrl = $newUrl;
$payment->update();
// now redirect the customer
return.php is being executedPayment ID: tr_KT......
Thank you ;)
Specifications
Describe the issue
My log indicates that when return.php is executed, the QUERY_STRING is empty, and there are no GET parameters being passed. This means that Mollie is redirecting to my return.php without appending the payment ID (id) to the URL. It looks like Mollie might not be properly configured to append the id parameter to the redirectUrl??
This is my base:
return.php
Error is always: Invalid or missing payment ID Whatever i do. What do i miss?