• mqlqtouch

    (@mqlqtouch)


    Hi there,

    We are using version 3.7.1 of the plugin, however, when we attempt to enable clearpay as a payment option via WooCommerce the plugin appears to be breaking our payment page. We are seeing the following error in the console logs:

    Uncaught ReferenceError: Square is not defined
    at _jb_static/??-eJytz0EOwiAQBdDbuBLHqjF20XgWClNKSxnCQGtvLxqNG5fdzN/8vPyBJQhFPqFPEFw21jMohzIGuQojEy4lO4piIVI0TRgVQput079akAaF6lGNlBNYr/FxGHgPf2hDZBwK6aVbk1X8oaMOEZnB2YQgmTExzBlhKGP67EfRxTekxVwORd7af71Gfjv1u7eI96mprnVdn27ny3Gn2qZ6AiEBjIQ=:1:331
    at HTMLBodyElement. (_jb_static/??-eJytz0EOwiAQBdDbuBLHqjF20XgWClNKSxnCQGtvLxqNG5fdzN/8vPyBJQhFPqFPEFw21jMohzIGuQojEy4lO4piIVI0TRgVQput079akAaF6lGNlBNYr/FxGHgPf2hDZBwK6aVbk1X8oaMOEZnB2YQgmTExzBlhKGP67EfRxTekxVwORd7af71Gfjv1u7eI96mprnVdn27ny3Gn2qZ6AiEBjIQ=:1:486)
    at HTMLBodyElement.dispatch (jquery.min.js?ver=3.7.0:2:39997)
    at v.handle (jquery.min.js?ver=3.7.0:2:37968)
    at Object.trigger (jquery.min.js?ver=3.7.0:2:70063)
    at HTMLBodyElement. (jquery.min.js?ver=3.7.0:2:70665)
    at Function.each (jquery.min.js?ver=3.7.0:2:3129)
    at e..each (jquery.min.js?ver=3.7.0:2:1594)
    at e..trigger (jquery.min.js?ver=3.7.0:2:70640)
    at Object.success (_jb_static/??-eJy9Vk1vwjAM/Tc7LS2dNsEF7bz7ph1RmpqSNo2zfID493M/EEUbiFEytYdEtt6zn+M46c4wgdqD9qlRoZTapTtEgU0DVkDKnQPv0or+rwB2z3KFog5y2Cbd9uMtaaROKveYXg23tp1bkfKiYB6Z4Nb/HaVy5Ii1BFol/WpCKCPzBBSBQXtSyoECcUNOY2UsOMdkttBT4rlJ2T76T8TjKlkHpaYEsgFRY7gYTE41VHtGeRvUTm6BcWNQat+QF2utUpd0XlAdcckZA3H2cRt5UazJBIrKwu/EkHNR/yBosHWMmsOGt1WKSjHcD//AZCSJaGPDF9xDNI4eIKpK5KreQb1pc1UD0iFHzYzFI1yDRVAEJoLzdETtiqxrqeCU52BlgzVKl5DZO2+5GcTrNzGbkspPX075R2YBy3UJdzvTv9NYNAXuoqXRT4ynmEq1cwajoXc16Ozuuj4hEF6Cu9QsB5cz3TKYz9FVbkUpG3RgR6N1S1RoTwYvG7+nBjCphQrF+F5O6QUn0B6eOa/NMpvPZtli/vI8fxD5MvsGrwvk+A==:44:9382)

    Which is thrown from wp-content/plugins/clearpay-gateway-for-woocommerce/build/clearpay-page-checkout/index.js?m=1699625982

    This causes the payment page to fail to load correctly and hence, customers are unable to pay.

    Disabling clear pay as a payment option resolves the issue.

    Could you please investigate

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mqlqtouch

    (@mqlqtouch)

    Also, as an update to this, we disabled all other payment methods to test the plugin in isolation. When only the clearpay method was selected, the error still persists:

    Uncaught ReferenceError: Square is not defined

    So it does not look as though this is a conflict with other plugins

    Thread Starter mqlqtouch

    (@mqlqtouch)

    Also, after some further testing, I can confirm that reverting back to version 3.5.5 of the plugin fixes the issue.

    Looking at the code changes, it looks as though square market place was introduced from 3.6.1 which seems to be causing the issue.

    Hi @mqlqtouch,

    Thank you for the message.

    The team would like to assist with this challenge. To facilitate this, please submit a support request including a link to this post using the following web form: https://afterpay.formstack.com/forms/global_merchant_technical_support

    A member of the team will then reach out to you within 1 business day.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘version 3.7.1 breaking payment page’ is closed to new replies.