fix: PayPal prices must be with a dot, not with a comma

This commit is contained in:
Martin Ambrus
2017-10-04 09:25:28 +02:00
parent 450b1890d9
commit 65fd25e1aa
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ $name = $session->uid;
<!-- Specify details about the item that buyers will purchase. -->
<input type="hidden" name="item_name" value="<?php echo SERVER_NAME . ' Package A Gold Pack'; ?>">
<input type="hidden" name="amount" value="<?php echo PLUS_PACKAGE_A_PRICE; ?>">
<input type="hidden" name="amount" value="<?php echo str_replace(",", ".", PLUS_PACKAGE_A_PRICE); ?>">
<input type="hidden" name="currency_code" value="<?php echo PAYPAL_CURRENCY; ?>">
<!-- Display the payment button. -->
+1 -1
View File
@@ -111,7 +111,7 @@ $free = $session->uid;
<!-- Specify details about the item that buyers will purchase. -->
<input type="hidden" name="item_name" value="<?php echo SERVER_NAME . ' Package B Gold Pack'; ?>">
<input type="hidden" name="amount" value="<?php echo PLUS_PACKAGE_B_PRICE; ?>">
<input type="hidden" name="amount" value="<?php echo str_replace(",", ".", PLUS_PACKAGE_B_PRICE); ?>">
<input type="hidden" name="currency_code" value="<?php echo PAYPAL_CURRENCY; ?>">
<!-- Display the payment button. -->
+1 -1
View File
@@ -111,7 +111,7 @@ $free = $session->uid;
<!-- Specify details about the item that buyers will purchase. -->
<input type="hidden" name="item_name" value="<?php echo SERVER_NAME . ' Package C Gold Pack'; ?>">
<input type="hidden" name="amount" value="<?php echo PLUS_PACKAGE_C_PRICE; ?>">
<input type="hidden" name="amount" value="<?php echo str_replace(",", ".", PLUS_PACKAGE_C_PRICE); ?>">
<input type="hidden" name="currency_code" value="<?php echo PAYPAL_CURRENCY; ?>">
<!-- Display the payment button. -->
+1 -1
View File
@@ -85,7 +85,7 @@ $free = $session->uid;
<!-- Specify details about the item that buyers will purchase. -->
<input type="hidden" name="item_name" value="<?php echo SERVER_NAME . ' Package D Gold Pack'; ?>">
<input type="hidden" name="amount" value="<?php echo PLUS_PACKAGE_D_PRICE; ?>">
<input type="hidden" name="amount" value="<?php echo str_replace(",", ".", PLUS_PACKAGE_D_PRICE); ?>">
<input type="hidden" name="currency_code" value="<?php echo PAYPAL_CURRENCY; ?>">
<!-- Display the payment button. -->
+1 -1
View File
@@ -56,7 +56,7 @@ $free = $session->uid;
<!-- Specify details about the item that buyers will purchase. -->
<input type="hidden" name="item_name" value="<?php echo SERVER_NAME . ' Package E Gold Pack'; ?>">
<input type="hidden" name="amount" value="<?php echo PLUS_PACKAGE_E_PRICE; ?>">
<input type="hidden" name="amount" value="<?php echo str_replace(",", ".", PLUS_PACKAGE_E_PRICE); ?>">
<input type="hidden" name="currency_code" value="<?php echo PAYPAL_CURRENCY; ?>">
<!-- Display the payment button. -->