Issue Using Advanced Card Processing
-
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
The topic ‘Issue Using Advanced Card Processing’ is closed to new replies.