killie01
killie01

Reputation: 263

Using Paypal and ASP.Net

I have 2 websites, one of them just plain HTML and php, the other one asp.net. The problem is, i want to use the PHP website with the paypal buttons to sell my product. Then they get redirected (after successfull payment) to the asp.net website, where they can create an account. That page should be able to get all the custom variables from the paypal redirect, but i don't want them to be visible in the URL.

Is this possible? And if not, any suggestions?

Upvotes: 0

Views: 457

Answers (2)

Aleksej Vasinov
Aleksej Vasinov

Reputation: 2797

You will receive all necessary data from PayPal to URL, specified as return URL. Validate these values and that's all :)

Upvotes: 2

King Friday
King Friday

Reputation: 26106

PayPal has an API for this that is not about passing variables around.

This is the Express Checkout option you are speaking of.

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_ECGettingStarted

You define a callback URL that will provide you with that information.

I have a library to do this for KitGUI.com but its not open source.

Upvotes: 1

Related Questions