Method | Description | |
---|---|---|
GenerateSignature ( string appKey, string appSecret, string orderId, System.DateTime utcTimestamp ) : string | ||
UnixEpochTime ( System.DateTime utcTime ) : long | ||
VerifyCallbackSignature ( string appSecret, string receivedCallbackSignature, string receivedCheckoutId, decimal receivedAmount ) : bool |
Method | Description | |
---|---|---|
GetHmacsha1InHex ( string key, string data ) : string |
public static GenerateSignature ( string appKey, string appSecret, string orderId, System.DateTime utcTimestamp ) : string | ||
appKey | string | |
appSecret | string | |
orderId | string | |
utcTimestamp | System.DateTime | |
return | string |
public static UnixEpochTime ( System.DateTime utcTime ) : long | ||
utcTime | System.DateTime | |
return | long |
public static VerifyCallbackSignature ( string appSecret, string receivedCallbackSignature, string receivedCheckoutId, decimal receivedAmount ) : bool | ||
appSecret | string | |
receivedCallbackSignature | string | |
receivedCheckoutId | string | |
receivedAmount | decimal | |
return | bool |