Error altough Payment and Order succeeded
-
Hi,
since 3 days, I’m facing the following issue.
Some customers reported, that they received an error after completing paypal express checkout, which made them think, that their order was not received, altough we received the order and payment.
So they try again and again, and we receive multiple orders and payments, which we now need to refund.
Obviously this is not the case for every customer.
I already investigated php error.log and paypal-plus log.
What I’ve found in the php error.log is:
20036#0: *87782 FastCGI sent in stderr: “log-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WCPayPalPlus\ExpressCheckoutGateway\Gateway->process_payment, WCPayPalPlus\Payment\PaymentPatcher->execute, WCPayPalPlus\Payment\PaymentPatchData->get_patch_request, WCPayPalPlus\Payment\PaymentPatchData->get_patches, WCPayPalPlus\Payment\PatchProvider->items, WCPayPalPlus\Payment\PatchProvider->itemsList, WCPayPalPlus\Payment\CartData->itemsList, WCPayPalPlus\Payment\CartData->item, WCPayPalPlus\Payment\CartItemData->get_sku, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.PHP message: parent was called incorrectly. Produkteigenschaften sollten nicht direkt abgerufen werden. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WCPayPalPlus\ExpressCheckoutGateway\Gateway->process_payment, WCPayPalPlus\Payment\PaymentPatcher->execute, WCPayPalPlus\Payment\PaymentPatchData->get_patch_request, WCPayPalPlus\Payment\PaymentPatchData->get_patches, WCPayPalPlus\Payment\PatchProvider->items, WCPayPalPlus\Payment\PatchProvider->itemsList, WCPayPalPlus\Payment\CartData->itemsList, WCPayPalPlus\Payment\CartData->item, WCPayPalPlus\Payment\CartItemData->get_sku, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.PHP message: parent was called incorrectly. Produkteigenschaften sollten nicht direkt abgerufen werden. Backtrace: require(‘wp-blog-header.php’), require_
in the paypal plus log I found that:
2020-07-02T17:57:05+00:00 INFO GET https://api.paypal.com/v1/payments/payment/PAYID-L36Y4RQ3UL48269439635243
2020-07-02T17:57:05+00:00 INFO Response Status : 404
2020-07-02T17:57:05+00:00 ERROR Got Http response code 404 when accessing https://api.paypal.com/v1/payments/payment/PAYID-L36Y4RQ3UL48269439635243. {“name”:”INVALID_RESOURCE_ID”,”message”:”The requested resource ID was not found”,”information_link”:”https://developer.paypal.com/docs/api/payments/#errors”,”debug_id”:”3580e815aeff4″}
2020-07-02T17:57:05+00:00 ERROR Validate Payment ID: PAYID-L36Y4RQ3UL48269439635243: Failed{“name”:”INVALID_RESOURCE_ID”,”message”:”The requested resource ID was not found”,”information_link”:”https://developer.paypal.com/docs/api/payments/#errors”,”debug_id”:”3580e815aeff4″}
2020-07-02T17:57:16+00:00 INFO POST https://api.paypal.com/v1/payments/payment
2020-07-02T17:57:17+00:00 INFO Response Status : 201
2020-07-02T17:57:43+00:00 INFO GET https://api.paypal.com/v1/payments/payment/PAYID-L37B77A5SX15171278451312
2020-07-02T17:57:44+00:00 INFO Response Status : 200
2020-07-02T17:57:44+00:00 INFO GET https://api.paypal.com/v1/payments/payment/PAYID-L37B77A5SX15171278451312
2020-07-02T17:57:44+00:00 INFO Response Status : 200
2020-07-02T17:57:44+00:00 INFO PATCH https://api.paypal.com/v1/payments/payment/PAYID-L37B77A5SX15171278451312
2020-07-02T17:57:45+00:00 INFO Response Status : 200I hope for urgent support.
The page I need help with: [log in to see the link]
- The topic ‘Error altough Payment and Order succeeded’ is closed to new replies.