diff --git a/data/stripe_products.yml b/data/stripe_products.yml index a677e540d..02af95e7d 100644 --- a/data/stripe_products.yml +++ b/data/stripe_products.yml @@ -1,39 +1,39 @@ - label: "€ 10.00" id: "eur:1000" - payment_link: "test_cN28zq9FF4KU5NebII" + payment_link: "https://donate.stripe.com/test_cN28zq9FF4KU5NebII" - label: "€ 20.00" id: "eur:2000" - payment_link: "test_bIY7vmaJJ2CM4Ja7st" + payment_link: "https://donate.stripe.com/test_bIY7vmaJJ2CM4Ja7st" - label: "€ 50.00" id: "eur:5000" - payment_link: "test_cN28zq9FF4KU5NebII" + payment_link: "https://donate.stripe.com/test_cN28zq9FF4KU5NebII" - label: "€ 100.00" id: "eur:10000" - payment_link: "test_bIY7vmaJJ2CM4Ja7st" + payment_link: "https://donate.stripe.com/test_bIY7vmaJJ2CM4Ja7st" - label: "€ 250.00" id: "eur:25000" - payment_link: "test_bIY7vmaJJ2CM4Ja7st" + payment_link: "https://donate.stripe.com/test_bIY7vmaJJ2CM4Ja7st" - label: "$ 10.00" id: "usd:1000" - payment_link: "test_cN28zq9FF4KU5NebII" + payment_link: "https://donate.stripe.com/test_cN28zq9FF4KU5NebII" - label: "$ 20.00" id: "usd:2000" - payment_link: "test_bIY7vmaJJ2CM4Ja7st" + payment_link: "https://donate.stripe.com/test_bIY7vmaJJ2CM4Ja7st" - label: "$ 50.00" id: "usd:5000" - payment_link: "test_cN28zq9FF4KU5NebII" + payment_link: "https://donate.stripe.com/test_cN28zq9FF4KU5NebII" - label: "$ 100.00" id: "usd:10000" - payment_link: "test_bIY7vmaJJ2CM4Ja7st" + payment_link: "https://donate.stripe.com/test_bIY7vmaJJ2CM4Ja7st" - label: "$ 250.00" id: "usd:25000" - payment_link: "test_bIY7vmaJJ2CM4Ja7st" + payment_link: "https://donate.stripe.com/test_bIY7vmaJJ2CM4Ja7st" diff --git a/themes/hugo-bulma-blocks-theme/assets/js/donate.js b/themes/hugo-bulma-blocks-theme/assets/js/donate.js index b687c6a84..a146b1a4c 100644 --- a/themes/hugo-bulma-blocks-theme/assets/js/donate.js +++ b/themes/hugo-bulma-blocks-theme/assets/js/donate.js @@ -2,7 +2,7 @@ function updatePaymentLink() { // set href to "Donate" button depending on selected value let paymentLink = document.getElementById('donate-stripe').querySelector('input[name="amount"]:checked').value; let donateBtn = document.getElementById('submit-button'); - donateBtn.href = "https://donate.stripe.com/" + paymentLink; + donateBtn.href = paymentLink; }; function updateCurrency() {