Fix webhook validation

Created on 30 May 2024, 6 months ago
Updated 19 June 2024, 5 months 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.71.5 2024