Skip to content

v8.9.0 ‐ Release testing instructions

Mayisha edited this page Nov 10, 2024 · 3 revisions

In Stripe 8.9.0, we have integrated the Express Checkout Elements to render Google Pay, Apple Pay, and Link. This new integration is only available in the new checkout experience.

Setup

  1. Setup express checkout following these steps.

  2. Go to Stripe settings > Settings tab > Advanced settings and disable the legacy checkout experience.

  3. Set up shipping methods.

    a. Go to WooCommerce > Settings > Shipping. b. Create a shipping zone with free shipping and a flat rate. c. Create another shipping zone with free shipping and/or a flat rate.

  4. Set up tax.

    a. Go to WooCommerce > Settings and check Enable taxes checkbox. b. Go to WooCommerce > Settings > Tax > Standard rates tab. c. Add a tax rate for the locations that have shipping methods.

  5. Create a coupon.

    a. Go to Marketing > Coupons. Create a coupon for discounts.

  6. Create WooCommerce shortcode checkout and shortcode cart pages if you already don't have them in your site.

Checkout from the Product page

  1. Go to a physical product page and select product options (quantity and other params if required by product).
  2. Click the Google Pay button.
  3. Pick a saved card from the modal. Confirm that the Google Pay modal is showing the correct amount.
  4. Complete the purchase and confirm that the charged amount is correct.
  5. Test the same steps for Apple Pay and Link payments.
  6. Test the same steps for a virtual product.

Checkout from the cart page

  1. Add a product to your cart and go to the block cart page.
  2. Add a coupon.
  3. Click the Google Pay button.
  4. Pick a saved card from the modal. Confirm that the Google Pay modal displays the correct amount (discounted amount).
  5. Complete the purchase and confirm that the charged amount is correct.
  6. Test the same steps for Apple Pay and Link payments.
  7. Test the same steps on shortcode cart page.
  8. Test the same steps by selecting a different shipping rate, a different shipping address (which has a different tax rate in your settings) and a different card.

Checkout from the checkout page

  1. Add a product to your cart and go to the block checkout page.
  2. Add a coupon.
  3. Click the Google Pay button.
  4. Pick a saved card from the modal. Confirm that the Google Pay modal displays the correct amount (discounted amount).
  5. Complete the purchase and confirm that the charged amount is correct.
  6. Test the same steps for Apple Pay and Link payments.
  7. Test the same steps on shortcode checkout page.
  8. Test the same steps by selecting a different shipping rate, a different shipping address (which has a different tax rate in your settings) and a different card.

Checkout from the Pay for Order page

  1. As a merchant, go to the create a new order page at siteurl/wp-admin/admin.php?page=wc-orders&action=new.
  2. Set the order status to Pending payment and add a product to the order.
  3. On the sidebar at the right, click on "Create".
  4. On the edit order page, click on "Customer payment page →".
  5. Complete the checkout using Google Pay.
  6. Confirm that the order status gets updated to "Processing".
  7. Test the same steps for Apple Pay and Link payments.

Checkout from the Pay for Order page with tax and coupon

  1. As a merchant, go to the create a new order page at siteurl/wp-admin/admin.php?page=wc-orders&action=new.
  2. Set the order status to Pending payment and add a product to the order. Add a coupon and tax to this order.
  3. On the sidebar at the right, click on "Create".
  4. On the edit order page, click on "Customer payment page →".
  5. Complete the checkout using Google Pay.
  6. Confirm that the Google Pay modal is showing the correct amount.
  7. Confirm that the order status gets updated to "Processing".
  8. Confirm that the charged amount is correct.

Test different tax setup

  1. Go to WooCommerce > Settings > Tax.
  2. Test for different settings of Prices entered with tax and Calculate tax based on fields.
Screenshot 2024-11-11 at 2 12 44 AM
  1. Add a product to your cart and go to the checkout page.
  2. Confirm that the Google Pay modal displays the correct amount.
  3. Complete the purchase and confirm that the charged amount is correct.
  4. Test the same for Apple Pay and Link payments.

Subscription product

  1. Test purchasing subscription product, purchase multiple subscriptions (same schedule), purchase multiple subscriptions (differing schedules), renew subscription with Google/Apple Pay.
  2. Use coupons, different tax setups and shipping rates.
Clone this wiki locally