Thank you
I don’t really get it with all the reports and stuff with your server, my server, etc.
i’m at the begginning with php programming and I don’t really know all the stuff.
Basically I want to do the following thing:
The user pays for some game points in my game, they do the proces like in your pay.php from the example script… and then I want to give them the points after the payment is complete.
My first thought was to implement in the pages/4-paid.php the query to give the point, but I thought that they may try refreshing the page and then they get huderds of points for one pay.
Then I tried to add into a new table in the pay.php
this:
// mysql_query(“INSERT INTO `payment` (payment_id, status, datetime) VALUES (‘{$ZayPay->getPaymentId()}’, ‘prepared’, NOW”);
but When I get to the payment step (where that string should go) I get a strange error.:
Notice: Undefined variable: ZayPay in /home/sites/easternmob.com/public_html/pay/pay.php on line 51
Fatal error: Call to a member function getPaymentId() on a non-object in /home/sites/easternmob.com/public_html/pay/pay.php on line 51
That variable should be in the class, it is there but still I get this error.
So
How much would it cost me to have a script done to do what I want?
Because It seems I don’t manage to do it by myself.
Thank you