Fix #177 - Allow to change the payment method

This commit is contained in:
Raphael Michel
2016-08-31 13:20:00 +02:00
parent b21ed4d99f
commit 022e02d913
8 changed files with 209 additions and 11 deletions

View File

@@ -246,7 +246,7 @@ class Paypal(BasePaymentProvider):
def order_can_retry(self, order):
return True
def retry_prepare(self, request, order):
def order_prepare(self, request, order):
self.init_api()
payment = paypalrestsdk.Payment({
'intent': 'sale',