summaryrefslogtreecommitdiff
path: root/src/frontend/checkout.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/checkout.php')
-rw-r--r--src/frontend/checkout.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frontend/checkout.php b/src/frontend/checkout.php
index 061f2028..2165beaa 100644
--- a/src/frontend/checkout.php
+++ b/src/frontend/checkout.php
@@ -46,11 +46,14 @@
// get the donation information from form
$donation_receiver = $_POST['donation_receiver'];
$donation_amount = $_POST['donation_amount'];
+ $donation_currency = $_POST['donation_currency'];
// create PHP session and store donation information in session
session_start();
$_SESSION['receiver'] = $donation_receiver;
$_SESSION['amount'] = $donation_amount;
+ $_SESSION['currency'] = $donation_currency;
+ echo $donation_currency;
?>
<form name="tform" action="" method="POST">