Title: WooCommerce CORS
Last modified: June 7, 2020

---

# WooCommerce CORS

 *  Resolved [pbradstreet](https://wordpress.org/support/users/pbradstreet/)
 * (@pbradstreet)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/woocommerce-cors/)
 * Hi,
    I have been struggling getting woocommerce checkout working with Square 
   payments. All is good until I try to submit the test order and the checkout page
   just refreshes on submit. In the WooCommerce Status log it adds an entry: “Payment
   nonce is missing”. In the inspect tool console it is reporting numerous errors
   like: “Uncaught DOMException: Blocked a frame with origin “[https://pci-connect.squareupsandbox.com&#8221](https://pci-connect.squareupsandbox.com&#8221);
   from accessing a cross-origin frame. at <anonymous>:1:16″ If I inspect the headers
   for the checkout page there is an entry x-frame-options SAMEORIGIN and this header
   does not seem to show for any other site pages so I am assuming that the checkout
   module is adding it somehow? Any suggestions on how to fix this would be hugely
   appreciated. The checkout page is [https://cliffordbrewing.creativeinterface.com/checkout/](https://cliffordbrewing.creativeinterface.com/checkout/)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwoocommerce-cors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [AJ a11n](https://wordpress.org/support/users/amandasjackson/)
 * (@amandasjackson)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/woocommerce-cors/#post-12953980)
 * Hi [@pbradstreet](https://wordpress.org/support/users/pbradstreet/),
 * Typically Card Nonce errors are caused by theme issues, where the theme interferes
   with the data being passed to Square. Plugins can also do this, but most commonly
   it’s improperly coded theme templates with the payment-form.php area or similar.
 * As a first step in troubleshooting, I’d recommend changing to the default Twenty
   Seventeen or Storefront theme and then trying again. You can read more about 
   how to do this at this link:
 * [https://docs.woocommerce.com/document/woocommerce-self-service-guide/](https://docs.woocommerce.com/document/woocommerce-self-service-guide/)
 * If that doesn’t help, you’ll want to check for plugins that are interfering with
   the values sent to Square. To do that disable all plugins, except for WooCommerce
   and WooCommerce Square.
 * If you require further help beyond this, can you please post this support request
   for the Square plugin on the correct support forum here:
 * [https://wordpress.org/support/plugin/woocommerce-square/](https://wordpress.org/support/plugin/woocommerce-square/)
 *  Thread Starter [pbradstreet](https://wordpress.org/support/users/pbradstreet/)
 * (@pbradstreet)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/woocommerce-cors/#post-12954182)
 * Thanks, I will give that a try and report back.
 *  [AJ a11n](https://wordpress.org/support/users/amandasjackson/)
 * (@amandasjackson)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/woocommerce-cors/#post-12959552)
 * Hi [@pbradstreet](https://wordpress.org/support/users/pbradstreet/)
 * Glad to hear it – thanks for letting us know!
 * I’ll mark this thread as resolved now on this forum.
 * If you require further help beyond this, can you please post this support request
   for the Square plugin on the correct support forum here:
 * [https://wordpress.org/support/plugin/woocommerce-square/](https://wordpress.org/support/plugin/woocommerce-square/)

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

The topic ‘WooCommerce CORS’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [AJ a11n](https://wordpress.org/support/users/amandasjackson/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/woocommerce-cors/#post-12959552)
 * Status: resolved