diff --git a/jazkarta/shop/browser/checkout/stripe.py b/jazkarta/shop/browser/checkout/stripe.py index 6a34a0f..68b337f 100644 --- a/jazkarta/shop/browser/checkout/stripe.py +++ b/jazkarta/shop/browser/checkout/stripe.py @@ -78,10 +78,10 @@ def handle_submit(self): except PaymentProcessingException as e: charge_result = { 'success': False, - 'err_msg': e.message, + 'err_msg': str(e), 'err_code': getattr(e, 'code', None), } - self.error = e.message + self.error = str(e) if not self.error: try: