How to integrate the fraud prevention profiler on web.
</body>
tag.
Add the following information:
src
– The URL retrieved in Step 1.attemptReference
– Identifier used to match the user’s profiling session to the pay-in call made by your platform’s backend to the Mangopay API. You must generate a unique value upon every form view. You must not use the prefix mznx-
for web attempt references, because this prefix is added by the mobile SDKs to identify mobile attempt references. Max. length: 128 characters.sensitiveFields
– Not sent to the fraud prevention solution but the other behavioral data linked to these fields is still gathered.secretFields
– Not sent to the fraud prevention solution and no behavioral data linked to the fields is gathered.cvv
) and card number (cnn
) as sensitive fields.dftp.profileCompleted
function to ensure that all the profiling data is collected prior to the pay-in call.
This function returns a Promise
object that is resolved when processing is complete, thereby indicating that it’s safe to do the pay-in.
doWorkAfterProfiling
can be used to submit form data and trigger the pay-in call to the Mangopay API, including the ProfilingAttemptReference
.