Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payment::callbackUrl not working correctly #198

Open
Nimaw opened this issue Aug 1, 2021 · 1 comment
Open

Payment::callbackUrl not working correctly #198

Nimaw opened this issue Aug 1, 2021 · 1 comment

Comments

@Nimaw
Copy link

Nimaw commented Aug 1, 2021

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.

@khanzadimahdi
Copy link
Member

Hi, please fix it and send pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants