• Resolved Pierre-Emmanuel

    (@pedubreuil)


    Hello

    We try to use “Payment Plugins for PayPal WooCommerce” with sandbox mode.

    We need the funds to be captured immediately during checkout. But the orders are stuck within “on hold” status. When I check the plugin logs, I see this : 2023-09-22T11:47:12+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED

    So I do not understand why the order status is never set to “processing” as expected. What should I do ?

    Thank you in advance

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @pedubreuil

    The CHECKOUT.ORDER.APPROVED event is triggered by PayPal when the customer clicks the “Complete Payment” button in the PayPal payment window. That doesn’t mean the payment has been completed.

    If an order has an on-hold status then check to see if you have configured the PayPal plugin to authorize payments rather than capture them.

    What do the WooCommerce order notes say? An order can also be placed on-hold if PayPal indicates the funds are held while they review the payment. That is a security feature of PayPal to prevent fraud.

    Kind Regards

    Thread Starter Pierre-Emmanuel

    (@pedubreuil)

    Hi @mrclayton

    Thank you for your reply !

    The transaction type is “Capture” : based on the explanations in the contextual help, this type should capture immediatly funds at checkout…

    Here are the notes generated in my order :

    1st note :

    PayPal capture status is pending. Reason: UNILATERAL. Payment will complete when capture.completed webhook is received.
    Status modified from “pending” to “on hold”

    2nd note :

    PayPal order 3X203199SE3068644 created. Capture ID: 7XF38817LF746420B

    Nothing else… so my order is still stuck in “on hold” status…

    Any idea ? Thank you in advance

    Thread Starter Pierre-Emmanuel

    (@pedubreuil)

    I changed manually the Sandbox Client ID, Sandbox Secret Key and Sandbox Webhook ID, to match with a new Paypal App and now this works !! I don’t know what was the default app used when I linked the plugin with my paypal account, but this default app was not working.

    Thanks for your help !

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘order stays “on hold” while “CHECKOUT.ORDER.APPROVED” event received’ is closed to new replies.