I have a Try --> Catch --> End try
block in which I save input data to a database, send an email to the customer then (depending on payment type selected) transfer to PayPal or not.
The block works fine and catches errors properly.
The problem is that when I do a transfer to PayPal using a Response.Redirect, the browser transfers with no problem, but for some reason the Catch as Exception is triggered.
I know this because I have an email sent to me in the Catch routine.
I removed the Try-->catch to see if a real error was occuring but none occurred.
What's really odd is that on my local development machine, no Catch error is triggered, but when I load the code onto my remote server and try it I get the error email.......
Any ideas why this is occuring?
Thanks!!
block in which I save input data to a database, send an email to the customer then (depending on payment type selected) transfer to PayPal or not.
The block works fine and catches errors properly.
The problem is that when I do a transfer to PayPal using a Response.Redirect, the browser transfers with no problem, but for some reason the Catch as Exception is triggered.
I know this because I have an email sent to me in the Catch routine.
I removed the Try-->catch to see if a real error was occuring but none occurred.
What's really odd is that on my local development machine, no Catch error is triggered, but when I load the code onto my remote server and try it I get the error email.......
Any ideas why this is occuring?
Thanks!!