Page 1 of 1
Using PHP
Posted: Sun Jul 30, 2006 11:33 am
by silvester
feyd | Please use Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
[color=red][b]feyd[/b] | Please use
Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Posted: Sun Jul 30, 2006 11:53 am
by RobertGonzalez
What is or isn't happening to lead you to believe it isn't working? Are you getting any error messages? Please give a few more details.
Posted: Sun Jul 30, 2006 12:04 pm
by silvester
PayPal's page is opened inside my checkout page (the url is not changed) and the following Paypal error page appears.
My point of using cURL is to submit the details to paypal automatically without using javascript and not having to add an extra button so the client redirects to paypal. Is there any other way to submit to paypal without using javascript or adding a button?
Code: Select all
You must log in before you access this page.
We are sorry this page cannot be displayed. To access it, please complete the following steps:
If this message appeared after you clicked on a link in an email, please copy and paste the desired URL into a new browser window.
If this fails and you are using Internet Explorer Version 6, follow the steps below to change your browser's cookie setting:
In Internet Explorer, click on the Tools menu and then Internet Options.
Click Privacy and then click Advanced.
Click Override default settings, and then specify how you want Internet Explorer to handle cookies from first-party websites.
If you are using a browser that is not Internet Explorer Version 6, please refer to the "Help" section and follow the instructions to enable cookies.
If you have attempted all of the above and are still experiencing problems, you may contact PayPal Customer Service at the following page:
https://www.paypal.com/contactus.
Message 3014
Posted: Sun Jul 30, 2006 12:07 pm
by RobertGonzalez
So Paypal is telling you that you need to login. I think you can use cURL, but I think that there is a Paypal API that you can use also.
Posted: Sun Jul 30, 2006 12:19 pm
by silvester
OK, but why is Paypal's page opening inside my checkout page? My checkout page's url has not changed to paypal's (paypal's page appears inside my site).
Is there any PHP function to open a url?
Posted: Sun Jul 30, 2006 12:52 pm
by RobertGonzalez
The only thing I can think of is that this is a response to the request you are making to the Paypal server when you cURL into it. I am guessing that there is a trigger somewhere that is returned for you, the developer, to be able to distinguish what took place with the transaction. It might that the error is the return. But I am totally not sure.
Posted: Tue Aug 01, 2006 2:09 pm
by silvester
I have searched quite a bit but canot find a single page which describes how to submit payment details to PayPal without using not a single line of JavaScript.
I tried using cURL but it seems that it will not redirect the customer to the
http://www.paypal.com url. Is this correct? Or am I using cURL incorrectly ?
Can anyone recommend me an IPN that does not use JavaScript?
Posted: Wed Aug 02, 2006 8:30 pm
by RobertGonzalez
What do the Paypal API docs say?
Posted: Fri Aug 04, 2006 11:40 am
by silvester
I'm trying to download the PHP version of the PayPal SDK supposedly found on the following url but none of the files can be downloaded. I can't find any other place to download it, can anyone help ?
https://www.paypal.com/IntegrationCente ... ource.html