Support » Plugin: Clearpay Gateway for WooCommerce » Console Error

  • Resolved thebeautystore

    (@thebeautystore)


    I am getting the following console error

    Uncaught SyntaxError: Invalid regular expression: missing /
    afterpay-1.x.js:10

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Clearpay

    (@clearpayit)

    Hi @thebeautystore,

    Thanks for your message.

    From the described behaviour, this is usually the result of the JavaScript file being modified in some way. The majority of the time a 3rd party performance plugin will be the cause of this. If the file is minified and/or concatenated, excluding the afterpay-1.x.js file should resolve this. As a last resort the 3rd party plugin can be disabled.

    If you would like further assistance please submit a support request using the following web form:
    https://help.afterpay.com/hc/requests/new?ticket_form_id=193406

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

    Thank you

    Thread Starter thebeautystore

    (@thebeautystore)

    I have excluded afterpay-1.x.js from minification and it has resolved the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.