We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
هنگامی که کاربر تو درگاه پرداخت، انصراف رو میزنه و میخواد به سایت بگرده خطای زیر رو دریافت میکنه:
Session is not valid, session is not active paid try. چجوری به صفحه پرداخت ناموفق منتقلش کنم؟
Session is not valid, session is not active paid try.
The text was updated successfully, but these errors were encountered:
برای حل این مشکل من در فایل zarinpal.py متد verify رو به شکل زیر تغییر دادم اگر دوستان راه بهتری دارند بفرمایند:
def verify(self, transaction_code): super(Zarinpal, self).verify(transaction_code) data = self.get_verify_data() client = self._get_client(timeout=10) try: result = client.service.PaymentVerification(**data) if result.Status in [100, 101]: self._set_payment_status(PaymentStatus.COMPLETE) else: self._set_payment_status(PaymentStatus.CANCEL_BY_USER) logging.debug("Zarinpal gateway unapprove payment") except: self._set_payment_status(PaymentStatus.CANCEL_BY_USER) logging.debug("Zarinpal gateway unapprove payment")
Sorry, something went wrong.
No branches or pull requests
هنگامی که کاربر تو درگاه پرداخت، انصراف رو میزنه و میخواد به سایت بگرده خطای زیر رو دریافت میکنه:
Session is not valid, session is not active paid try.
چجوری به صفحه پرداخت ناموفق منتقلش کنم؟
The text was updated successfully, but these errors were encountered: