Hello,
I have an application which calls a control module to pass invoice data to PayPal. It successfully works in development - I press the PayPal button and the initial PayPal web page pops up asking to login to PayPal or process a credit card.
When I move the project to my production website (Godaddy), I press the PayPal button on the control application and nothing happens. I get a blank screen with no error or return information. I’ve put in several echo statements in the paypal.class.php file under the submit_paypal_post() function. I can see it gets to this function but then nothing happens (I have an echo after the call to paypal but it doesn’t display on my webpage).
Any idea what is going on here? I cannot figure out why it doesn’t work in production.
Is it some kind of bug in scriptcase?
I tried to enter the following order on paypal.class.php but it didn’t work.
This is the new code in paypal.class.php (submit_paypal_post() function):
echo “<form method=“post” name=“form” target=”_blank" action="".$this->paypal_url."">
" ;
Also it displayed the following error
Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in /home/a8yht/public_html/_lib/lib/php/paypal/paypal.class.php on line 134
How can I make it work? Let me know about any ideas.
Thank you.