Troubleshoot Error Messages At Checkout

Invalid Request Error

If you are experiencing an “invalid request” error at checkout, follow this guide to troubleshoot and solve the issue.

Note: if the steps in this guide don’t resolve the issue please email the support team at support@studiocart.co

The “Invalid Request” error message means your site’s Nonces (security tokens) are being cached and reused after 12 hours. Nonces can only be used once within a 12-hour timeframe before they become invalid. When an expired nonce is sent to Studiocart it can block or break some of the functionality.

To avoid or fix this issue make sure the pages with Studiocart are not being cached for longer than 12 hours. You can either turn off caching for those pages or change the time limit set in your caching plugin. We recommend you set the cache lifespan to 10 hours or less.

Payment_Intent Error

If you are experiencing an “Payment_Intent” error at checkout, follow this guide to troubleshoot and sole the issue.

Note: if the steps in this guide don’t resolve the issue please email the support team at support@studiocart.co

The “Payment_Intent” error is likely caused by incorrect API keys. First, remove the keys from the Stripe field box in the Studiocart settings and save. Then go to your Stripe account copy your API keys, paste in the Studiocart settings and save. Then update your product page in Studiocart and perform a test purchase.

Order Status Stuck On “Pending” or Integrations Not Firing After Purchase

If the integrations aren’t firing after purchase and/or orders are stuck in pending follow this guide to troubleshoot the issue.

Check the Webhook URL is accessible in your payment gateway dashboard. Make sure the Webhook URL is set to siteurl.com/sc-api=[gateway_name_here] and that the Webhook URL is publicly accessible. The order history in your payment gateway dashboard should state that the webhook was called successfully.