shetabit / payment

simple laravel payment package , supports multiple drivers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Payment::callbackUrl not working correctly

Nimaw opened this issue · comments

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.

Hi, please fix it and send pull request.