Fixed script prefixes in absolute URLs

This commit is contained in:
Raphael Michel
2015-06-18 15:33:40 +02:00
parent 32a9d9709b
commit 8b3eb14d73
6 changed files with 20 additions and 12 deletions

View File

@@ -40,7 +40,7 @@ class Stripe(BasePaymentProvider):
return "<div class='alert alert-info'>%s<br /><code>%s</code></div>" % (
_('Please configure a <a href="https://dashboard.stripe.com/account/webhooks">Stripe Webhook</a> to '
'the following endpoint in order to automatically cancel orders when a charges are refunded externally.'),
build_absolute_uri(reverse('plugins:stripe:webhook'))
build_absolute_uri('plugins:stripe:webhook')
)
def checkout_is_valid_session(self, request):