Skip to content

Commit

Permalink
Use new Galette 1.1.0 debug
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Jun 18, 2024
1 parent bba173a commit 5bcfad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/paypal_form.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

{% block content %}
{% if paypal.isLoaded() and paypal.getId() != null %}
<form action="{% if constant('GALETTE_MODE') == 'DEV' %}https://www.sandbox.paypal.com/fr/cgi-bin/webscr{% else %}https://www.paypal.com/cgi-bin/webscr{% endif %}" method="post" id="paypalform" class="ui form">
<form action="{% if callstatic('\\Galette\\Core\\Galette', 'isDebugEnabled') %}https://www.sandbox.paypal.com/fr/cgi-bin/webscr{% else %}https://www.paypal.com/cgi-bin/webscr{% endif %}" method="post" id="paypalform" class="ui form">
<div class="ui top attached accordion-styled header">
{% if amounts|length == 0 %}
{{ _T("Enter payment reason", "paypal") }}
Expand Down

0 comments on commit 5bcfad6

Please sign in to comment.