This repository has been archived by the owner on Jun 7, 2022. It is now read-only.
[3.2.0] All payments/gateways using SV framework fail, "Cannot access protected property" $customer_id #8369
Labels
priority: critical
The issue is critical—e.g. a fatal error, security problem affecting many customers.
type: bug
The issue is a confirmed bug.
Describe the bug
Since version 3.2.0 was released, any payment gateway that uses SV's framework is failing to process any payments due to the following error:
The error above is specifically related to Square, however, this is happening on sites that have the WooCommerce Admin plugin (version 3.2.0) active, as well as any gateway using the SV framework (Square, PPBT, Authorize.Net, etc).
From what we've been able to find thus far, we suspect that this may be related to this PR:
59c3883#diff-4f4ffc2a47984c09fa78d890645b72869d0652ef4c63074bd5c29934eeaa12b2
The Checkout page may also experience an issue, as seen here:
The current workaround (that appears to be working) is to deactivate the WooCommerce Admin plugin (as we have confirmed successful payments being made after that).
To Reproduce
Actual behavior:
Payments are failing with new orders and subscriptions, when being processed while version 3.2.0 of the WooCommerce Admin plugin is active on the site.
Expected behavior
Payments should process successfully.
Additional context
We've received quite a few reports of this from customers:
4806629-zen
4806408-zen
2261145-hc
The text was updated successfully, but these errors were encountered: