forked from CGM_Public/pretix_original
Link PayPal and Stripe documentation in the respective forms
This commit is contained in:
@@ -39,6 +39,10 @@ class Paypal(BasePaymentProvider):
|
|||||||
('client_id',
|
('client_id',
|
||||||
forms.CharField(
|
forms.CharField(
|
||||||
label=_('Client ID'),
|
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',
|
('secret',
|
||||||
forms.CharField(
|
forms.CharField(
|
||||||
|
|||||||
@@ -28,6 +28,10 @@ class Stripe(BasePaymentProvider):
|
|||||||
('secret_key',
|
('secret_key',
|
||||||
forms.CharField(
|
forms.CharField(
|
||||||
label=_('Secret key'),
|
label=_('Secret key'),
|
||||||
|
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/stripe.html'
|
||||||
|
)
|
||||||
)),
|
)),
|
||||||
('publishable_key',
|
('publishable_key',
|
||||||
forms.CharField(
|
forms.CharField(
|
||||||
|
|||||||
Reference in New Issue
Block a user