woocommerce / woocommerce-gateway-stripe

The official Stripe Payment Gateway for WooCommerce
https://wordpress.org/plugins/woocommerce-gateway-stripe/
228 stars 201 forks source link

Woo Stripe not working anymore with the YITH WooCommerce EU VAT, OSS & IOSS support plugin #2427

Open orhanfernandes opened 2 years ago

orhanfernandes commented 2 years ago

Describe the bug

Our customer on 5556908-zen understands that this is out of scope and our in-house dev-team suggested creating a bug report for this. The issue as mentioned by our user:

The YITH WooCommerce EU VAT, OSS & IOSS Premium has stopped working when using the Stripe for WooCommerce plugin (these two plugins originally worked fine together).

The issue has been tested extensively with YITH and we have determined that for some reason

\" the call of their API is deleting our data when creating the order.

We think that this is caused because, after the API call, the plugin is deleting the WC Session, or at least deleting the data we attach to the session. So when creating the order, even if it has a validated VAT number, it would be deleted in the process.

We would like you to be in touch with their support to try to confirm this is the case. So, knowing that and being sure of that, we could try to find a workaround. Maybe they have even a way to avoid this session erase and the problem would be resolved. \"

Expected behavior

The expectation as with previous versions of WooCommerce Stripe is that it should work with this plugin: https://support.yithemes.com/hc/en-us

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

`

WordPress Environment

Active Plugins (47)

Query Monitor: by John Blackbourn – 3.10.1 Advanced Woo Labels: by ILLID – 1.52 Antispam Bee: by pluginkollektiv – 2.11.1 Disable Cart Fragments: by Optimocha – 2.1.1 Doofinder for WooCommerce: by doofinder – 1.5.33 Dynamic Visibility for Elementor: by Dynamic.ooo – 5.0.1 Elementor Pro: by Elementor.com – 3.7.5 Elementor: by Elementor.com – 3.7.4 Facebook for WooCommerce: by Facebook – 2.6.23 Forminator Pro: by WPMU DEV – 1.18.1 Gift Up!: by Gift Up! – 2.18.1 GP Premium: by Tom Usborne – 2.1.2 If Menu - Visibility control for menus: by Layered – 0.16.3 iThemes Security Pro: by iThemes – 7.1.3 Klarna Order Management for WooCommerce: by klarna krokedil – 1.6.10

Klarna Payments for WooCommerce: by krokedil klarna automattic – 2.11.4

Login Designer: by LoginDesigner – 1.4 Mailchimp for WooCommerce: by Mailchimp – 2.7.5 Members: by MemberPress – 3.2.1 Metorik Helper: by Metorik – 1.5.2 WooCommerce Sync for QuickBooks Online - by MyWorks Software: by MyWorks Software – 2.6.0 Post SMTP: by Post SMTP – 2.1.9 Recently Registered: by Mika Epstein – 3.5 Rank Math SEO PRO: by Rank Math – 3.0.20 Rank Math SEO: by Rank Math – 1.0.97 SVG Support: by Benbodhi – 2.5.1 Aelia Foundation Classes for WooCommerce: by Aelia – 2.3.1.220830 WooCommerce Conditional Shipping and Payments: by WooCommerce – 1.14.2 WooCommerce DYMO Print: by WP Fortune – 6.0.3 WooCommerce EU VAT Assistant: by Aelia – 2.0.34.220830 WooCommerce Stripe Gateway: by WooCommerce – 6.7.0 WooCommerce Google Analytics Integration: by WooCommerce – 1.5.14 WooCommerce Google Product Feed: by Ademti Software Ltd. – 10.7.5 WooCommerce Wholesale Lead Capture: by Rymera Web Co – 1.17.1 WooCommerce Wholesale Prices Premium: by Rymera Web Co – 1.29 WooCommerce Wholesale Prices: by Rymera Web Co – 2.1.4 WooCommerce: by Automattic – 6.9.0 WP Rocket: by WP Media – 3.12.0.5 Smush Pro: by WPMU DEV – 3.11.1 WP YouTube Lyte: by Frank Goossens (futtta) – 1.7.19 WPMU DEV Dashboard: by WPMU DEV – 4.11.16 Custom Product Tabs for WooCommerce: by YIKES Inc. – 1.7.9

YITH WooCommerce Advanced Reviews Premium: by YITH – 1.19.0 YITH WooCommerce Customize My Account Page Premium: by YITH – 3.15.0 YITH WooCommerce Points and Rewards Premium: by YITH – 3.13.0 YITH WooCommerce Product Add-ons & Extra Options: by YITH – 2.13.0 YITH WooCommerce Product Bundles Premium: by YITH – 1.16.0

Additional context

Our customer is aware that this is out of scope and this has been reported to the Dev-team for some initial troubleshooting which prompted this issue to be created.

dougaitken commented 2 years ago

I'd like us to confirm which version exactly broke this, and how it is being focused on the Stripe extension rather than the YITH plugin.

As a note - YITH WooCommerce EU VAT, OSS & IOSS isn't mentioned in the active plugins list you shared @orhanfernandes - if that is a SSR, please edit your comment and include an SSR within details markdown.

<details>
<summary>
place SSR here.
</summary>

</details>

Thanks,

amElnagdy commented 1 year ago

From the merchant:

So I thought I narrowed down the issue with the Stripe for WooCommerce plugin from between versions 6.4.2 - 6.6.0.

However, during testing, the issue was still not resolved when reverting the official WooCommerce Stripe plugin to v6.4.3.

So, I tested down to v6.2.0 of the official WooCommerce Stripe plugin and still had no luck.

dougaitken commented 1 year ago

(these two plugins originally worked fine together) So, I tested down to v6.2.0 of the official WooCommerce Stripe plugin and still had no luck.

To me it sounds like these two either contradict themselves, or previously it was a version lower than 6.2.0 of the Stripe plugin that "worked fine". If it is a version before that then I feel this is outside of our scope and not a bug report from our side but I'll defer to engineering