Skip to content

Commit

Permalink
Fixing URL of webhook on settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Delawen committed Oct 19, 2020
1 parent fa1d307 commit f004768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pretix_mercadopago/payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def settings_content_render(self, request):
settings_content = "<div class='alert alert-info'>%s<br /><code>%s</code></div>" % (
_('Please configure a MercadoPago Webhook to the following endpoint in order '
'to automatically cancel orders when payments are refunded externally.'),
build_global_uri('plugins:pretix_mercadopago:webhook')
build_absolute_uri(request.event, 'plugins:pretix_mercadopago:webhook')
)

if self.event.currency is not self.settings.get('currency'):
Expand Down

0 comments on commit f004768

Please sign in to comment.