Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
I'd like to do some testing of Shopify Flows and I'd like to know if there is any way when a store is in test mode to trigger a high risk, medium risk, and low-risk order.
I tried to use addresses on the opposite sides of the country for shipping and billing but that didn't work.
I tried to use the chargeback card identified here (https://help.shopify.com/en/manual/payments/shopify-payments/testing-shopify-payments) but that did just as it said it would and triggered a chargeback. The sample test orders that are in Shopify show as fraud but I can't see how they were put in or what triggered them as high risk.
Has anyone done this in the past?
Russell
Solved! Go to the solution
This is an accepted solution.
As an anti-fraud app developer, I had to recreate this scenario quite a bit.
If you have a developer on your team, they can use the Shopify OrderRisk API endpoint to trigger a medium or high risk order scenario, just like the Shopify system or a 3rd party app would.
REST API documentation: https://shopify.dev/api/admin/rest/reference/orders/order-risk
Last I checked, there wasn't support to create order risk scenarios via the GraphQL API.
This is an accepted solution.
As an anti-fraud app developer, I had to recreate this scenario quite a bit.
If you have a developer on your team, they can use the Shopify OrderRisk API endpoint to trigger a medium or high risk order scenario, just like the Shopify system or a 3rd party app would.
REST API documentation: https://shopify.dev/api/admin/rest/reference/orders/order-risk
Last I checked, there wasn't support to create order risk scenarios via the GraphQL API.
This worked perfectly. Thank you so much!