Link PayPal and Stripe documentation in the respective forms

This commit is contained in:
Raphael Michel
2017-05-02 19:07:19 +02:00
parent 2fcd561ff7
commit 394c206133
2 changed files with 8 additions and 0 deletions

View File

@@ -39,6 +39,10 @@ class Paypal(BasePaymentProvider):
('client_id',
forms.CharField(
label=_('Client ID'),
help_text=_('<a target="_blank" href="{docs_url}">{text}</a>').format(
text=_('Click here for a tutorial on how to obtain the required keys'),
docs_url='https://docs.pretix.eu/en/latest/user/payments/paypal.html'
)
)),
('secret',
forms.CharField(