wpswings/subscriptions-for-woocommerce — reverse-engineered prompt
Reverse engineered prompt
Build me a WooCommerce plugin for selling subscription products and services in a WordPress store. I want store owners to be able to turn normal products into subscription items, set the billing frequency, add free trials, add an initial signup fee, and choose when a plan expires.
Customers should clearly see the recurring payment details in the cart and checkout, then be able to manage or cancel their subscriptions from their account. Admins should be able to view subscription reports, reactivate subscriptions that are on hold, cancel subscriptions, and get email notifications for renewals, cancellations, and expirations.
Please include support for subscription boxes where customers can pick multiple products for a recurring box. Also add a simple REST API endpoint so subscription details for a user can be fetched.
Keep it compatible with recent WordPress and WooCommerce versions, and use the usual WooCommerce payment flow with support for common gateways like PayPal and Stripe where possible. Look up current WooCommerce docs online if needed.
Want more depth? Deep Reverse