Device fingerprinting
Home
About
Contact
Search…
Device fingerprinting
Device fingerprinting
Parameters
Generate a unique token
Output DFP JavaScript
Mobile SDK
Data transfer to Ratepay
Powered By
GitBook
Generate a unique token
To generate a DFP you first need to create a unique token within your web shop. Ratepay recommends using a UUID v4.
If not using a UUID, use these characters only:
A-Z
a-z
0-9
-
_
Alternatively, use the Ratepay
<transaction-id>
defined in the PAYMENT_INIT response.
Example
1
$timestamp
=
microtime
();
2
$customerId
=
$customerObject
->
getId
();
3
$deviceIdentToken
=
md5
(
$customerId
.
"_"
.
$timestamp
);
Copied!
Previous
Parameters
Next
Output DFP JavaScript
Last modified
6mo ago
Copy link
Contents
Example