2. Redirect to Payment URL

Once you got success in Step 1, then you need redirect to the Payment URL.

If Response.errorCode is 0 
then 
redirect to result.redirectURL
else
log Response.errorMessgae