• Resolved t.schwarz

    (@tschwarz-1)


    Hi,

    I realized that, contrary to observed prior behavior, now paid orders for products that are marked *virtual* and paid via paypal are not automatically assigned the order status “completed” upon payment received, products marked as “virtual” AND “downloadable” will still automatically be assigned the status “completed” upon payment being received.

    The Paypal tracking meta box is visible for “virtual” products.
    Calculation of shipping is disabled in WooCommerce settings.

    As the products in question actually are a service to be performed later they aren’t downloadable, and marking them as “downloadable” will create a legal checkbox (in Germany) that could create legal problems, simply marking them as “downloadable” in addition to “virtual” is not an option. For the Germany-related legal aspects the plugin “Germanized” by Vendidero is used.

    Before adding a filter to the system to re-enable the automatic assigment of “complete” to the system manually, I’d like to know if there have been recent changes to the way paypal/the plugin behave and this is expected behavior now, or if it’s something that should be further researched.

    Thanks for your help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Krystian

    (@inpsydekrystian)

    Hello @tschwarz-1

    Just to clarify, is this happening only with PayPal orders, or does it occur with other payment gateways as well? You can easily verify this by performing a dummy payment, which is available here: Dummy Payment Gateway.

     I’d like to know if there have been recent changes to the way paypal/the plugin behave and this is expected behavior now, or if it’s something that should be further researched.

    No, PayPal Payments works according to the default WooCommerce workflow, which means that virtual and downloadable products are automatically marked as “completed” upon receiving payment. There are no exceptions to this in a default environment.

    Most likely one of your plugins might be overriding this status. I recommend testing the process without any additional plugins enabled. If the issue no longer occurs, you will need to identify which plugin is causing this. If you encounter any difficulties in identifying the cause, please let us know. For testing purposes, you can also use a sandbox account to verify the behavior.

    Kind Regards,
    Krystian

    Hi all, I’m experiencing the same issue since January. Plase I would need help with this as well. It’s happening with all of the kind payments (cards, Paypal, Bizum, etc)

    Thanks a lot!

    Regards,

    Marcos

    Thread Starter t.schwarz

    (@tschwarz-1)

    I tried it again in a vanilla installation with only WooCommerce, the TT23 theme and the Dummy Payment Gateway (even Paypal Payments deativated) and while the dummy payment is noted as “paid” the order status is still “processing”, so this actually seems like change in default behavior for some reason.

    Plugin Support Krystian

    (@inpsydekrystian)

    Hello @tschwarz-1

    Just to double-check—are you saying that your virtual and downloadable product remains in Processing status instead of being marked as Completed after the order is processed? That would indeed be outside the default behavior.

    Please feel free to share screenshots of this behavior, including an order screenshot and the product details. We’ll take a closer look and assist you in resolving this issue.

    Also, please follow these steps to share your system status report with us:

    1. Navigate to the WooCommerce / Status section in your site’s admin panel.
    2. Click on the Get system report button and then click Copy for support.
    3. Paste the report into our PrivateBin.
    4. After uploading, please share the link here so we can review the details thoroughly.

    We are waiting for your system reports to proceed with the analysis.

    Kind Regards,

    Krystian

    Thread Starter t.schwarz

    (@tschwarz-1)

    Hi Krystian,

    thanks for looking into this!

    Here’s the status report, and screenshots for test purchases with the dummy gateway of both a simple virtual as well as a simple virtual AND downloadable product. Installation is a multisite instance on localwp, 6.71, TT23. Virtual product is marked as processing after the purchase, virtual and downloadable product is marked as completed.

    (edit, not sure the screeshots have actually been added to the post, post is held in review)

    https://privatebin.syde.com/?589b7057ac1cb653#DCNfFSPzJcg2PqH3Ls2h5PidnUxE4opW36gBJB7vWvpn

    • This reply was modified 7 months, 3 weeks ago by t.schwarz.
    Plugin Support Krystian

    (@inpsydekrystian)

    Hello @tschwarz-1

    I’m still a bit unsure and feel like some details are missing, most likely lack of screenshot complicates stuff here. Regarding the screenshots that’s a known problem on wp.org, so it’s better to share a direct URL to them instead of embedding them. So just to clarify—when using the dummy payment gateway, you get the expected outcome:

    • Simple virtual productprocessing
    • Simple virtual & downloadable productcompleted

    But with PayPal Payments, you are getting processing for the same products?

    By default, the correct behavior for PayPal Payments is:

    • Virtual productsprocessing
    • Virtual & downloadable productscompleted

    If you’re seeing something different, there might be an issue, and a screenshot would really help clarify what’s happening. If possible, please share it via a direct link rather than embedding it.

    Thanks, and looking forward to your response!

    Kind Regards,

    Krystian

    Thread Starter t.schwarz

    (@tschwarz-1)

    Hi Krystian,

    thanks again for looking into this.

    By default, the correct behavior for PayPal Payments is:

    • Virtual products → processing
    • Virtual & downloadable products → completed

    This is exactly the behaviour I’m observing. Re-reading the tread, I suppose this sentence in your original reply

    that virtual and downloadable products are automatically marked as “completed” upon receiving payment.

    led me to misunderstand your point. Now I suppose you write “virtual and downloadable” in the sense of a logical AND while I assumed it to mean “both”, indicating that something was off. So, if that is indeed the default behavior – this is what I’m seeing.

    That said, I remember that previously “virtual” products that weren’t marked as downloadable were also marked as completed after the paypal payment was received. I assumed *that* was default behavior. Was it at some point?

    Thanks again for helping to sort this out. Knowing this I guess it’s ok now to add a filter that changes the status to “completed” for “virtual” products that aren’t also downloadable (events/services) when the payment is received.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Virtual orders not automatically marked as “completed”’ is closed to new replies.