Etisalat Payment Gateway Integration with wix website
The document provides the interface information to Integrate with Etisalat Payment Gateway to
perform Ecommerce payment using REST (JSON).
1. The Registration API call should be triggered to payment gateway in which the ReturnPath
property with Transaction details like amount, currency, OrderID etc. should be mentioned.
2. Redirect to Payment Portal URL, returned in Register call with TransactionID as hidden field.
3. Payer will proceed with 3D Secure Authentication process.
4. After 3D Authentication, control will returned back to Merchant’s ReturnPath property URL
received in registration call.
5. Merchant sends Finalization API call to complete transaction.
import {fetch} from 'wix-fetch';
// ...
fetch("https://ipg.comtrust.ae/", {"method": "get"})
.then( (httpResponse) => {
if (httpResponse.ok) {
return httpResponse.json();
} else {
return Promise.reject("Fetch did not succeed");
}
} )
.then(json => console.log(json.someKey))
.catch(err => console.log(err));
Number (number)
Description: Running order number.
Type: Number
Type: Number
Can connect to data: Yes
Can use in dynamic page URL: Yes
Can be sorted: Yes
Can be filtered: eq, ne, hasSome, le, lte, gt, gte
Can use in dynamic page URL: Yes
Can be sorted: Yes
Can be filtered: eq, ne, hasSome, le, lte, gt, gte
Read-only: Yes
ID (_id)
Description: The ID of the order. This is a system field and is hidden by default.
Type: Text
Can connect to data: Yes
Can use in dynamic page URL: No
Can be sorted: Yes
Can be filtered: eq, ne, hasSome, contains, startsWith
Read-only: Yes
Type: Text
Can connect to data: Yes
Can use in dynamic page URL: No
Can be sorted: Yes
Can be filtered: eq, ne, hasSome, contains, startsWith
Read-only: Yes
wixData.query("Stores/Orders")
.find()
.then( (results) => {
// handle the results
} );
lalityadav99999@gmail.com
skype id: lalit.yadavswd
Phone: +91-9015079893
Comments
Post a Comment