Skip to content

WC Pay Subscriptions critical flows testing instructions

Rua Haszard edited this page Nov 24, 2021 · 9 revisions

Contents

Base / setup

Merchant

Shopper

Flows

Base

Enable WC Pay Subscriptions

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.

Merchant

Create a subscription product

  • 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).

Suspend (pause) and resume a subscription

Suspend a subscription
  • Navigate to WooCommerce → Subscriptions.
  • Hover an active subscription and click the “Suspend” button.
  • Ensure the subscription status has transitioned to “On hold”.
Resume a paused subscription
  • Navigate to WooCommerce → Subscriptions.
  • Hover over a suspended subscription and click the “Reactivate” button.

  • Ensure the subscription status has transitioned to “Active”.

Promote subscriptions with a discount coupon (signup, one-off, or recurring)

  • 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 or Percentage 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.)

Shopper

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

Clone this wiki locally