Shopify Remix App Development - Set Up Billing

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024
  • In this video I show you how to get subscriptions working in your Shopify Remix app. The 2nd video in this series which will be live next week will show you how to then use this billing to set an app metafield which you can use to conditionally make an Theme App Extension available to subscribed customers only.
    More extensive version of this code on my GitHub: github.com/mar...

ความคิดเห็น • 20

  • @offthewallchess
    @offthewallchess 6 หลายเดือนก่อน +2

    Thank you for this!!! Very helpful! Been struggling with Billing API for a minute.

  • @codename4618
    @codename4618 หลายเดือนก่อน

    thank you, very helpful!

  • @seunoyebode
    @seunoyebode 4 หลายเดือนก่อน

    This is such a great video! Very helpful.
    Thanks for making this.

  • @vikaxachatryan751
    @vikaxachatryan751 หลายเดือนก่อน

    The guide was very helpful. Could you please also explain how I can implement additional charges for my app in certain cases?

    • @MarkCodesYoutube
      @MarkCodesYoutube  หลายเดือนก่อน

      I think this should help shopify.dev/docs/apps/launch/billing/support-one-time-purchases

  • @benwilliamson1671
    @benwilliamson1671 5 หลายเดือนก่อน +1

    This was very helpful, are you still planning to do the follow up video?

    • @MarkCodesYoutube
      @MarkCodesYoutube  5 หลายเดือนก่อน

      Yes, the 2nd video with the meta fields based on billing status is on this channel

  • @kirilltereshchenko7151
    @kirilltereshchenko7151 6 หลายเดือนก่อน

    Great intro to billing!

  • @christophermoriarty2855
    @christophermoriarty2855 3 หลายเดือนก่อน

    Thanks for the great video. Do you have any suggestions for preventing a store from uninstalling the app and reinstalling it and getting an new trial?

    • @MarkCodesYoutube
      @MarkCodesYoutube  3 หลายเดือนก่อน

      If your app creates data they might find useful to keep them if you delete that on install they have to set it all up again if they do that

  • @justdoitk
    @justdoitk 4 หลายเดือนก่อน

    What will you suggest for an app with free trial, if the customer install the app and while is in free trial days is uninstalling the app and installing back, should keep get free trial or straight to the subscription billing page?

    • @MarkCodesYoutube
      @MarkCodesYoutube  4 หลายเดือนก่อน

      If you have your app set to delete user data from your database on uninstall (which you should) then whilst a user could keep installing and reinstalling after a free trial they would have to add all their data again so it's unlikely they will

    • @justdoitk
      @justdoitk 4 หลายเดือนก่อน

      @@MarkCodesTH-cam Thanks but this will create a loop which can uninstall the app on last day of free trial and reinstall it, i was thinking to keep in database if was installed before, so based on this to redirect to the subscription plan page

  • @dan110024
    @dan110024 5 หลายเดือนก่อน

    Around 11:20, is there any reason you're using a graphql request to check for active subscriptions instead of getting it from the billing object from the authenticate method?

    • @MarkCodesYoutube
      @MarkCodesYoutube  5 หลายเดือนก่อน

      No reason at all...you could equally use the billing object

    • @dan110024
      @dan110024 5 หลายเดือนก่อน

      @@MarkCodesTH-cam ah good. Wasn’t sure if there might have been a reason. On something slightly different - do you know if it’s possible to get the current usage of a usage based plan? I cant seem to find any GraphQL objects with the current usage. I’m thinking I just have to keep track of it myself.

    • @MarkCodesYoutube
      @MarkCodesYoutube  5 หลายเดือนก่อน

      Do you mean how many people are subscribed to an app?

    • @dan110024
      @dan110024 5 หลายเดือนก่อน

      @@MarkCodesTH-cam no sorry, I mean in terms of usage based billing for the merchant. Shopify keeps track of the usage records that have been created, and the merchant can check this in Admin>Billing. I just don’t seem to see a way to retrieve that data. Will have another look at it tomorrow, but just wondered if you knew of it or not?

    • @MarkCodesYoutube
      @MarkCodesYoutube  5 หลายเดือนก่อน

      @dan110024 I’m still not quite sure if I get you but in your partner account for the app you can see install and uninstall history and payments etc