Discussions
Callback_url is not invoked
over 3 years ago by Davide
Hi,
I'm using a web button to create a payment and I'm having trouble redirecting to my callback_url after I've authorized the payment from the mobile app.
This is the body I pass when creating a payment:
paymentBody = [
"flow" => "MATCH_CODE",
"amount_unit" => $amount,
"currency" => $curr,
"callback_url" => "https://mySite/getPaymentDetails.php?payment_id={uuid}"
];
Does {uuid} retrieve the payment id automatically or do I have to pass it in some other ways?
Thanks.