File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1+ {{ $defaultChallengeUrl := printf "%s/altcha/challenge.php" site.Params.legacyApiUrl }}
12< altcha-widget
2- challengeurl ="{{ site.Params.legacyApiUrl }}/altcha/challenge.php "
3+ challengeurl ="{{ .challengeUrl | default $defaultChallengeUrl }} "
34 hidelogo
45 hidefooter
56 floating ="auto "
Original file line number Diff line number Diff line change 4848 {{ i18n "donate_creditcard_once_paynow" }}
4949 </ button >
5050
51- {{ partial "captcha.html" (dict "captchaPayload" "oneTimePaymentStatus.captcha" "captchaState" "captchaState") }}
51+ {{ $challengeUrl := printf "%s/donations/stripe/payments/challenge" .Site.Params.apiBaseUrl }}
52+ {{ partial "captcha.html" (dict "challengeUrl" $challengeUrl "captchaPayload" "oneTimePaymentStatus.captcha" "captchaState" "captchaState") }}
5253
5354 < p class ="text-sm text-red-600 mt-2 " x-text ="oneTimePaymentStatus.errorMessage "> </ p >
5455 </ div >
You can’t perform that action at this time.
0 commit comments