-
Notifications
You must be signed in to change notification settings - Fork 50
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
PayPal Payments is forcing all products to be sold individually #2462
Comments
Hello @james-allan, the issue you mentioned was resolved in PR #2400 and is included in the latest 2.8.2 version of the plugin. Therefore, it should not be an ongoing problem.
We understand the importance of allowing users to configure their product settings freely. However, when users connect a subscription-type product with a PayPal subscription plan, we must enforce certain limitations. PayPal does not support all of the subscription customizations available in WooCommerce once the plan is created. Forcing the "sold individually" setting was not an easy decision and initially did have some unintended side effects. However, it is meant to only be applied when the subscription product is actively connected to a PayPal subscription which requires manual user input. We are working on better communicating the limitations that come with the PayPal Subscriptions feature from the admin UI, so users can make informed decisions about their subscription setups and have more visibility on the upgrade path to PayPal Vaulting, which does not have these limitations. |
Thanks @InpsydeNiklas for the insights. You all are much closer to the product and PayPal requirements so I'll leave those decisions up to you. I had a feeling there was more to it, and it sure sounds like it. :)
We'll double check and make sure the user cannot replicate on the latest version.
While this is unlikely, once the |
Thanks for your feedback! While this scenario should not happen often, it probably still justifies extending the condition with a check for a subscription-type product. We'll look into that! |
Describe the Bug
In the #2265 PR, PayPal Payments includes code which forces all products to be sold individually.
Looking at the PR, it looks like the intention was for this to only affect subscription products, however it's impacting all product types.
To Reproduce
Based on user reports
Expected Behavior
The sold individually setting should reflect the user's choice, rather than being forced either way.
Actual Behavior
PayPal Payments is setting it to
true
via this code:woocommerce-paypal-payments/modules/ppcp-paypal-subscriptions/src/PayPalSubscriptionsModule.php
Lines 720 to 722 in f52b01b
Note that that code runs before you've determined if it's a subscription product.
Note
I'm not even sure forcing this setting to be on for subscription products is correct either. If a store offers multiple payment methods, forcing all subscriptions to be sold individually because PayPal is installed seems a little heavy handed. Having said that, there's more to this as I could see customers placing multiple subscriptions in the cart and then having no eligible payment methods on stores that exclusively offer PayPal. Probably something to consider though.
Environment
Additional Details
System status
The text was updated successfully, but these errors were encountered: