• Resolved Marisa

    (@marisa2023)


    The iDeal payment method is used in the Netherlands and is a type of direct bank transfer. It is used an an alternative to instant debit card payments. But the process is multi-step and requires the user to leave the Woocommerce and WordPress site to start the payment process.

    How well have you tested this payment method? Have you tested what happens if the user immediately hits the cancel button? Is the order marked as paid?

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

    (@inpsydekrystian)

    Hello @marisa2023

    Thanks for your question.

    Here’s how it works logically. When a customer selects iDEAL, the order is immediately set to on-hold while they are redirected to complete payment on their bank’s website.

    If they cancel right away:

    • They are returned to the site with a cancellation flag in the URL.
    • The plugin checks if the cancellation was legitimate (based on the error returned).
    • Only if PayPal explicitly sends back a “payment_error” or “processing_error”, the order is marked as failed.

    If no such error is received, the order stays on-hold indefinitely, even if the customer never paid. Importantly, the order won’t be marked as paid unless a successful payment confirmation is received from PayPal’s webhook. So there’s no risk of orders being falsely marked as completed.

    But yes, if the user cancels immediately, the order may appear “stuck” in on-hold, which can confuse.

    Kind Regards,
    Krystian

    Thread Starter Marisa

    (@marisa2023)

    I made sure no actions were taken by checking $order->is_paid()

    Yet when I made a test order with iDEAL and immediately cancelled it, our website acted as if the order was paid.

    I think you need to check this with your developers.

    Maybe you are right and a cancellation flag is set in URL, but I think you are also leaving the order set as if it was paid, hence $order->is_paid() is returned true.

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @marisa2023

    To properly identify the root cause, we will need to review the plugin logs. Please follow these steps:

    1. Go to WooCommerce → Settings → Payments → PayPal and scroll down to the Troubleshooting section.
    2. Enable the Logging option and click Save changes.

    Please note: if logging was not previously enabled, there will be no logs for earlier failed attempts. You will need to reproduce the issue again after enabling logging.

    Once reproduced:

    1. Go to WooCommerce → Status → Logs.
    2. In the dropdown, select the latest log file starting with woocommerce-paypal-payments and matching the date of the failed attempt.
    3. Copy the log contents and upload them to PrivateBin.
    4. Send us the PrivateBin link so we can analyze the logs in detail.
    5. Please also include a screenshot of the order in question, which will help you locate the order ID in the files.

    Once we have the log file, we will be able to confirm the cause and provide you with the next steps.

    If you do not wish to share this information publicly, we suggest you contact us directly for further assistance. We may need to examine your system report or logs to better understand what’s happening. You can open a ticket with our service desk. Here’s how you can request support: Request Support. Please make sure to include the URL of this thread in your ticket for reference.

    Kind Regards,
    Krystian

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

You must be logged in to reply to this topic.