1,105,208 Community Members

Redirect and Paypal

Member Avatar
vingan
Newbie Poster
8 posts since Nov 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi,

I have created an order form with the required fields in that i have two options, one to access the site for free and the other to be a member which requires payment. On the drop-down, I have set the member option to go to paypal page. My question now is how do I send all the information that was filled in the contact form to be sent to my email before the redirect occurs.

Any help will be appreciated.

Thanks

Member Avatar
pikpik
Newbie Poster
9 posts since Nov 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi vingan,

One way would be to submit the form to a page for server-side processing on your server. That page could then e-mail you a report containing the desired information. Once that's done, the server-side page could submit the required information to PayPal, to continue with the order processing.

Member Avatar
TomH.PG
Junior Poster in Training
52 posts since Sep 2010
Reputation Points: 1 [?]
Q&As Helped to Solve: 7 [?]
Skill Endorsements: 0 [?]
 
0
 

You'll need to post to your own form script first, and then that needs to generate a new hidden form that auto-posts to PayPal and preferably implements IPN. There are a number of existing PHP scripts etc that implement this that you can probably do a drop-in replacement with such as https://github.com/Quixotix/PHP-PayPal-IPN

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article