I've produced a payment gateway that processes transactions on the remote server. After effective payment, I'm trying to redirect the applying to a personalized 'success' page. However, I am unable to find any documentation regarding how to do that.

What code do have to perform to initialize the primary template used? And just how will i then have an HTML segment? The developer documentation is extremely sparse. Any help could be great.

Thanks.