Package DE_EPAGES::TPay::API::Tools
Utility functions for TPay.
@EXPORT_OK |
Functions
CalculateHash
All data elements will be concatenated. The secret (fill up to 40 chars) will be appended afterwards. An sha hash calculation will be made then.
Syntax |
$hash = CalculateHash($secret, @data); |
Input |
|
Return |
|
LogTPay
Logs a structure to the communication.log.
Syntax |
LogTPay($Name, $Debug, $Section); |
Example |
LogTPay('SendRequestHash', \%Hash, 'Send'); |
Input |
|
MakeTimestamp
Creates a time stamp of the current time.
Syntax |
$timestamp = MakeTimestamp(); |
Return |
|