Solved

Creating order when subscription billing attempt fails

Cleankitchen
Shopify Partner
13 1 5

Hi,

 

As I understand Shopify will only create an Order when our subscription app triggers a successful Billing Attempt. Can we create an Order even when all Billing Attempts for a given Billing Cycle have failed? 

 

Our use case is that we want to fulfil our weekly subscription Order even when we fail to charge our customers automatically. We will reach out to the customer to get the payment sorted after delivery is done if needed. 

 

Thank you!

Accepted Solution (1)

ShopifyDevSup
Shopify Staff
1322 217 457

This is an accepted solution.

Hey @Cleankitchen - at the moment this isn't possible within the context of how the Orders component currently works on Shopify. As of right now, orders can't be created without billing via the API. That said, the use case here makes a ton of sense. I'm not able to guarantee anything, but I will put through a report on this as a potential feature for our product team to consider in the future.

Hope this helps - thanks for bringing this up, you do bring up a great point in terms of making it subscription billing more flexible. You may have already considered this, but one way of sort of working around this would be creating a single draft order to take payment and still deliver the product manually (maybe also adding an order note to the original subscription order or recreating the subscription order entirely), but it doesn't resolve the issue as neatly as your suggestion might. 

Hope this helps - thanks again for getting in touch. 

 

Al | Shopify Developer Support 

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

View solution in original post

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1322 217 457

This is an accepted solution.

Hey @Cleankitchen - at the moment this isn't possible within the context of how the Orders component currently works on Shopify. As of right now, orders can't be created without billing via the API. That said, the use case here makes a ton of sense. I'm not able to guarantee anything, but I will put through a report on this as a potential feature for our product team to consider in the future.

Hope this helps - thanks for bringing this up, you do bring up a great point in terms of making it subscription billing more flexible. You may have already considered this, but one way of sort of working around this would be creating a single draft order to take payment and still deliver the product manually (maybe also adding an order note to the original subscription order or recreating the subscription order entirely), but it doesn't resolve the issue as neatly as your suggestion might. 

Hope this helps - thanks again for getting in touch. 

 

Al | Shopify Developer Support 

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