Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure ECE supports basic product purchase #3491

Closed
Tracked by #3381
Mayisha opened this issue Oct 1, 2024 · 2 comments
Closed
Tracked by #3381

Ensure ECE supports basic product purchase #3491

Mayisha opened this issue Oct 1, 2024 · 2 comments
Assignees
Labels
component: ECE Issues related to Express Checkout Element

Comments

@Mayisha
Copy link
Contributor

Mayisha commented Oct 1, 2024

Test simple and variable product purchases with Google Pay and Apple Pay in different scenarios. This is more like a smoke test to discover bugs or missing features around the basic product types.

Setup

  • Enable the ECE feature flag (return true from is_stripe_ece_enabled function or in your database add an option _wcstripe_feature_ece and set yes as the value).
  • Enable Google Pay/ Apple Pay from the Stripe settings page.
  • Go to WooCommerce > Marketing > Coupons and create a coupon.
  • Go to WooCommerce > Settings > Tax. Change the "Calculate tax based on" option according to the test case.
  • Create different shipping rates.

Product type: Simple, Variable

  • Create a simple physical product
  • Create a simple virtual product
  • Create a variable product with virtual variations
  • Create a variable product with virtual variations

Test Cases

Physical Product

  • Without Tax or coupons
  • With coupon
  • With Tax (Customer Shipping Address)
  • With Tax (Customer Billing Address)
  • With different shipping rates.

Virtual Product

  • Without Tax or coupons
  • With coupon
  • With Tax (Customer Shipping Address)
  • With Tax (Customer Billing Address)
  • With different shipping rates

Physical variable Product

  • Without Tax or coupons
  • With coupon
  • With Tax (Customer Shipping Address)
  • With Tax (Customer Billing Address)
  • With different shipping rates.

Virtual variable Product

  • Without Tax or coupons
  • With coupon
  • With Tax (Customer Shipping Address)
  • With Tax (Customer Billing Address)
  • With different shipping rates

Mixed checkout (add a combination of simple and variable products to your cart)

  • Without Tax or coupons
  • With coupon
  • With Tax (Customer Shipping Address)
  • With Tax (Customer Billing Address)
  • With different shipping rates

Note

  • Test on shortcode cart, shortcode checkout, block cart, block checkout and product pages.
  • Test with both Google Pay and Apple Pay.
@Mayisha Mayisha added the status: blocked The issue is blocked from progressing, waiting for another piece of work to be done. label Oct 1, 2024
@mattallan mattallan self-assigned this Oct 14, 2024
@Mayisha Mayisha removed the status: blocked The issue is blocked from progressing, waiting for another piece of work to be done. label Oct 17, 2024
@Mayisha
Copy link
Contributor Author

Mayisha commented Nov 12, 2024

I have tested these scenarios for basic product purchases with ECE. GS also did their testing. They found one issue.

  • When Tax is enabled, the ECE button is missing on the pay for order page for both physical and virtual products.

@Mayisha
Copy link
Contributor Author

Mayisha commented Nov 12, 2024

When Tax is enabled, the ECE button is missing on the pay for order page for both physical and virtual products.

As per this comment this is the expected behavior. I have confirmed that this happens when there is no shipping methods in the site and the buttons appear if the shipping methods are defined.

Closing this as completed.

@Mayisha Mayisha closed this as completed Nov 12, 2024
@Mayisha Mayisha added the component: ECE Issues related to Express Checkout Element label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ECE Issues related to Express Checkout Element
Projects
None yet
Development

No branches or pull requests

2 participants