Allow payment providers to define custom form fields / templates

This commit is contained in:
Raphael Michel
2015-03-06 22:20:04 +01:00
parent 29cedbaac3
commit e630858a35
8 changed files with 70 additions and 1 deletions

View File

@@ -218,6 +218,7 @@ class PaymentDetails(EventViewMixin, CartDisplayMixin, EventLoginRequiredMixin,
providers.append({
'provider': provider,
'fee': fee,
'form': provider.checkout_form_render(self.request),
})
return providers