I’ve built an embedded admin application with a robust order taker and custom order ticket printing that we need for our shop. I’m looking into how to take payment from inside this app. A lot of our orders are processed over the phone and delivered locally. It appears that there isn’t a clean way to remain in the app and take payment. Am I correct that I can only direct to the draft order view and take payment there which will effectively end my embedded application?
To restate the need here… we take many orders over the phone and these orders have needed custom fields and things that the normal shopify admin doesn’t have and we also take credit card information over the phone. Any ideas on the best way to handle this or can someone verify that the only way is by processing payment through a draft in the main shopify admin interface. Thanks!
Hi Matt,
To process orders from within the app I believe you’ll need to use the Payments API, which is quite restricted for use.
One option you could explore would be to create the draft order as you’ve described and add the required custom fields to the draft order via the admin or using the draftOrderUpdate mutation:
Thanks for the answer. Understandable even if not what I wanted to hear. I’m already successfully creating drafts with all of the custom metafields I need. While I can accept payment in the main shopify admin order screens for these draft orders they don’t show up in my POS hardware. There are two channels on the POS hardware screen, POS and Admin, and they aren’t in either of them when I would expect them to be in the admin channel… Perhaps there’s some special flag that needs to be set for my draft orders to show up on my POS hardware?