Posted on: 11/10/2013 7:53:13 PM | Views : 799

Hi all!
My application has a registration page.  I am using Paypal Standard as a payment gateway.  When a user fills out the registration page and clicks the 'Pay Now' button to go to Paypal, the registration information is lost.  I found information on:  http://msdn.microsoft.com/en-us/library/6c3yckfw(v=vs.100).aspx about PreviousPageTypes.  I set up a Successful.aspx page to redirect back to once the payment is successful. I followed the example on the link, but it is giving me an error message:  Object reference not set to an instance of an object.


Public Class Successful Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load lbl_FirstName.Text = PreviousPage.FirstName End Sub End Class
...

Go to the complete details ...