Fix webhook validation

Created on 30 May 2024, 29 days ago
Updated 19 June 2024, 9 days ago

Problem/Motivation

In the NoFraudController on line 129 the request content is turned into an associative array instead of an obj. The basic validation after that always fails because of that.

There is also duplicate logic for validating the decision data.

Steps to reproduce

Proposed resolution

Update the `json_decode` to return an object.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡·πŸ‡ΈSerbia thenchev

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024