From e9521a495495913f1177e7c1d988539e072273bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reinhard=20M=C3=BCller?= Date: Wed, 11 Feb 2026 17:14:06 +0100 Subject: [PATCH] Add a separate payment template for promo orders So we can have a slightly different wording on the page (which is only visible for clients without Javascript) and also use the standard donation thankyou page instead of the merchandise order thankyou page. --- fsfe.org/cgi-bin/promotion.php | 2 +- .../spreadtheword-tmpl-payment.en.xhtml | 57 +++++++++++++++++++ 2 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 fsfe.org/contribute/spreadtheword-tmpl-payment.en.xhtml diff --git a/fsfe.org/cgi-bin/promotion.php b/fsfe.org/cgi-bin/promotion.php index d80c83247c..26c1af449f 100755 --- a/fsfe.org/cgi-bin/promotion.php +++ b/fsfe.org/cgi-bin/promotion.php @@ -227,7 +227,7 @@ curl_close($curl); if (isset($_POST['donate']) && ((int) $_POST['donate']) >= 10) { $replace = array(':AMOUNT:', ':EMAIL:', ':REFERENCE:'); $with = array($_POST['donate'], $_POST['mail'], $_POST['donationID']); - $contents = file_get_contents($_SERVER['DOCUMENT_ROOT']."/order/tmpl-thankyou." . $lang . ".html"); + $contents = file_get_contents($_SERVER['DOCUMENT_ROOT']."/contribute/spreadtheword-tmpl-payment." . $lang . ".html"); echo str_replace($replace, $with, $contents); } else { // DEBUG: Comment out next line to be able to see errors and printed info diff --git a/fsfe.org/contribute/spreadtheword-tmpl-payment.en.xhtml b/fsfe.org/contribute/spreadtheword-tmpl-payment.en.xhtml new file mode 100644 index 0000000000..1a2060dd00 --- /dev/null +++ b/fsfe.org/contribute/spreadtheword-tmpl-payment.en.xhtml @@ -0,0 +1,57 @@ + + + 1 + + + Thank you for your donation! + + + +

Contribute

+ +

Thank you for your donation!

+ +

+ Thank you for offering a donation of €:AMOUNT: for your + promotion material order. +

+ +

+ You can now make your donation online through various credit and debit + cards or through PayPal. +

+ +
+ + + +
+ + + +

+ In case you prefer to donate by bank transfer, please use the following + data: +

+ +

+ Recipient: Free Software Foundation Europe e.V.
+ Address: Revaler Straße 19, 10245 Berlin, Germany
+ IBAN: DE47 4306 0967 2059 7908 01
+ Bank: GLS Gemeinschaftsbank eG, 44774 Bochum, Germany
+ BIC: GENODEM1GLS
+ Amount: :AMOUNT:
+ Payment reference: :REFERENCE: +

+ + + no +