Title: AfterPay &#8211; ReferenceError: Square is not defined
Last modified: June 9, 2026

---

# AfterPay – ReferenceError: Square is not defined

 *  Resolved [Chandra Shekhar Pandey](https://wordpress.org/support/users/chandra8848/)
 * (@chandra8848)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/afterpay-referenceerror-square-is-not-defined/)
 * Uncaught ReferenceError: Square is not defined
   at index.js?ver=3.7.3:1:331/wp-
   content/plugins/afterpay-gateway-for-woocommerce/build/afterpay-page-checkout/
   index.js?ver=3.7.3
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fafterpay-referenceerror-square-is-not-defined%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Max from Afterpay](https://wordpress.org/support/users/mvdovenko/)
 * (@mvdovenko)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/afterpay-referenceerror-square-is-not-defined/#post-18933236)
 * Hi [@chandra8848](https://wordpress.org/support/users/chandra8848/) 
   We would
   like to inform you that we experienced an incident affecting our CDN server, 
   which may have impacted service availability.
 * Our technical team promptly identified the issue and has since fully resolved
   it. All services are now operating normally.
 * We sincerely apologize for any inconvenience this may have caused and appreciate
   your understanding. 
   Kind regards,Maksym Vdovenko
 *  Thread Starter [Chandra Shekhar Pandey](https://wordpress.org/support/users/chandra8848/)
 * (@chandra8848)
 * [1 week ago](https://wordpress.org/support/topic/afterpay-referenceerror-square-is-not-defined/#post-18935030)
 * Thank you for the update. Looks ok now.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fafterpay-referenceerror-square-is-not-defined%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

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

## Tags

 * [afterpay](https://wordpress.org/support/topic-tag/afterpay/)

 * 2 replies
 * 2 participants
 * Last reply from: [Chandra Shekhar Pandey](https://wordpress.org/support/users/chandra8848/)
 * Last activity: [1 week ago](https://wordpress.org/support/topic/afterpay-referenceerror-square-is-not-defined/#post-18935030)
 * Status: resolved