-
Notifications
You must be signed in to change notification settings - Fork 69
WC Pay Subscriptions critical flows testing instructions
Rua Haszard edited this page Nov 24, 2021
·
9 revisions
- Create a subscription product
- Suspend (pause) and resume a subscription
- Promote subscriptions with a discount coupon (signup, one-off, or recurring)
- Purchase a subscription product
- Cancel an active subscription and re-subscribe
- Change payment method (card) for an active subscription
- Use a coupon when purchasing a subscription product
Please ensure the WooCommerce Subscriptions extension is not activated as this will supersede the WCPay Subscriptions functionality.
WC Pay Subscriptions should be enabled by default for stores with a USA address (woo store location).
Alternatively, you can force enable using WCPay Dev
plugin:
- Navigate to WCPay Dev in the WordPress admin.
- Check the following checkboxes:
- Enable grouped settings
- Enable UPE checkout
- Add UPE additional payment methods
- Enable WCPay subscriptions
- Ensure the "Enable API request redirection" checkbox is not checked.
- Click the "Submit" button.
✅ If WC Pay Subscriptions is enabled, you should see a WooCommerce > Subscriptions
menu item in the admin dashboard.
- Navigate to Products → Add new.
- Change the product type to “Simple subscription”.
- Add a product name and description.
- Add a subscription price.
- Publish the product.
✅ Your subscription product should be available to purchase in store (front end).
- Navigate to WooCommerce → Subscriptions.
- Hover an active subscription and click the “Suspend” button.
- Ensure the subscription status has transitioned to “On hold”.
- Navigate to WooCommerce → Subscriptions.
- Hover over a suspended subscription and click the “Reactivate” button.
- Ensure the subscription status has transitioned to “Active”.
- Navigate to Marketing → Coupons → Add coupon.
- Add the coupon code and description.
- Select the desired discount type:
-
Recurring Product [%] Discount
to discount every renewal. -
Sign Up Fee [%] Discount
to discount the sign-up fee only. -
Fixed cart discount
orPercentage discount
to discount the initial subscription order.
-
- Add the coupon amount (or percentage value).
- Publish the coupon.
✅ As a shopper, confirm the coupon code works and shows the correct discount. (See shopper flow below.)