Package DE_EPAGES::RealexPayment::API::Payment
Payment functions for RealexPayment.
@EXPORT_OK |
Functions
CreateOrderHash
creates the OrderHash from the given Input-Arguments and the CPI Secret
Syntax |
$OrderHash = CreateOrderHash( {'OrderId' => '123456', 'CpiDirectResultUrl' => '...'} 'dP/7KdtiuALL8ofLqCjlKDK7NBNfbmCa' ); |
Input |
|
Return |
|
GetRealexSha1Hash
Concatenates all strings in $aFieldArray. A '.' is as used delimeter symbol between the fields. For this string a SHA1 hash value is generated. The generated hash value is appended with a '.' and the shared secret to produce a new string. For this new string a SHA1 hash value is generated and returned as result.
Syntax |
GetRealexSha1Hash( $aFieldsArray, $sharedSecret ); |
Example |
$sha1Hash = GetRealexSha1Hash( ['field1', 'field2'], 'sharedSecret' ); |
Input |
|
Return |
|
UpdateTransactionStatus
Update TransStatus, TransTime, TransTimeMod and returns upated values.
Syntax |
UpdateTransactionStatus( $LineItemPayment ); |
Example |
$hValues = UpdateTransactionStatus( $LineItemPayment ); |
Input |
|
Return |
|