orders staying ‘on hold’
-
Hi,
Im using storefront theme, and only have 2 plugins activated (wc and paypal payments).
I activated and connected it. Im in sandbox mode. When I do a payment, it always stays stucked to ‘on hold‘, and i have those warnings:
2024-12-17T08:01:29+00:00 Warning [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/api/rest/reference/orders/v2/errors/#ORDER_ALREADY_COMPLETED CONTEXT: {"args":{"method":"PATCH","headers":{"Authorization":"Bearer A21AAJcN2oWh0XPKtUczXswnGXOD66SYdljEP7HxjZ_aw8UsfnY71OIEfPoLtDWuOw-z4V22F4QK3hbCOm80TwubFc4rmz7yA","Content-Type":"application/json","Prefer":"return=representation"},"body":"[{"op":"replace","path":"\/purchase_units\/@reference_id=='default'","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"49.00","breakdown":{"item_total":{"currency_code":"EUR","value":"40.83"},"shipping":{"currency_code":"EUR","value":"0.00"},"tax_total":{"currency_code":"EUR","value":"8.17"}}},"description":"","items":[{"name":"productName","unit_amount":{"currency_code":"EUR","value":"40.83"},"quantity":1,"description":"[av_submenu which_menu='' menu='78' position='left' color='header_color' mobile='disabled' av_uid='av-1yy6ajo' custom_class='pd","sku":"","category":"DIGITAL_GOODS","url":"https:\/\/www.mySiteName.com\/product\/productName\/","image_url":"https:\/\/www.mySiteName.com\/dir\/..\/uploads\/productImage.png"}],"custom_id":"10116","invoice_id":"10116","soft_descriptor":"Soft"}}]"},"response":{"headers":{},"body":"{"name":"UNPROCESSABLE_ENTITY","details":[{"issue":"ORDER_ALREADY_COMPLETED","description":"The order cannot be patched after it is completed."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"f857148c65811","links":[{"href":"https://developer.paypal.com/api/rest/reference/orders/v2/errors/#ORDER_ALREADY_COMPLETED","rel":"information_link","method":"GET"}]}","response":{"code":422,"message":"Unprocessable Entity"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
2024-12-17T08:01:29+00:00 Warning Failed to process WC order 10116: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/api/rest/reference/orders/v2/errors/#ORDER_ALREADY_COMPLETED.Any idea why that could be?
Note that I was previously using the legacy paypal standard extension.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.