Casheer BH
  • Introduction
  • Integration Steps
  • Types of Integration
    • 1. Standard Pay
    • 2. Plugins
    • 3. SDK
  • Sample Code
    • 1. Get Payment URL
    • 2. Redirect to Payment URL
    • 3. Callback To Merchant Portal
    • 4. Compute HASH
  • Parameters & Description
  • Payment Methods
  • Test Cards
  • Download Plugins/SDK
  • Modules Setup Guides
    • WooCommerce
    • Drupal Commerce
    • OpenCart
    • Magento 1
    • Magento 2
    • PrestaShop
    • Joomla
    • WHMCS
Powered by GitBook
On this page
  1. Sample Code

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
Previous1. Get Payment URLNext3. Callback To Merchant Portal