Re: Orders/Webhook & Rest Admin API

Solved

Orders/Webhook & Rest Admin API

dsl3Jd
Shopify Partner
15 1 2

We are working on a dropshipping app. Our app doesn't process nor receive the end consumer's payment information and will only receive payment information from the Shopify store owner who will place and pay for orders.

 

However, the Shopify team has provided the following as a "required change"

If your app supports manually capturing payments, your app must subscribe to the orders/edited webhook, which will be sent whenever an order is edited. For example, when a post-purchase upsell occurs. For orders which are not edited through post-purchase app upsells, there may be a delay between when the order is edited and when the customer approves depending on when an invoice is received.

 

If you are using the REST Admin API, you should include either the "parent_id" or "authorization" properties when POSTing to create transactions with "kind": "capture". Seethis documentationfor more details.

Since we don't take payment information from the end consumer, I'm not quite how the order/edit and the REST Admin API listed would apply to my app. I'm not quite understanding where and how the required changes should be implemented.

Can anyone provide any guide or point me in the right direction?

Accepted Solution (1)

dsl3Jd
Shopify Partner
15 1 2

This is an accepted solution.

Update: It seems that fulfillment and fraud apps must subscribe to the Orders/Edit webhook for Shopify store owners who opt for manual payment capture.

View solution in original post

Replies 3 (3)

mrad
Shopify Staff (Retired)
63 10 15

HI Dsl3Jd,

Since you don't process payment information from the end consumer, you probably don't need to subscribe to the orders/edited webhook.

mrad | Developer @ Shopify 
 - Was my reply helpful? Click Like to let me 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

dsl3Jd
Shopify Partner
15 1 2

Thank you @mrad for your response.

That is what I thought too but the feedback from the app team suggests differently.

Shopify Partners chat support also stated that we do need to use need to create transactions with kind and capture even when we are not processing or receiving payment information from the end customer, so I'm a bit confused on whether the orders/edited webhook and transactions api is needed.

dsl3Jd
Shopify Partner
15 1 2

This is an accepted solution.

Update: It seems that fulfillment and fraud apps must subscribe to the Orders/Edit webhook for Shopify store owners who opt for manual payment capture.