Support Services

How can clients be returned to a custom page after making a payment?

You can arrange for clients to be returned to a custom page after a transaction in one of the following two ways:

  1. pg_continue_url: After any payment has been completed Pass or Fail, Forte will direct the client to this URL after he/she clicks the Continue button. If the merchant has specified a valid return URL, this field is ignored.
    <html>
    <form method='post' action= 'https://swp.paymentsgateway.net/default.aspx'>
    <table cellSpacing='0' cellPadding='0' border='0'><tr><td align='right' width='300'></td>
       <td align='left' width='200'><input type='hidden' name='pg_api_login_id' value='b743eomgg5'/></td>
         </tr><tr><td align='right' width='300'></td>
       <td align='left' width='200'><input type='hidden' name='pg_continue_url' value='http://www.somewebsite.com/page.aspx'/></td>
         </tr><tr><td align='right' width='300'></td>
       <td align='left' width='200'><INPUT TYPE=SUBMIT value='Pay Now'>
       <br>
       </td>
         </tr>
    </table>
    </form>
    </html>



  2. pg_return_url: This is the page Forte returns the customer to after a transaction has completed. This page should contain a server-side script to parse the data being posted to it; however, it can be a static HTML page as well. If this field is not set or is invalid, the entire transaction is done on the Payments Gateway. In order to be a valid return URL, the value sent must match at least one of the values in the Virtual Terminal.
    <html>
    <form method='post' action= 'https://swp.paymentsgateway.net/default.aspx'>
    <table cellSpacing='0' cellPadding='0' border='0'><tr><td align='right' width='300'></td>
       <td align='left' width='200'><input type='hidden' name='pg_api_login_id' value='b743eomgg5'/></td>
         </tr><tr><td align='right' width='300'></td>
       <td align='left' width='200'><input type='hidden' name='pg_return_url' value='http://www.somewebsite.com/page.aspx'/></td>
         </tr><tr><td align='right' width='300'></td>
       <td align='left' width='200'><INPUT TYPE=SUBMIT value='Pay Now'>
       <br>
       </td>
         </tr>
    </table>
    </form>
    </html>




Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.