Response (Redirect)
System will redirect to Merchant's Confirmation or thank you page (based on RedirectUrl pass in) upon transaction completed.
After merchant receive the response from redirect url, it is advisable to perform Enquiry API for more payment information details needed.
Response (Redirect)
| Field Name | Data Type (Len) | M/O | Description |
|---|---|---|---|
| RecurringStatus | Integer | M | Recurring Status. (Refer to Appedix 4 - Recurring Status) |
| MerchantID | String (50) | M | Unique merchant's identification assigned to each merchant by Share Commerce. |
| MerchantOrderNo | String (50) | M | Unique identifier or order number generated by merchant, use it to track Recurring and subsequent cycle payment details. |
| RecurringAmount | Decimal (18,2) | M | Recurring amount. |
| TxnRefNo | String (50) | M | Unique reference of a transaction, generated by system. |
| Versioning | Integer | M | API Versioning. Kindly put value as 2 |
| SCSign | String | M | Data signature. |
Response (Redirect) Sample
https://[MerchantRedirectUrl]?RecurringStatus=1
&MerchantID=MID001
&MerchantOrderNo=RecurringPayment_001
&RecurringAmount=15.00
&TxnRefNo=8F4870839A761AB84B
&Versioning=2
&SCSign=cc47c6d7b1090fcf682042efadc338127d391b3cb16451ef9ec44df6f3c09e9b
*Note, above is one line string url.
SCSign Calculation
SCSign signature calculation, will concat all the above Parameter Field's value (in sequence), and calculate with HMACSHA256 algorithm.
*The SCSign can be retrieve from Query String parameters.
Secret Key : mSuE3Ttn5B8vJhe5ncMutMLV
Response Sign String (Example)
1MID001RecurringPayment_00115.008F4870839A761AB84B2
SCSign (Calculated Value)
cc47c6d7b1090fcf682042efadc338127d391b3cb16451ef9ec44df6f3c09e9b