Fix #1389: PaymentIntents are 'processing' and not 'pending'

This commit is contained in:
Martin Gross
2019-09-17 13:03:22 +02:00
parent e2e64ac01d
commit ab0709558d

View File

@@ -723,7 +723,7 @@ class StripeCC(StripeMethod):
except SendMailException: except SendMailException:
raise PaymentException(_('There was an error sending the confirmation mail.')) raise PaymentException(_('There was an error sending the confirmation mail.'))
elif intent.status == 'pending': elif intent.status == 'processing':
if request: if request:
messages.warning(request, _('Your payment is pending completion. We will inform you as soon as the ' messages.warning(request, _('Your payment is pending completion. We will inform you as soon as the '
'payment completed.')) 'payment completed.'))