A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi,
Can I access the order risk object at the following places?
- Checkout page
- Customer confirmation email template (Via settings > Notifications Etc)
I sell digital products that are full-filled via 3rd party where the license key is presented to customer after payment, license key is presented at Checkout page and delivered in the Order confirmation email
In scenarios where fraud analysis is high - the payment is still taken and confirmation sent to customer with license (This is Shopify behaviour, I wish it didn't)
But If order later is confirmed as fraud, I natrually refund money to original card but significant steps are required to work with my 3rd party license key vendor on obtaining a refund on that particular license and working with them to void it on their servers.
It also knocks vendor confidence, as looks like "This store doesnt have its stuff together"
I'm wondering if I can code into checkout page and order confirmation email a simple:
if orderrisk == low then display license key
else:
Do not display license key
Any advice?
Hey @Stakeholder - at the moment the Order Risk resource is only available through the Admin API as part of the wider "Order" resource. This means that it currently can't be integrated into the checkout flow/page. It's tied to the order component on the Shopify end of the API endpoint/object and does have limited functionality within an API context.
That said, you bring up a really good use-case here. I'm going to bring your post to our team/draft a report on my end and I'll advocate for them to take a look at the current functionality. I can't guarantee anything, but enhancing order risk detection functionality through the API would be useful, especially if it enables folks to build solutions like this.
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hello!
Thanks for your prompt response and insight, it's appreciated.
If you could review further that would be great.
At the moment for digital shop owners the inbuilt apps and fraud solutions don't really provide much value as digital products are by and large still fulfilled after payment and the only solution seems to be to have to turn off automatic fulfilment turning it into a manual process to send customer download links and license codes.
That's add odds with a digital business such as mine that strives to be as automated as possible, especially since i'm operating 24/7 selling digital products internationally with the comfort that customers are receiving their products within minutes. My brand is built on this.
My products are sound packs and audio plugins/synthesizers and some are considerable in cost ($200 each) so the impact of fraud is high and impacts my 3rd party vendor relationship when I have to go cap in hand about a refund as I outlined above - so I'm really happy to self serve on a my own custom solution here if we can just enable the functionality you suggest.
Through my research on this - I know i'm not the only one who'd benefit from this.
Anyway, thanks again.
Hi @Stakeholder
I don't mean to sell you on our app, but Beacon is able to handle digital orders by being able to control the fulfillment and payments for digital goods as we have clients with similar issues in the past.
What you need to do is set your payments to manual payment capture and allow Beacon to control the payment capture process. Anything with a high risk, will automatically void the authorization while orders without any risk associated will be captured automatically.
Third party fulfillment service will only send out the digital goods for orders where payment has been captured.
I'm happy to give you a demo if you like on how all this works.
Will it stop the automated Shopify Customer Order Confirmation email that gets sent out to customer when order is marked as 'Paid' ? - that's the crucial step for me and where license keys are embedded ?
A order with a fraud risk will not be marked as paid, but instead it will be in an authorized state. Any order with a level of risk tied to the order will be marked as "voided" through Beacon.
I don't know how you have your digital fulfillment setup through the third party app, but if you have it setup correctly, then the email should not be sent until the order is captured and marked as "Paid" by Beacon.
Feel free to test this out as we do offer direct support and 14 day free trail. I'll send you a PM with a basic documentation on how to set this up.