Skip to content

Prevent Free Orders (or non-relevant methods) from being sent to Riskified #57

@mpchadwick

Description

@mpchadwick

Hello - I am investigating an issue on a website where some orders were not getting out of a pending state when approved by Riskified. I found that all of these orders were for a grand total of 0.00 (payment method free). Most of the orders on the store using free payment method appear to not be transmitted to Riskified at all, however for whatever reason a subset of the orders were being transmitted.

Other Fraud solutions like Signifyd have settings which can be used to 100% ensure orders with certain payment methods aren't submitted.

See: https://github.com/signifyd/magento2/blob/798d24a5bda39e7555b0eeb0a856d43cfbf1a3b5/docs/RESTRICT-PAYMENTS.md

It seems like your connector should offer similar functionality.

I've only spent a limited amount of time reviewing the code of this module, but off hand it seems like such a check would likely go into this area of the code:

https://github.com/Riskified/magento2new/blob/v1.12.3/Model/Api/Order.php#L141

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions