woocommerce / woocommerce-paypal-payments

https://wordpress.org/plugins/woocommerce-paypal-payments/
GNU General Public License v2.0
62 stars 48 forks source link

Orders Stuck in Processing #1947

Open nhterry opened 10 months ago

nhterry commented 10 months ago

Describe the Bug

I have digital subscription products that I sell in my store. I also sell some of these digital products with a free 7-day trial.

The last working PayPal plugin version was 2.2.2 without this issue.

I just tested out WooCommerce PayPal Payments version 2.4.3 thinking that this was probably fixed by now, but it is still a problem.

Order statuses incorrectly stay in processing rather than automatically completing when the order only includes a virtual digital product.

This seems like the same error as: https://github.com/woocommerce/woocommerce-paypal-payments/issues/1826

To Reproduce

  1. Activate and set up Woo Subscriptions, PayPal Payments and Stripe
  2. Purchase a digital subscription with a free trial
  3. Note the error in the parent order notes "Error during status transition. PayPal order ID not found in meta."

Screenshots

PayPal - Plugin Bug - 2024-01-08_11-38-49

Expected Behavior

The behavior of digital subscription product orders is for their status to automatically go from "Processing" to "Completed"

There should not be any PayPal Payments errors on an order purchased using another gateway

Actual Behavior

The orders get stuck in the "Processing" status.

Environment

Additional Details

Sirvijver commented 10 months ago

Hello @nhterry

You have reached out to open GitHub forum with a support request. We utilize GitHub mainly for development activities, so I would like to ask you to reach out to the support team directly for more guidance.

We had an issue that caused this problem, but we actually released a fix for this with the release of version 2.4.1. Here you can find the details on the fix for this problem. We got confirmations from other merchants that this issue was resolved for them, but it seems that your situation is still occurring with this fix in place.

I would advise opening a support thread as advised above. In this thread, please tell us if you are able to reproduce this issue yourself and if you have performed any conflict testing for it. When you open the support thread, please also provide us with the system report. We will close this thread here in GitHub now.

Kind regards, Joost

nhterry commented 10 months ago

@Sirvijver

I'm currently unable to reset my password to log in to wordpress.com to contact the support team directly.

I just did a fresh install of wordpress, woocommerce, woo subscriptions, paypal, and stripe and I'm having the same issue with subscription virtual products.

For testing purposes, the only plugins I have installed are:

I'm making the purchases with WooCommerce Stripe Gateway where the error Error during status transition. PayPal order ID not found in meta. is showing.

PayPal - Plugin Bug2 - Sub Settings - 2024-01-08_11-38-49

PayPal - Plugin Bug2 - 2024-01-08_11-38-49

cdayne commented 10 months ago

We had an issue that caused this problem, but we actually released a fix for this with the release of version 2.4.1. Here you can find the details on the fix for this problem. We got confirmations from other merchants that this issue was resolved for them, but it seems that your situation is still occurring with this fix in place.

The fix applied in version 2.4.1 has since been reverted with the code refactor in 2.4.3

nhterry commented 10 months ago

Thanks @cdayne, I thought I was going crazy.

@Sirvijver does this issue need to be reopened then?

pingram3541 commented 9 months ago

The issue has resurfaced for me as well, ver. 2.5.1

nhterry commented 9 months ago

@Sirvijver can you reopen this issue please?

Sirvijver commented 9 months ago

Hello all, we are looking into some other cases that could be related to this, so this could be improved soon. However, if you want our support team to look into this, you might want to create a support thread outside of GitHub on one of our support platforms. If you cannot log into WP, you might want to open a support thread on another support platform via these instructions: https://paypal.inpsyde.com/docs/request-support/ The GitHub platform is not often checked by our support team (as you can see), so a response can take a long time.

I will link this to an internal bug, so we have the thread at least a bit more on our radar, but we cannot promise any response time to it.

Kind regards, Joost