Payment::callbackUrl not working correctly
Nimaw opened this issue · comments
Nima commented
Hello dear Support,
return Payment::callbackUrl(route('user.orders.payment.result', ['orderNumber' => $this->order->unicode]))->via('zarinpal')->purchase( (new invoice)->amount($this->order->price), function ($driver, $transactionId) { // Some codes... } )->pay()->render();
I this case callbackUrl not working and redirect to another URL after payment finished.
Best,
Nima.
mahdikhanzadi commented
Hi, please fix it and send pull request.