How much work is it to build an Integration for Protect Content Plugin?

I know these things are difficult to predict, but can any of you “Coders” give me an idea on how much work it is to integrate “Protect Content” with a Marketplace? An integration with the german Marketplace “Digistore24” (something like Clickbank or ShareIt, but german) would be very useful to me.

One thing I know is that Digistore24 offers a very good API (if you want download here some PHP classes https://www.digistore24.com/download/package/digistore-api.zip and see the API references https://doc.digistore24.com/technik/api/api-referenz/ ).

Any first estimation on how much work it would be for a good Coder to build such an integration?

I would appreciate it, Thank you!

  • aristath
    • Recruit

    Hello there @julius_miribung, I hope you’re well today!

    I’m afraid I don’t quite understand what you want to do…

    Protected Content allows you to limit access to your WordPress content.

    Digistore seems to be a completely separate ecommerce solution, completely independent to WordPress!

    How exactly do you picture this integration?

    Could you please elaborate?

    Please advise,

    Ari.

  • Julius
    • Site Builder, Child of Zeus

    Well on Digistore24 I can sell digital products, (for example an online course thats on my website), but than the customers must be able to access the product on my website (get login details, ….)

    So the customer would buy and pay on Digistore24, but it should be a way to give him access to the content he bought on my website.

  • aristath
    • Recruit

    Hello again @julius_miribung,

    I took a look at their API and I’m not quite sure what you need to do is possible…

    When a user purchases something from your digistore24 site, a user should be created on your WordPress site with their username. This however is not possible out of the box…

    A workaround would be to force the users to enter their purchase ID when they create an account on your site, and then check the validity of their purchase using a call to getpurchase: https://doc.digistore24.com/technik/api/api-referenz/getpurchase/

    But even then, the products that are included in the purchase are not returned by that, so I’m not sure how you’d be able to assign the proper level to your users…

    Integration should be pretty straight-forward if the API provided the necessary info, but unfortunately it’s not!

    It seems to me that their API was mostly built for affiliate relations and statistics, nothing more than that so I’m not sure this is even possible…

    You could however post a new job on our Jobs Board on https://wpmudev.com/wordpress-development/ so that a skilled developer can take a closer look at your requirements, perhaps there’s something I haven’t seen.

    Cheers,

    Ari.