Open Nimaw opened 3 years ago
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.
Hi, please fix it and send pull request.
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.