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

Unknown Error Occurring on Zibal Driver #319

Open
naeimsafaee opened this issue Sep 27, 2024 · 1 comment
Open

Unknown Error Occurring on Zibal Driver #319

naeimsafaee opened this issue Sep 27, 2024 · 1 comment

Comments

@naeimsafaee
Copy link

naeimsafaee commented Sep 27, 2024

Hi everyone,

I hope you're all doing well. Since yesterday, I've been encountering an error with the Zibal driver. The error message I receive is:
خطای ناشناخته ای رخ داده است.
This error occurs during the execution of the verify() function in the following code:
$receipt = $payment->amount((float) $transaction->amount) ->transactionId($transaction_id) ->verify();

It seems that the $status is returning as null, which leads the translateStatus() function to return the above error. From what I can tell, this issue might not be on the Zibal side. it's because Zibal driver is not working with RestApi as it's using Request input for status and flag.

If anyone has any insights or solutions, I'd greatly appreciate the help!

Thanks in advance.

@khanzadimahdi
Copy link
Member

khanzadimahdi commented Sep 29, 2024

Even if the package doesn't use Zibal API, this error is a result of a kind of change that happened in Zibal. As far as I understood, it suddenly stopped working and you didn't touch anything.

Could you please check the callback request query and payload ? this status might have been removed from the callback request from Zibal's behalf.

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