• Hi everybody,

    I’m trying to understand if this plugin fits my use case. I have a headless setup (SPA + WP) and I need to handle subscriptions through REST APIs. I’m not sure about authentication since it looks to me like Woo Subscription doesn’t allow you to authenticate as a customer in order to make requests but it makes use of API keys and that would not be safe on an SPA.

    Ideally I would also need some coupon/gifts support.

    Any input will be appreciated.

Viewing 1 replies (of 1 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @lbenevento

    Woo Subscriptions does indeed work with REST APIs, but as you know, it uses API keys for authentication. This might not be the most secure method for a Single Page Application (SPA).

    However, you could consider using a more secure authentication method such as JWT (JSON Web Tokens) or OAuth, both of which are supported by WordPress and can be used in conjunction with WooCommerce.

    That being said, we have another solution that could fit your needs. WooCommerce Memberships, combined with Woo Subscriptions, can provide the customer authentication you want. It allows customers to log in and manage their own subscriptions, which could be a safer and more user-friendly approach for your SPA.

    Regarding coupon/gift support, WooCommerce has extensive support for coupons and discounts. You can create coupons with various types of discounts and restrictions. There’s also a WooCommerce Gift Cards plugin available if you’re looking to offer gift cards in your store.

    Please let us know if you need more information or if you have specific requirements that I didn’t cover. We’re here to help you find the best solution for your needs.

Viewing 1 replies (of 1 total)
  • The topic ‘Woo Subscriptions REST APIs info.’ is closed to new replies.