Intermittent “Invalid OTS Token” + XML parse error during Blocks checkout
-
Hi,
We’re experiencing intermittent checkout failures on WooCommerce using your gateway plugin.
Details:
• WooCommerce Store API (Blocks checkout)
• Payment method: Credit / Debit Card (Accept.js flow)
• Orders reach “Reserved stock” stage
• Then fail with: Invalid OTS Token
• Woo error code:woocommerce_rest_checkout_process_payment_error
• HTTP status: 400
Woo debug log shows:"message": "Invalid OTS Token."
And additionally:SimpleXMLElement::__construct() File: includes/class-api-handler.php Line: 713
This suggests the plugin is attempting to parse an empty/invalid XML response from Authorize.Net.
Important notes:
• Happens intermittently (not every transaction)
• Occurs after draft order creation and stock reservation
• We are using WooCommerce Blocks checkout (Store API flow)
• WP Rocket JS delay is excluding Accept.js
• AVS/CVV pass on successful transactions
• Authorize.net sometimes logs $0 “ValidateCustomerPaymentProfile” entries prior to failureThe page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.