v9.6.0 ‐ Release testing instructions - woocommerce/woocommerce-gateway-stripe GitHub Wiki

For v9.6.0, the release-specific testing instructions for v9.4.0 are still valid: https://github.com/woocommerce/woocommerce-gateway-stripe/wiki/v9.4.0-%E2%80%90-Release-testing-instructions

Legacy checkout deprecation

Additionally, the legacy checkout experience was deprecated. You can confirm this by:

  • Connect a Stripe account
  • Go to the Stripe settings page: wp-admin/admin.php?page=wc-settings&tab=checkout&section=stripe&panel=settings
  • Make sure the checkbox to enable the legacy checkout experience is no longer shown as part of "Advanced settings"
  • Enable some payment methods in the methods tab: wp-admin/admin.php?page=wc-settings&tab=checkout&section=stripe&panel=methods
  • As a shopper, add a product to your cart
  • Go to any checkout page
  • Confirm the new checkout experience is the present version. Each payment method should be displayed inside a container, payment instructions should be available, and other methods besides cards, as well (if you enabled them).

Subscription using non-reusable methods when manual renewals are enabled

Previously, voucher payment methods (Multibanco, Boleto, and Oxxo) could not be used to pay for subscriptions. Now, they can be used when manual renewals are enabled or required. To test it:

  • Connect a Stripe account
  • Install the subscriptions extension
  • Add a subscription product
  • Enable manual renewals in WooCommerce -> Settings -> Subscriptions -> "Accept Manual Renewals"
  • Configure the store to follow the specific rules for Oxxo, Multibanco, and Boleto
  • As a shopper, add the subscription product to your cart
  • Confirm the voucher payment methods are now available in both the block checkout and shortcode checkout
  • Confirm you can complete the purchase

Apple Pay domain registration

On a fresh, Jurassic Ninja store, with Stripe active and connected:

  1. Enable Apple Pay/Google Pay.
  2. Refresh the wp-admin page.
  3. Use wp-cli (or database admin UI), look at the value for apple_pay_verified_domain inside woocommerce_stripe_settings, stored in wp_options.
❯ ssh [email protected]
[email protected]'s password:
[email protected]:~$ wp option pluck woocommerce_stripe_settings apple_pay_verified_domain
strawberry-of-marlins.jurassic.ninja
[email protected]:~$
  1. The value should be your JN store's domain, e.g. strawberry-of-marlins.jurassic.ninja

Regression testing for redirect payment processing

  1. Set your store currency to EUR, and enable Bancontact as a payment method.
  2. As a shopper, use Bancontact to pay for an order.
  3. Authorize the payment when asked.
  4. In wp-admin, verify that the order has been placed successfully.

Express Checkout and custom fields (block checkout)

  1. Install Code Snippets, or a similar plugin. Add and activate the snippet in https://gist.github.com/annemirasol/aa33c143ef999761eb5f057a427bc1eb. This will register custom checkout fields for the block checkout.
  2. As a shopper, add a product to cart and go to block checkout.
  3. Verify the custom checkout fields are present.
    • Checkbox: Do you want to subscribe to our newsletter?
    • Text: Government ID (under Billing/Shipping Details)
    • Select: How did you hear about us? (after Order Notes)
  4. Fill out these three fields, and complete your purchase using Apple Pay, Google Pay, or Link.
  5. In the Order Confirmation page, verify you can see the values you entered for these fields.

Express Checkout and custom fields (classic checkout)

TBD