Best practices for implementing subscription for a public admin app?

Best practices for implementing subscription for a public admin app?

triplesingle
Shopify Partner
18 0 1
Hey guys, first time App developer and going to launch an app maybe next month.Is there a walkthrough or general best way to implement a subscription plan for a Public Admin App once a merchant installs it?

I assume the steps might be something like this:

  1. Users clicks a subscribe button
  2. This fires the appSubscriptionCreate mutation
  3. We extract the Confirmation URL from the response in the mutation after Step 2,
  4. Route the merchant to the Confirmation URL
  5. They accept the payment and are then re-directed to the returnUrl as specified in appSubscriptionCreate mutation.

    I assume it will be for the app developer to somehow save this merchant into our DB that this merchant has subscribed to our app?

    For context, I will only have one subscription plan of 500 USD paid once per year.
Reply 1 (1)

BSSCommerce-B2B
Shopify Expert
555 111 134

Hi @triplesingle,

 

- I think you could add more data to returnUrl as query string params

- Create logic for that URL, I mean, an API to read data from query string params, save to db, and finally redirect to app dashboard.

 

Hope this is helpful to you.

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


B2B Solution & Custom Pricing |BSS: B2B Portal, Quote, Net 30 | BSS: B2B Login Lock Hide Price


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency