mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-17 15:47:16 +00:00
fix: PayPal prices must be with a dot, not with a comma
This commit is contained in:
@@ -113,7 +113,7 @@ $name = $session->uid;
|
|||||||
|
|
||||||
<!-- Specify details about the item that buyers will purchase. -->
|
<!-- 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="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; ?>">
|
<input type="hidden" name="currency_code" value="<?php echo PAYPAL_CURRENCY; ?>">
|
||||||
|
|
||||||
<!-- Display the payment button. -->
|
<!-- Display the payment button. -->
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ $free = $session->uid;
|
|||||||
|
|
||||||
<!-- Specify details about the item that buyers will purchase. -->
|
<!-- 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="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; ?>">
|
<input type="hidden" name="currency_code" value="<?php echo PAYPAL_CURRENCY; ?>">
|
||||||
|
|
||||||
<!-- Display the payment button. -->
|
<!-- Display the payment button. -->
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ $free = $session->uid;
|
|||||||
|
|
||||||
<!-- Specify details about the item that buyers will purchase. -->
|
<!-- 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="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; ?>">
|
<input type="hidden" name="currency_code" value="<?php echo PAYPAL_CURRENCY; ?>">
|
||||||
|
|
||||||
<!-- Display the payment button. -->
|
<!-- Display the payment button. -->
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ $free = $session->uid;
|
|||||||
|
|
||||||
<!-- Specify details about the item that buyers will purchase. -->
|
<!-- 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="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; ?>">
|
<input type="hidden" name="currency_code" value="<?php echo PAYPAL_CURRENCY; ?>">
|
||||||
|
|
||||||
<!-- Display the payment button. -->
|
<!-- Display the payment button. -->
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ $free = $session->uid;
|
|||||||
|
|
||||||
<!-- Specify details about the item that buyers will purchase. -->
|
<!-- 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="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; ?>">
|
<input type="hidden" name="currency_code" value="<?php echo PAYPAL_CURRENCY; ?>">
|
||||||
|
|
||||||
<!-- Display the payment button. -->
|
<!-- Display the payment button. -->
|
||||||
|
|||||||
Reference in New Issue
Block a user