I'm trying to develop an application with paypal and fsockopen
may be a solution with curl instead ?
I have a page with a form on the site where users enter the id number, mark checkboxes beside the agreement and enter an email address as their username.
After user submits the form it posts back to the script on my server to parse the information entered in the form and if everything is ok script takes him/her directly to the PayPal screen (using fsockopen).
Technical flow:
Form -> submit -> Script parses form input -> if no errors -> fsockopen(¡¥paypalpath.com¡¦,80) -> display fsockopen() output
First:
Paths to StyleSheet and one JavaScript include files are screwed up ¡V because they are relative (no https://www.paypal.com/ included in path)
Two:
Fsockopen() always opens the registration screen even if user has paypal cookie installed (because being called from server and not users browser)
Three:
It also gives me a JavaScript error which I can¡¦t find ƒ¼
Four:
I want path to paypal be displayed in the url string. Sort of initiate a post request from users browser with my variables