jimmymac Posted October 24, 2006 Share Posted October 24, 2006 Hi All, I am trying to get the user of a site to a download page via a payment success on the paypal module payment pages. I am from a java background and am looking at this for a friend, I know very little of php. I am thinking that the paypal module should be passed and handle a users session ID with the payment sum. After a sucessful payment the user would return to payment_sucess.php with the users session id appended on to the url. The problem is I do not know how OSCommerce hands over the customer to pay pal and then how pay pal can return the customer to the appropriate download page without a session id ? I must be missing somthing any help very welcome. Thanks Jim Link to comment Share on other sites More sharing options...
Guest Posted October 24, 2006 Share Posted October 24, 2006 Hi All, I am trying to get the user of a site to a download page via a payment success on the paypal module payment pages. I am from a java background and am looking at this for a friend, I know very little of php. I am thinking that the paypal module should be passed and handle a users session ID with the payment sum. After a sucessful payment the user would return to payment_sucess.php with the users session id appended on to the url. The problem is I do not know how OSCommerce hands over the customer to pay pal and then how pay pal can return the customer to the appropriate download page without a session id ? I must be missing somthing any help very welcome. Thanks Jim Jim, The return page is checkout_process.php this will redirect the customer to the payment success page. osc hands over the customer by the admin panel settings. Select paypal as a payment option. Tell paypal your return page is checkout_process.php on the paypal site in my account settings. Link to comment Share on other sites More sharing options...
Guest Posted October 24, 2006 Share Posted October 24, 2006 I too am having a similiar problem. I checked the forum in the "Bugs" section and found a contribution for Paypay IPN which is supposed to stop this problem, however I seem to not have it configured properly. I set up a Paypal "Sandbox" account and when I enter an order in my store and confirm the order to pay with Paypal, it goes to Sandbox, I log into it and that's as far as I get. I do not use a SSL, but there are several places to add certs. to in the module set up page that I have blank. Are these necessary to make this work and where do I get them if it is? Setsbill Hi All, I am trying to get the user of a site to a download page via a payment success on the paypal module payment pages. I am from a java background and am looking at this for a friend, I know very little of php. I am thinking that the paypal module should be passed and handle a users session ID with the payment sum. After a sucessful payment the user would return to payment_sucess.php with the users session id appended on to the url. The problem is I do not know how OSCommerce hands over the customer to pay pal and then how pay pal can return the customer to the appropriate download page without a session id ? I must be missing somthing any help very welcome. Thanks Jim Link to comment Share on other sites More sharing options...
♥Vger Posted October 24, 2006 Share Posted October 24, 2006 1. You install one of the Pay Pal modules in your osC admin area, and add your Pay Pal email address. 2. In your Pay Pal account it's advisable to turn on their Auto-Return feature, for which the return url is something like http://www.yourdomain.com/checkout_process.php 3. If downloads are enabled and the product is set up as a 'vitual' product, and the downloadable file has been uploaded to the 'downloads' folder then on the return from Pay Pal to Checkout Success (via Checkout Process) the customer will see a download link. It's this download link which is the valid link from which to download the file. Vger Hi All, I am trying to get the user of a site to a download page via a payment success on the paypal module payment pages. I am from a java background and am looking at this for a friend, I know very little of php. I am thinking that the paypal module should be passed and handle a users session ID with the payment sum. After a sucessful payment the user would return to payment_sucess.php with the users session id appended on to the url. The problem is I do not know how OSCommerce hands over the customer to pay pal and then how pay pal can return the customer to the appropriate download page without a session id ? I must be missing somthing any help very welcome. Thanks Jim Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.