Structure

You can configure payment information, URL and etc through our console

Url

System will use this url to send back order information when customer chooses this payment method

Icon Url

System will use this icon url to display on payment method message

Payment gateway header (optional)

System will use provided payment gateway header when sending request back to provided URL

Payment gateway body (optional)

When system sends information back to provided URL. System has preset of these following information which you could choose.

Possible information that system provided

Field nameTypesDescription
$grandTotalnumber(10)Order’s grand total
$orderNumberstring(12)Order's number
$platformstring(15)Order's platform
$shippingPricenumber(10)Order's total shipping price
$statestring(30)Order's state
$totalPricenumber(10)Order's total price
$totalProductDiscountnumber(10)Order's total product discount price
$totalShippingDiscountnumber(10)Order's total shipping discount price
$vatOptionnumber(10)Order's vat options
$vatPricenumber(10)Order's vat price
$vatValuenumber(10)Order's vat value

Example for payment gateway body

// Order information
{
"orderNumber": "ON0000001",
"grandTotal": 1000,
"totalPrice": 934.58,
"shippingPrice": 100,
"totalProductDiscount": 0,
"totalShippingDiscount": 0,
"vatPrice": 65.42,
"vatValue": 7
}
// Payment gateway body
{
"orderNumber": "$orderNumber",
"grandTotal": "$grandTotal",
"source": "DEEPLE"
}
// Result
{
"orderNumber": "ON0000001",
"grandTotal": 1000,
"source": "DEEPLE"
}