22
Views
6
Comments
Solved
Make a Payment with eGHL
Question

Hello, I have the Payment Test URL (not for click):  (this staging URL is to link between your website and eGHL payment page.) 

Also, I am Having 

MerchantName

MerchantID

MerchantPassword

Amount  

I want to pass this much information from Payment URL to eGHL

anyone know how can I achieve this

Solution

Hi Nihil,

Actually every payment gateway has it own structure and technique that used to communicate with payment gateway so you should have user guide of the payment gateway you will use and study it well to understand input and output parameters and most of payment gateways request some of input parameters to be encrypted using encryption mechanism they are using.

Kindly find attached OML which may help you how to call external URL from OutSystems and how to save some values into site properties and use them. 

URLRedirection.oml

Hello Nihil,

You should got user guide including staging URL, what are the parameters with their exact names and their values data type, also same for output parameters that will be sent from payment gateway to your application.

You can build URL dynamically inside your application as string then use External site redirection widget and set URL parameter to string that you created 

can you please share Demo OML file with me?

Solution

Hi Nihil,

Actually every payment gateway has it own structure and technique that used to communicate with payment gateway so you should have user guide of the payment gateway you will use and study it well to understand input and output parameters and most of payment gateways request some of input parameters to be encrypted using encryption mechanism they are using.

Kindly find attached OML which may help you how to call external URL from OutSystems and how to save some values into site properties and use them. 

URLRedirection.oml

How can we accept the response that is coming from GHL, which is either payment successful or failed?

It should be one of input parameters that you will send to payment gateway named like ReturnURL or something similar. The value of this parameter should be URL of one of the pages of your application that will get response from payment gateway and handle it.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.