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

Hooks between PayPal and WooCommerce Subscription simply doesn't work #763

Open
obey24com opened this issue Jan 12, 2025 · 1 comment
Open
Labels
type: bug The issue is a confirmed bug. woocommerce-subscriptions-core

Comments

@obey24com
Copy link

I'm in touch with the support since 1 year now. We have so many issues with this and no one (Neither Woo-Support, nor Woo PayPal Payments Support / Syde) could resolve the problems. It seems like the PayPal hook simply doesn't work.

We have a few users subscribed to a product. Issues we're facing:

  • Next Payment Date, Last Order Date and "Orders" are not always correct (for just some users they are but there is no indicator why)
  • When the users cancels the subscription on the frontend, it will not trigger PayPal to cancel the sub.
  • Some Subs will renew on PayPal, but not on WooCommerce Sub.

Did anyone face the same issues and got any solutions or alternative Plugins? I don't want to write back and forth with the support anymore.

@obey24com obey24com added the type: bug The issue is a confirmed bug. label Jan 12, 2025
@mattallan
Copy link
Contributor

Hey @obey24com, sorry to hear you've also been having these ongoing issues with Subscriptions and PayPal payments!

Just to confirm:

  • do you have Subscriptions Mode set to "PayPal Subscriptions" in your PayPal Payments settings?
  • is your site properly setup to receive/send requests from PayPal related to your subscriptions?

Image

Assuming the above point, back in September, 2024 I found multiple bugs with the PayPal Subscriptions feature and have passed them along to the Syde team. Here's the list of issues I found:

  1. When a subscription renews, the customer is charged by PayPal, but no renewal order was created in WooCommerce.

Note

This looks to have been fixed in PayPal Payments version 2.9.4 which was released on November 11th.

  1. Cancelling a subscription from the WooCommerce > Subscriptions list table, does not cancel the subscription on PayPal.
  2. Subscriptions never update their next payment date in WooCommerce - resulting in subscriptions appearing to be overdue when they're not.

Note

I followed-up internally with Syde regarding this issue again on Dec 30, 2024.

  1. Placing a subscription on-hold in WooCommerce doesn’t pause the subscription in PayPal.

Based on your comments, it looks like some of these haven't been fixed so I'll pass this along to the Syde team again.


any solutions or alternative Plugins?

I would personally not recommend setting Subscriptions Mode to "PayPal Subscriptions" and would recommend getting vaulting enabled on your PayPal account and then setting Subscriptions Mode to "PayPal Vaulting" instead.

I'm not familiar with the process of enabling vaulting/references transactions, but there's a doc here: https://woocommerce.com/document/woocommerce-paypal-payments/#get-vaulting-approval

What is the difference between PayPal Subscriptions and PayPal Vaulting?

For stores with Subscriptions Mode set to PayPal Subscriptions, when a customer purchases a subscription product, this creates a subscription in both Woo and PayPal. PayPal manages the billing side of this subscription and Woo attempts to keep its version of the subscription in sync with PayPal. When PayPal processes a renewal, your Woo store needs to successfully handle the webhook.

For stores with Subscriptions Mode set to PayPal Vaulting, there is no subscription that gets created on PayPal's side. Your WooCommerce store manages the subscriptions billing cycle and charges the renewal orders using a saved payment token provided by PayPal.

There are challenges and risks associated with Subscriptions Mode set to PayPal Subscriptions so unless you need to have subscriptions created on PayPal's side, I would suggest looking into PayPal Vaulting and relying on WooCommerce Subscriptions to handling the renewal process.

Hope this all makes sense, feel free to respond with any follow-up questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug The issue is a confirmed bug. woocommerce-subscriptions-core
Projects
None yet
Development

No branches or pull requests

3 participants