ASPX and Paypal

HiI'm not an aspx programmer but I am trying to get our software to link through a Buy page to Paypal then back, supplying a code by email to the user. I am using the standard LimeLM VB aspx pages, and I can get to a Buy page, link to a Paypal page (sandbox and real), and buy the software. I get returned to my pat_thankyou.aspx page but no codes are generated and no emails are received. Can anyone guess where I have gone wrong? I can upload any code you need.

Neil

Hey Neil, the way to debug this is to debug it in Visual Studio by adding a few breakpoints to the "ValidatePP()" function in paychecker.aspx.vb.

Also, make sure your "CheckScript" variable in PaymentSettings.vb is set to a website that is publicly available. (Also verify the other variables in PaymentSettings.vb)

I've tried breakpoints - the ValidatePP routine is never called, as far as I can tell. I'm running it from within vs2010, and also from our server www.miccant.com/Neil/payments.aspx. Checkscript is set to "http://www.miccant.com/Neil/paychecker.aspx".

Add a breakpoint to the the first function on that page. Then access the page in your browser. Does the breakpoint get hit? If so, then proceed with an actual payment and wait for the page to be hit by PayPal. Then step through the code until you find out what's wrong.

Tried that - I have breakpoints on the first lines of all functions. They get called till I hit the Paypal page, then nothing. Does our website need any extra debug files uploaded or anything like that? Or any explicit web addresses coded rather than www.miccant.com/Neil/

All the callback urls are set in the PaymentSettings file.

Use PayPal's IPN debugging tool to get to the bottom of this. See: IPN Testing