I was searching for a way to know whether the card which user inputs in the square payment form is supported or not. I think I found one. cardNonceResponseReceived
I read that,
cardNonceResponseReceived receives a nonce error, of type UNSUPPORTED_CARD_BRAND but I am not receiving it.
I checked the Location ID in front and back-end, it’s the same.
However, I am not receiving this nonce error.
What I did was Use a Card of type China Unionpay which is not supported for Australia Country.
I did not receive the nonce error on the front-end, even not while adding the card to the customer, I received the error
createPayment was called.
I was hoping, I could get this error via square payments form.
Please let me know is there any other way and why am I not receiving the error response in
cardNonceResponseReceived callback function.