Jump to content

Maxmind & OrderFraudCheck API


Recommended Posts

Can anyone else confirm a bug with the OrderFraudCheck API as seen https://developers.whmcs.com/api-reference/orderfraudcheck/

If we pass over the order id, as shown in the code below, then the details, such as address details are not actually sent over for fraud checking, instead it appears to be using our local server details rather than the ones stored against the client/order?

    http_build_query(
        array(
            'action' => 'OrderFraudCheck',
            // See https://developers.whmcs.com/api/authentication
            'username' => 'IDENTIFIER_OR_ADMIN_USERNAME',
            'password' => 'SECRET_OR_HASHED_PASSWORD',
            'orderid' => '1',
            'responsetype' => 'json',
        )
    )

If an order comes in via an order form, everything appears fine and checks take place.

We are adding customers in fine via AddClient and AddOrder just fine, full details are stored and the order id given in the AddOrder response is the one we are passing over for fraud checks.

From what I can see, via API the following data we get no response to Arrays

            [postal] => Array

            [city] => Array

            [subdivisions] => Array

There certainly seems to be some inconsistences between the order form and api methods.

Emails to WHMCS support, whilst responsive, seem to be drawing blank and not really taking too much of an interest in what I think might be an issue.

 

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated