PPv2: Fix payment button on late payment page

This commit is contained in:
Raphael Michel
2022-08-10 14:30:24 +02:00
parent 47989fd139
commit 000407bcaf
3 changed files with 7 additions and 5 deletions

View File

@@ -582,7 +582,7 @@ class PaypalMethod(BasePaymentProvider):
on the 'confirm order' page.
"""
template = get_template('pretixplugins/paypal2/checkout_payment_confirm.html')
ctx = {'request': request, 'event': self.event, 'settings': self.settings}
ctx = {'request': request, 'event': self.event, 'settings': self.settings, 'method': self.method}
return template.render(ctx)
def execute_payment(self, request: HttpRequest, payment: OrderPayment):