I need an asp.net sample using the notify_url with paypal to get the transaction details.
The following is code that works fine in calssic asp which paypal posts to.
But i can't seem to get it translated to asp.net.
Code Start>>>>
Dim payment_status, txn_id, custom, mc_gross
Dim objHttp, str
' read post from PayPal system and add 'cmd'
str = [login to view URL] & "&cmd=_notify-validate"
' post back to PayPal system to validate
set objHttp = [login to view URL]("[login to view URL]")
' Use sandbox for testing then change for production.
' "<[login to view URL]>"
' change to:
' "<[login to view URL]>"
[login to view URL] "POST", "<[login to view URL]>", false
[login to view URL] "Content-type", "application/x-www-form-urlencoded"
[login to view URL] str
' assign posted variables to local variables
payment_status = [login to view URL]("payment_status")
txn_id = [login to view URL]("txn_id")
mc_gross = [login to view URL]("mc_gross")
custom = [login to view URL]("custom")
Code Finish>>>>
Thanks
T