What's your biggest current challenge? Have your say in Community Polls along the right column.

Best practices for implementing subscription for a public admin app?

Best practices for implementing subscription for a public admin app?

triplesingle
Shopify Partner
22 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 Partner
1969 564 566

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.

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now