Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For increased security you may also pass two additional fields with your OneClick request.

x_fp_hash
Similar to the MD5 hashing feature returned by the gateway response, the x_fp_hash is build by creating a MD5 hash with the following fields:
  • login ID
  • merchant defined gateway hash sequence
  • login ID
    • timestamp (unix UTC)
    • transaction amount
    • custom hash key defined withing the merchant settings of the OmniFund application.


    Code Block
    titleGenerating x_fp_hash with PHP
    hash_hmac('md5', $merchantId.'^'.$fpSequence.'^'.$timestamp.'^'.$amount.'^USD', $hashKey);


    x_fp_timestampThis is the timestamp (unix UTC) of the request. This will be the same timestamp value that was included in the x_fp_hash.
    x_fp_sequenceCustom sequence value designated by the merchant.  Also used in the creation and validation of the x_fp_hash.

    Please note that the request will only be valid for 5 minutes before it expires.

    ...