payment icon indicating copy to clipboard operation
payment copied to clipboard

فرستادن status code تراکنش در verify idpay

Open yasermh opened this issue 3 years ago • 3 comments

Detailed description

Provide a detailed description of the change or addition you are proposing.

Make it clear if the issue is a bug, an enhancement or just a question.

Context

Why is this change important to you? How would you use it?

How can it benefit other users?

Possible implementation

Not obligatory, but suggest an idea for implementing addition or change.

Your environment

Include as many relevant details about the environment you experienced the bug in and how to reproduce it.

  • Version used (e.g. PHP 7.2, HHVM 3):
  • Operating system and version (e.g. Ubuntu 19.04, Windows 10):
  • Link to your project:
  • ...
  • ...

yasermh avatar Jul 27 '22 05:07 yasermh

سلام میشه وقتی تراکنش رو داریم verify می کنیم status code یا همون errorCode هم throw بشه اگه خواستیم اونو تو دیتابیس ذخیره کنیم

yasermh avatar Jul 27 '22 05:07 yasermh

توی این فایل https://github.com/shetabit/multipay/blob/master/src/Drivers/Idpay/Idpay.php تابع notVerified status هم throw بشه

throw new InvalidPaymentException($translations[$status],$status); خط ۲۳۶

yasermh avatar Jul 27 '22 05:07 yasermh

سلام. بعله باید این اتفاق بیوفته. نیاز به ریفکتور کردن داریم. اینکار رو در اولویت قرار میدیم.

khanzadimahdi avatar Jul 30 '22 15:07 khanzadimahdi