• Resolved projectprogramamark

    (@projectprogramamark)


    Using the WooCommerce payments, with PayPal Credit Card option, I’ve been having frequent order failures. Some are still going through fine, but others error out and fail. It doesn’t seem to have a trend, and here are some of the order notes I’ve seen:

    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-DUPLICATE_INVOICE_ID /nas/content/live/wildartistryco/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/CreditCardGateway.php:549 [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-DUPLICATE_INVOICE_ID /nas/content/live/wildartistryco/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/OrderEndpoint.php:313 Order status changed from Pending payment to Failed.

    Could not process order. Order status changed from Pending payment to Failed.
    Booking #9961 status changed from “In Cart” to “Unpaid”

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @projectprogramamark,

    This error DUPLICATE_INVOICE_ID means there is already a payment at PayPal with this specific invoice ID.
    Please ensure a unique invoice prefix is configured in the plugin settings.
    This error is a feature from PayPal to prevent accidental double payments, and it could be disabled in the PayPal account settings.
    But instead of disabling it, it would be better to figure out why you are getting the error in the first place.
    Can you reproduce it yourself?

    Under normal circumstances, there shouldn’t be too many scenarios that could result in this error. Could you please share with us a copy of your WooCommerce system report so we can learn more about your site?
    The system report can be accessed from here:
    WooCommerce > Status > Get system report > Copy for support
    You can share it either here in the forums or privately with a link to this thread from here: https://paypal.inpsyde.com/docs/request-support/
    Thanks!

    Kind regards,
    Niklas

    Thread Starter projectprogramamark

    (@projectprogramamark)

    I just sent you my system report via the support ticket on that link you’ve sent me. The thing is, there are many orders failing with just the following block being the only error.

    Could not process order. Order status changed from Pending payment to Failed.

    There is a prefix for PayPal in the settings

    Thread Starter projectprogramamark

    (@projectprogramamark)

    It’s just occurred again…the prefix is there, so not sure why I would be having many of these failures?

    I have the same error. And many other failed orders with various different errors.

    Thread Starter projectprogramamark

    (@projectprogramamark)

    @doeksisters I’m also getting failed orders with various errors now. Just today I got a couple with the following:

    Could not retrieve order. /nas/content/live/wildartistryco/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/OrderEndpoint.php:459 Order status changed from Pending payment to Failed.

    Not sure what’s going on here, hopefully @niklasinpsyde can help

    We are also having lots of failed orders with PayPal payments:

    Could not retrieve order. …/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/OrderEndpoint.php:459 Order status changed from Pending payment to Failed.

    This seems to have started when the WooCommerce plugin updated and goofed up shipping zones.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @tdaholdings2022

    I believe your issues are not related to this thread, but to the one @doeksister opened: https://www.ads-software.com/support/topic/orders-failing-with-various-different-errors/

    On the duplicate_order_id error that this thread was originally opened for, we are working with @projectprogramamark, via a direct ticket via our service desk.

    I will mark this thread as resolved. If we find any conflict via the direct ticket, we will update our findings here later. For now, we will mark this thread as resolved.

    Kind regards,
    Joost

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Orders failing with errors’ is closed to new replies.