• Resolved troutdev

    (@troutdev)


    When using the advanced card processing card details form, you can add any card details and will receieve the error below:

    There was an error processing your order. Please check for any charges in your payment method and review your order history before placing the order again.

    logs:
    2025-08-01T12:16:09+00:00 Debug #2919 – [New Request] POST / 2025-08-01T12:16:09+00:00 Warning #2919 – No PayPal order ID found in order #104105 meta. 2025-08-01T12:16:09+00:00 Error #2919 – Payment failed: There was an error processing your order. Please check for any charges in your payment method and review your order history before placing the order again. OrderProcessor.php:191

    Code in question, looks like paypal_order_id is not being set or sent;

     $order = $this->session_handler->order();
    if (!$order) {
    // phpcs:ignore WordPress.Security.NonceVerification
    $order_id = $wc_order->get_meta(PayPalGateway::ORDER_ID_META_KEY) ?: wc_clean(wp_unslash($_POST['paypal_order_id'] ?? ''));
    if (is_string($order_id) && $order_id) {
    try {
    $order = $this->order_endpoint->order($order_id);
    } catch (RuntimeException $exception) {
    throw new Exception(__('Could not retrieve PayPal order.', 'woocommerce-paypal-payments'));
    }
    } else {
    $this->logger->warning(sprintf('No PayPal order ID found in order #%d meta.', $wc_order->get_id()));
    throw new PayPalOrderMissingException(esc_attr__('There was an error processing your order. Please check for any charges in your payment method and review your order history before placing the order again.', 'woocommerce-paypal-payments'));
    }
    }

    system report:
    https://privatebin.syde.com/?8b7e9468c2d10e86#5mTLeRkfeVVMp4J1eLHvVZbHmzybaX2S9khzKFknPvu8

Viewing 7 replies - 1 through 7 (of 7 total)
  • Having same issue also, rolled back to previous plugin version for now.

    Thread Starter troutdev

    (@troutdev)

    I was actually able to fix this by Disconnecting PayPal connection and then reconnecting. Even though the keys and credentials matched identically, it seems to now be working.

    Plugin Support Syde Jamie

    (@jamieong)

    Hi @troutdev ,

    Thank you for confirming that it is working now. There was a temporary downtime reported, reconnecting seemed to have restored the connection. You may use this link to check for any disruptions: https://www.paypal-status.com/product/production.

    We will now mark this ticket as resolved, if you have further questions, please do not hesitate to reach out to us. If you’re happy with the support, feel free to leave a quick review on WordPress — it means a lot to us now.

    Best Regards,
    Jamie

    Thread Starter troutdev

    (@troutdev)

    This has resurfaced again now, nothing has changed on the site, and PayPal status page is all green. So do thing their is an underlying issue

    Plugin Support Syde Jamie

    (@jamieong)

    Hi @troutdev ,

    Can we suggest you to contact us directly for further assistance? We would like to investigate further. You can open a ticket with our service desk. Here’s how you can request support: Request Support. Please make sure to include the URL of this thread in your ticket for reference.

    Best Regards,
    Jamie

    Thread Starter troutdev

    (@troutdev)

    For anybody else with this issue, thought i’d update you on what it turned out to be:

    The theme we are using was replacing the checkout button through a hook “woocommerce_order_button_html”

    the button was missing an id of “place_order” and a class of “ppcp-dcc-order-button”

    Once i added these back in so my button looked like this:

    <button id=”place_order” type=”submit” class=”button alt ppcp-dcc-order-button wp-element-button btn btn-block btn-primary btn-order” name=”woocommerce_checkout_place_order”>

    It did the trick!

    Plugin Support Syde Jamie

    (@jamieong)

    Hi @troutdev ,

    Thank you for confirming from the Conflict Testing that it was an issue with the theme. While this could be quite specific to your setup (theme), we appreciate you sharing the solution that resolves your issue.

    If you’re happy with the support, feel free to leave a quick review on WordPress — it means a lot to us now.

    Best Regards,
    Jamie

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Issue Using Advanced Card Processing’ is closed to new replies.