From 5d4f3eab06fd5afe124a581dea204ee3726ce734 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 6 Feb 2024 17:48:13 +0100 Subject: [PATCH] Stripe: Add link to Stripe App (#3860) --- src/pretix/plugins/stripe/payment.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pretix/plugins/stripe/payment.py b/src/pretix/plugins/stripe/payment.py index 8cb5a64a4a..f7f7cc103b 100644 --- a/src/pretix/plugins/stripe/payment.py +++ b/src/pretix/plugins/stripe/payment.py @@ -273,9 +273,12 @@ class StripeSettingsHolder(BasePaymentProvider): ('publishable_key', forms.CharField( label=_('Publishable key'), - help_text=_('{text}').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' + help_text='{text}
' + '

{help}

'.format( + text=_('Generate API keys'), + docs_url='https://marketplace.stripe.com/apps/install/link/eu.pretix.plugins.stripe.rak', + help=_('The button above will install our Stripe app to your account and will generate you ' + 'API keys with the recommended permission level for optimal usage with pretix.') ), validators=( StripeKeyValidator('pk_'),