no sweat, i realize its not the most recognizable solution, but I thought it would be cool to see who is trying to cheat, so letting them get away with the easy part was worth it to me if they cheat that part, they will try and cheat in other ways, as an admin its nice to have the option to rid the list of these people.I need to learn to read more carefully. Sorry.
$fp = fsockopen ('ssl://www.paypal.com', 443, $errno, $errstr, 30);
$fp = fsockopen ('ssl://www.sandbox.paypal.com', 443, $errno, $errstr, 30);
One more step,Yes there is. Find the file named user_premium.php in the folder sources/user_cp/ and find this line:
then modify to:PHP:$fp = fsockopen ('ssl://www.paypal.com', 443, $errno, $errstr, 30);
Upload modified file to the server and in the admin CP goto Premium settings and change the paypal email to the paypal sandbox email. After you finished all your testing change everything back as it was.PHP:$fp = fsockopen ('ssl://www.sandbox.paypal.com', 443, $errno, $errstr, 30);
PS: Before you modify anything make a backup of the file.
<form name="pp_value" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<form name="pp_value" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">