Do not allow initiating stripe/paypal payments after the last payment

date
This commit is contained in:
Raphael Michel
2016-12-23 13:29:41 +01:00
parent 16ab6e44f5
commit d698313f1d
6 changed files with 37 additions and 14 deletions

View File

@@ -257,7 +257,7 @@ class Paypal(BasePaymentProvider):
order.save()
def order_can_retry(self, order):
return True
return self._is_still_available()
def order_prepare(self, request, order):
self.init_api()