e107 Gold :: Forums :: Gold System Forums :: Problems - Gold System Bug Discussion |
|
<< Previous thread | Next thread >> |
What did I do wrong with paypal? |
Moderators: Main Admin, =Johnny=, Gold Father, raziel23x, 2dopey, schlrech, nlstart, gary231178, SimonP, fivestar, ^Shei^
|
Author | Post | ||
![]() |
| ||
Send a present to this user View their 0 presents View their 0 assets | In config I write: Unit cost: 1 Amount of gold per unit: 25000 I want that for every euro give to my user 25.000g. What should I write? | ||
Back to top | |||
![]() |
| ||
Send a present to this user View their 0 presents View their 0 assets | any idea? | ||
Back to top | |||
![]() |
| ||
Revd Baz![]() Send a present to this user View their 17 presents View their 3 assets ![]() | That should be exactly right 1 euro for 25000 gold [ image disabled ] | ||
Back to top | |||
![]() |
| ||
Send a present to this user View their 0 presents View their 0 assets | Unit cost: 1 / Amount of gold per unit: 25000 give to my users 1g. for every €. If you donate 1€ give you 1g., if 2€ give you 2g.... | ||
Back to top | |||
![]() |
| ||
Send a present to this user View their 0 presents View their 0 assets | I think I see the problem right away here. It is within the paypal.php file. Here is how I see it for the version I've got (and I have the same problem) Line 60 of paypal.php $gold_param[' gold_amount'] = ($payment_amount * $GOLD_PREF[' buy_gold_cost'] ); The part on line 60 says the above statement. So if you look at it and break it down logically it explicitly says this: $payment_amount = How much they spent $GOLD_PREF[' buy_gold_cost'] = How much it costs for your gold. That's the error right there!! So if they spent 1Euro they get 1Euro! Instead of "buy_gold_cost" it should be "buy_gold_perunit" Am I right father?? | ||
Back to top | |||
![]() |
| ||
Send a present to this user View their 0 presents View their 0 assets | Please, can someone fix this bug? | ||
Back to top | |||
![]() |
| ||
Stay strong![]() Send a present to this user View their 0 presents View their 0 assets | yep this is same for me , and also i just bought golds here in father site. for one pound i got 1 gold ![]() Can someone fix this , this is the main problem definitely | ||
Back to top | |||