Skip to content

Release testing instructions for WC Payments 7.5.0

Kristófer Reykjalín edited this page Apr 4, 2024 · 4 revisions

Make sure an actionable error is reported when trying to buy a subscription through Stripe Billing with a different currency from your active subscriptions

As the merchant (configuration)

  1. Make sure your store is set up with a US-based address, otherwise the Stripe Billing option in (4) won't be available.
  2. Make sure you have WC Subscriptions installed on your test store.
  3. Make sure you have a subscription product available, a simple subscription is sufficient.
  4. Go to Payments → Settings, scroll down to Advanced Settings, and tick Enable Stripe Billing for future subscriptions.
image
  1. Go to Payments → Settings, scroll down to Advanced Settings, and tick Enable multi-currency.
image
  1. Go to WooCommerce → Settings → Multi-Currency and add at least 2 currencies (e.g. USD and EUR).

As the shopper (testing)

  1. Add a subscription product to your cart, and checkout with any card, 4242 4242 4242 4242 is sufficient.
  2. The checkout should succeed.
  3. Change the currency.
    • You can do this either by using the currency switching widget if you're using the Storefront theme or by visiting any store page with ?currency=<currency_code>, e.g. ?currency=EUR.
  4. Add the same subscription product to your cart and checkout with any card, e.g. the card that was saved after checking out in (1).
  5. Make sure the error message informs the customer that they must use the same currency as their other active subscriptions:
image
Clone this wiki locally