• Resolved ntbyk

    (@ntbyk)


    Bestellung konnte nicht abgerufen werden. /home/customer/www_store_url/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/OrderEndpoint.php:459 Status der Bestellung von Zahlung ausstehend auf Fehlgeschlagen ge?ndert.

    Order quittet on finishing… and this is attached to an failed order as comment! No error in log is provided!

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter ntbyk

    (@ntbyk)

    EDIT: I switched version to version back. At 1.8 it worked again. I keep this stage till someone close this error

    Worked for me too. Thanks

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @ntbyk

    thank you for reaching out to us, we are here to help.

    I believe the issue you are experiencing is related to a conflict with the SiteGround Optimizer plugin.
    The regular “Place order” button is hidden by the PayPal Payments plugin and then replaced by the smart buttons.
    Certain features in the SiteGround Optimizer plugin can essentially break this functionality, and then orders would fail if the buyer clicks the regular “Place order” button.

    Since the last PayPal Payments update, this problem can be caused when using Frontend Optimization (JavaScript).
    To prevent this issue, you could try different things:
    – Either insert a filter in your theme to prevent the Optimizer plugin from breaking PayPal Payments: https://gist.github.com/InpsydeNiklas/0e44ab66ab39f232591686d048a0e32e
    This filter must be added to your (child) theme’s functions.php file.
    – Or exclude PayPal Payments scripts from the Frontend Optimization features
    – Or Entirely disabling the Frontend Optimization features:

    Let us know how this works for you!

    Alternatively, downgrading is always an option if you encounter a problem with a plugin update.
    You can also find all previous plugin versions at the bottom of this page:
    https://www.ads-software.com/plugins/woocommerce-paypal-payments/advanced/
    Or here on GitHub:
    https://github.com/woocommerce/woocommerce-paypal-payments/releases

    Kind regards,
    Joost

    Thread Starter ntbyk

    (@ntbyk)

    Well that might be a little bit fishy but it worked. Maybe create a documentation with hints for well known bugs including this for specific hoster.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @ntbyk

    this fix only occurred after our last release and is only known to us since last week. When we get confirmation that the filter resolved the issue, we will add it to the next release. Can you confirm this filter resolved the issue for you?

    Kind regards,
    Joost

    Thread Starter ntbyk

    (@ntbyk)

    Yeah i added the js files to all compressing and minify and it worked fine

    Hi Joost,

    we have the same problem. Today we got two failed orders with different error message in the order notes. One is the same as ntbyk posted. I did a test and the frontend says:

    Failed to process the payment. Please try again or contact the shop admin. [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-AGREEMENT_ALREADY_CANCELLED

    The Paypal button looks like this: https://share.cleanshot.com/k8SrMS

    The orders notes say:

    Failed to process the payment. Please try again or contact the shop admin. [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-AGREEMENT_ALREADY_CANCELLED PayPalGateway.php:502 [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-AGREEMENT_ALREADY_CANCELLED OrderEndpoint.php:313 Status der Bestellung von Zahlung ausstehend auf Fehlgeschlagen ge?ndert.

    The other error message from the two clients orders is:

    Failed to process the payment. Please try again or contact the shop admin. [RESOURCE_NOT_FOUND] The specified resource does not exist. https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_RESOURCE_ID /kunden/414834_50823/webseiten/shop/live/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/PayPalGateway.php:502 [RESOURCE_NOT_FOUND] The specified resource does not exist. https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_RESOURCE_ID /kunden/414834_50823/webseiten/shop/live/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/OrderEndpoint.php:551 Status der Bestellung von Zahlung ausstehend auf Fehlgeschlagen ge?ndert.

    Rollback to 1.8 does not work for me, this error comes back then:

    CANNOT_BE_ZERO_OR_NEGATIVE Must be greater than zero. If the currency supports decimals, only two decimal place precision is supported.

    We don’t use Siteground, but WP Rocket, but deactivating this does not solve the problem.

    And I did several tests, the error does only appear when logged in.

    At the moment I do not have a solution for this.

    Thanks again for your help!
    Dirk

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @dmwc

    this is not the same issue, the errors are completely different. You should open a new ticket for this in case you need our help.

    Before you do, you may want to perform a full conflict test to rule out eventual issues with the theme or a different plugin. We recommend temporarily activating the default theme Storefront and disabling all other plugins except for?WooCommerce and?PayPal Payments to see if the behaviour persists.

    Here’s a guide that explains the steps in more detail: How to test for conflicts

    We advise you this because the error “RESOURCE_NOT_FOUND” often is related to a plugin conflict. Please inform us about any testing outcome when/if you open a new ticket.

    Kind regards,
    Joost

    Thanks and sorry, looked like the same error in the first place. I am testing now!

    Hi there,
    I’m not sure if it is the same error. We had this message on a failed order recently:

    Bestellung konnte nicht abgerufen werden. OrderEndpoint.php:459 Status der Bestellung von Zahlung ausstehend auf Fehlgeschlagen ge?ndert.

    Also, we have a different case where we are not able to capure an authorized payment receiving an error. Please advise

    Hey! We got the same error as @livingwines .
    Fresh woocommerce shop. No “SiteGround Optimizer” plugin.

    We use:

    WooCommerce 6.9.3
    WooCommerce PayPal Payments 1.9.3

    The error:

    Bestellung konnte nicht abgerufen werden. OrderEndpoint.php:459 Status der Bestellung von Zahlung ausstehend auf Fehlgeschlagen ge?ndert.

    Order could not be retrieved. OrderEndpoint.php:459 Order status changed from Payment pending to Failed.

    Same issue popped up 2 days ago for us. We don’t run siteground or any optimizer.

    Could not retrieve order. OrderEndpoint.php:459 Order status changed from Pending payment to Failed.

    Hey, I’m currently facing the same issue. The solutions mentioned above haven’t been successful. Now I don’t know which plugin could be responsible. I don’t have any optimization plugin enabled.

    Same problem: Bestellung konnte nicht abgerufen werden.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Strange Error on order complete’ is closed to new replies.