HISE Logo Forum
    • Categories
    • Register
    • Login

    Get data from Woocommerce via server api

    Scheduled Pinned Locked Moved Scripting
    authenticationserverapiwoocommerce
    109 Posts 11 Posters 9.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey @yall
      last edited by d.healey

      @yall said in Get data from Woocommerce via server api:

      would it be possible to have an example of how to load an image from a server?

      Link Preview Image
      Images from server

      If I clear that list then it will download again. Does this list persist in the compiled plugin or is it just in HISE? Nope, that's also the functionality i...

      favicon

      Forum (forum.hise.audio)

      @orange said in Get data from Woocommerce via server api:

      Which kind of endpoints do you need more?

      A custom one :p It's a lot to explain but basically I'm letting the user log in from my plugin, I display all of the products available on my site that can be loaded as an expansion, I also indicate which products the user has a license for and allow them to install/uninstall those ones. I want to do this in as few server requests as possible, using a custom end point allows me to do everything except installing in 2 requests. And a few additional requests to download product images. The number of requests required for installing depends on the number of .hr files that are needed.

      Anyway the problem I'm having at the moment is the WooCommerce function to provide an S3 download link is not working properly. I've asked on the WooCommerce support page but no luck so far.

      Update: I solved my issue, I'd setup my Amazon credentials incorrectly.

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      Dan KorneffD 1 Reply Last reply Reply Quote 3
      • Dan KorneffD
        Dan Korneff @d.healey
        last edited by

        @d-healey said in Get data from Woocommerce via server api:

        display all of the products available on my site that can be loaded as an expansion

        I can't wait to buy this from you :)

        Dan Korneff - Producer / Mixer / Audio Nerd

        1 Reply Last reply Reply Quote 2
        • orangeO
          orange
          last edited by orange

          As I previously mentioned, I've contacted to the developer of Woocommerce License Manager.

          For anyone who is interested, Woocommerce License Manager API v3 will be released soon. I think this plugin will be very useful for anyone is using Woocommerce to sell the software. This version will have:

          • JWT Authentication (no api keys needed to embed in your software),
          • Activate / Deactivate License with Machine ID (max. activation number can be assigned)
          • Get Purchased Products, Get Product Meta Data,
          • Register License that sold by resellers

          And other ton's of features. API documentation is here: https://firassaidi.com/docs/documentation-woocommerce-license-manager/api-version-3/authentication-jwt/

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

          DanHD 1 Reply Last reply Reply Quote 3
          • DanHD
            DanH @orange
            last edited by

            @orange Don't suppose they mentioned how soon did they?! :D

            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
            https://dhplugins.com/ | https://dcbreaks.com/
            London, UK

            orangeO 1 Reply Last reply Reply Quote 1
            • Christoph HartC
              Christoph Hart
              last edited by

              That's great news. I was thinking about building a generic example project that talks to a WooCommerce store and implements a proper copy protection system, but then I have no experience with Wordpress and plugins whatsoever so if anyone is interested in doing the stuff on this side, it will highly increase the probability of getting realised.

              orangeO 1 Reply Last reply Reply Quote 1
              • d.healeyD
                d.healey
                last edited by

                @orange Will it have a system for transferring licenses between users? Will it be possible for a user to increase the max activations by purchasing additional licenses?

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                orangeO 1 Reply Last reply Reply Quote 0
                • orangeO
                  orange @Christoph Hart
                  last edited by orange

                  @Christoph-Hart said in Get data from Woocommerce via server api:

                  That's great news. I was thinking about building a generic example project that talks to a WooCommerce store and implements a proper copy protection system, but then I have no experience with Wordpress and plugins whatsoever so if anyone is interested in doing the stuff on this side, it will highly increase the probability of getting realised.

                  Yes if there would be an example, it would be great. About this, I haven't done anything yet too, except a couple of endpoint trials.

                  Also if I have time to implement something, I will definately let you know. If you need some wordpress JWT examples or a woocomemrce help, I can definately help with my limited knowledge.

                  develop Branch / XCode 13.1
                  macOS Monterey / M1 Max

                  1 Reply Last reply Reply Quote 0
                  • orangeO
                    orange @d.healey
                    last edited by

                    @d-healey said in Get data from Woocommerce via server api:

                    @orange Will it have a system for transferring licenses between users? Will it be possible for a user to increase the max activations by purchasing additional licenses?

                    I think license transfer between users is not possible right now.
                    But there is a "maximum instance" setting for defining max. activations. In this case, the machine ID will be needed of course.

                    develop Branch / XCode 13.1
                    macOS Monterey / M1 Max

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • orangeO
                      orange @DanH
                      last edited by

                      @DanH said in Get data from Woocommerce via server api:

                      @orange Don't suppose they mentioned how soon did they?! :D

                      I think it will be ready soon, really :)

                      develop Branch / XCode 13.1
                      macOS Monterey / M1 Max

                      1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @orange
                        last edited by

                        @orange

                        But there is a "maximum instance" setting for defining max. activations. In this case, the machine ID will be needed of course.

                        If the user buys a product, and then a week later comes back to buy the same product again, will they get a new license or will it increase the max activations on their existing license?

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        orangeO 1 Reply Last reply Reply Quote 0
                        • orangeO
                          orange @d.healey
                          last edited by

                          @d-healey said in Get data from Woocommerce via server api:

                          @orange

                          But there is a "maximum instance" setting for defining max. activations. In this case, the machine ID will be needed of course.

                          If the user buys a product, and then a week later comes back to buy the same product again, will they get a new license or will it increase the max activations on their existing license?

                          New license key will be assigned.

                          develop Branch / XCode 13.1
                          macOS Monterey / M1 Max

                          1 Reply Last reply Reply Quote 1
                          • orangeO
                            orange
                            last edited by orange

                            For your information guys,

                            Woocmmerce License Manager API v3 has been released, Thanks Firas (developer of this plugin) for the patience about my nonstop shameless requests :)

                            With all of the new API endpoints and JWT Authorization features, I can definately say that this plugin is one of the greatest and secure "in the box" solutions for Woocommerce License management that you can find!

                            • JWT Authentication (no api keys needed to embed in your software),
                            • Activate / Deactivate License with Machine ID (max. activation number can be assigned)
                            • Get Purchased Products, Get Product Meta Data (no need to dig into complex shitty Woocommerce REST API anymore)
                            • Register License that sold by resellers
                            • And other ton's of features

                            Plugin: https://codecanyon.net/item/woocommerce-license-manager/16636748?ref=firassaidi

                            API documentation: https://firassaidi.com/docs/documentation-woocommerce-license-manager/api-version-3/get-license-details/

                            develop Branch / XCode 13.1
                            macOS Monterey / M1 Max

                            1 Reply Last reply Reply Quote 1
                            • d.healeyD
                              d.healey
                              last edited by

                              @orange Thanks, this looks great.

                              Libre Wave - Freedom respecting instruments and effects
                              My Patreon - HISE tutorials
                              YouTube Channel - Public HISE tutorials

                              1 Reply Last reply Reply Quote 1
                              • C
                                clumsybear
                                last edited by

                                May I ask in all respect why bother with this stuff at all when it can get stripped away easily by any script kiddy looking to get props from the scene release community?

                                It just seems like a lot of work for something that’s not secure at all.

                                No offense, just want to know if I missed something.

                                d.healeyD orangeO 2 Replies Last reply Reply Quote 0
                                • d.healeyD
                                  d.healey @clumsybear
                                  last edited by

                                  @clumsybear It can't be stripped away easily, this isn't like a Kontakt library, however as with all software it is certainly crackable.

                                  Second, if you link software to your server then the client app is only half of the equation. If you remove the authorization from the client app then the server will refuse to talk with it. That means no downloads/support/updates for the end user.

                                  Libre Wave - Freedom respecting instruments and effects
                                  My Patreon - HISE tutorials
                                  YouTube Channel - Public HISE tutorials

                                  C 1 Reply Last reply Reply Quote 1
                                  • C
                                    clumsybear @d.healey
                                    last edited by clumsybear

                                    Got you. Does this also mean that the user needs to be connected to the web constantly to be able to use your product, or is it a one time thing?

                                    I'm aware that this is not like a Kontakt library. Anyways, I doubt that it is secure in the sense that your product can't be used without communicating to your server. JUCE products without ilok protection have a history of getting cracked within a couple of hours after release.

                                    I get the update and support situation. imo this is the only way to really secure your software.

                                    Of course I'm open to change my mind about that, time will tell.
                                    Wish you good luck and all the best with it :)

                                    d.healeyD 1 Reply Last reply Reply Quote 0
                                    • orangeO
                                      orange @clumsybear
                                      last edited by

                                      @clumsybear said in Get data from Woocommerce via server api:

                                      May I ask in all respect why bother with this stuff at all when it can get stripped away easily by any script kiddy looking to get props from the scene release community?

                                      It just seems like a lot of work for something that’s not secure at all.

                                      No offense, just want to know if I missed something.

                                      Of course in computer world almost everything is crackable. Even iLok was cracked. But for this case, just thinking "the crackablity" will be a very shallow thought. Plus to David,

                                      • If you have resellers who are selling your software from their website, you need to pick and bring the customers into your database. So you can easily upsell other products (because it's much more easier to sell a product to a previous customer), give rewards to them or apply any other marketing strategies.

                                      • Offline authorization can look "outdated" for lot's of customers. And being "outdated" is a bad image for a software company, especially in music software.

                                      • Some customers will want to sell the license to other people, for this case you need to arrange the license management well. Online authorization is the one and only choice for this. Otherwise you don't know if your software was sold how many people after just one purchase. Even some audio plugin companies are charging for license transfer fee.

                                      I hope that makes sense.

                                      develop Branch / XCode 13.1
                                      macOS Monterey / M1 Max

                                      1 Reply Last reply Reply Quote 0
                                      • d.healeyD
                                        d.healey @clumsybear
                                        last edited by

                                        @clumsybear said in Get data from Woocommerce via server api:

                                        Got you. Does this also mean that the user needs to be connected to the web constantly to be able to use your product, or is it a one time thing?

                                        That's up to you. My intention is that the user doesn't need to be connected at all to use it, only initially to activate their license and when they want to check for updates.

                                        Libre Wave - Freedom respecting instruments and effects
                                        My Patreon - HISE tutorials
                                        YouTube Channel - Public HISE tutorials

                                        1 Reply Last reply Reply Quote 0
                                        • Christoph HartC
                                          Christoph Hart
                                          last edited by

                                          @clumsybear said in Get data from Woocommerce via server api:

                                          JUCE products without ilok protection have a history of getting cracked within a couple of hours after release.

                                          Depends on the company size and (a bit of) luck, but that's definitely not my experience. As long as your software needs to be reverse engineered using a reverse debugger, chances are huge that you fly under the radar of the people with the ability to do so.

                                          C 1 Reply Last reply Reply Quote 1
                                          • C
                                            clumsybear @Christoph Hart
                                            last edited by

                                            @Christoph-Hart well concerning luck, I guess it has to do with demand, I guess if nobody cares about the software there is no point in cracking it, right?

                                            are you referring to auddict products concerning your experience with this stuff? what copy protection scheme do Hexeract and PercX use?

                                            Is there any audio software that does not need to use a reverse debugger to be cracked, of course if they are protected that is?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            17

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts