PayPal Implementation Problem

Hi:
I am implementing PayPal into my website. I have taken their html code and pasted it into an html viewer. When I run the program and click on the PayPal button, it takes me to their website.

This creates a problem. The user is paying for a report. How do I return to my website and with the knowledge that the user could pay for the report and send it?

According to PayPal (https://developer.paypal.com/docs/integration/web/web-checkout/) there is a “Return URL” so that the user is returned to my website.

When I return to my website, it is to the start page and all information related to the user’s request is gone. My site uses several different pages. How do I return to a specific page, and how do I save the information while the user was at PayPal?

Thanks!

Look at HandleSpecialURL.

[quote=169921:@Stuart Travis]Hi:
I am implementing PayPal into my website. I have taken their html code and pasted it into an html viewer. When I run the program and click on the PayPal button, it takes me to their website.

This creates a problem. The user is paying for a report. How do I return to my website and with the knowledge that the user could pay for the report and send it?

According to PayPal (https://developer.paypal.com/docs/integration/web/web-checkout/) there is a “Return URL” so that the user is returned to my website.

When I return to my website, it is to the start page and all information related to the user’s request is gone. My site uses several different pages. How do I return to a specific page, and how do I save the information while the user was at PayPal?

Thanks![/quote]

You can set the page Paypal returns to in your Profile, in Hosted Payment Settings/Website Payment Settings. When the customer comes back, Paypal returns all information through URL encoded fields. Amount, SKU, etc.