Skip to content

Commit

Permalink
PSPAYPAL-815 add bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
René Gust committed Dec 16, 2024
1 parent 0f3bf59 commit 95f46cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/twig/frontend/paymentbuttons.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% set aid = "" %}
{% endif %}
{% set sToken = oViewConf.getSessionChallengeToken() %}
const selfLink = "{{ oViewConf.getSslSelfLink()|raw }}";
var selfLink = selfLink || "{{ oViewConf.getSslSelfLink()|raw }}";
{% if buttonId == "oscpaypal_sepa" or buttonId == "oscpaypal_cc_alternative" %}
FUNDING_SOURCES = [
paypal.FUNDING.{% if buttonId == "oscpaypal_sepa" %}SEPA{% elseif buttonId == "oscpaypal_cc_alternative" %}CARD{% endif %}
Expand Down

0 comments on commit 95f46cb

Please sign in to comment.