For discussing the development and integration of subscription-enabled shops using Shopify's Subscription APIs.
Hey folks,
We are looking to implement a feature that allows merchants to charge customers for changes to a prepaid subscription that would require it. A few example use cases:
With the fulfillment orders that a prepaid subscription generates we are having a hard time coming up with a solution. It wasn't the approach for standard subscriptions to have orders created beforehand so we're not sure why this approach was taken here. If our app was able to make calls to createBillingAttempt on each order still it would be feasible to accomplish it that way.
Was there a way that your team envisioned this being done? For sure it's a non-trivial operation but it's flexibility that merchants have come to expect from a fully featured prepaid subscription.
Hey Craigstra,
Thank you for your patience while we got back to you.
To handle the scenarios you've described, I would recommend leveraging the Order Edit API to update the quantities of existing items, or add new items to the order. When you commit the order edits, set notifyCustomer to true and the customer will receive a link by email to enter a payment method and pay for the order changes. The cost of higher shipping rates after a customer updates their shipping address could be accounted for by adding a custom item to the order.
Hope this helps!
Cheers,
Jerome
To learn more visit the Shopify Help Center or the Community Blog.