• Resolved jaspreetsarao

    (@jaspreetsarao)


    Hi Support,

    We are using this plugin to make a payment on our website for the first time. We are using woocommerce to sell the license which means we have virtual products. So on the checkout page, we removed the billing address. But the square plugin is giving the following error:

    Status code INVALID_ENUM_VALUE: is not a valid enum value for Country (line 1, character 493)

    Could you please guide us on how to deal with this error?

Viewing 1 replies (of 1 total)
  • Plugin Support Chris M. – a11n

    (@csmcneill)

    Howdy @jaspreetsarao,

    We are using this plugin to make a payment on our website for the first time. We are using woocommerce to sell the license which means we have virtual products. So on the checkout page, we removed the billing address. But the square plugin is giving the following error:

    Status code INVALID_ENUM_VALUE: is not a valid enum value for Country (line 1, character 493)

    Could you please guide us on how to deal with this error?

    This is likely a result of the removal of billing address information that Square requires in order to process a transaction properly. Generally, disabling or modifying core fields can cause unexpected results with some plugins; we recommend against whenever possible.

    If you add the billing address fields back onto the checkout page, does the Square gateway allow you to properly make a test purchase?

    Looking forward to hearing from you!

Viewing 1 replies (of 1 total)

The topic ‘Status code INVALID_ENUM_VALUE: “ is not a valid enum value for `Country` (line’ is closed to new replies.