myPOS doesnt accept special characters
-
We had dozens of customers complaining about they can’t finish the transaction because myPOS says they can’t use special characters.
Most of them said they didn’t even try to enter any special characters and they thought there is something wrong with their credit cards.
We figured out that the Woo plugin sends the billing address as POST with all the special characters included (Hungarian, Slovakian, Croatian names and addresses are full off accents).
This is a serious UX issue, since the customer usually don’t even notice the automatically filled address fields and they think they did something wrong when adding their card details.
Solution:
Use the WP remove_accents() functions to sanitize the related fields.Example:
$post[‘CustomerAddress’] = $this->escape_string(remove_accents($order->get_billing_address_1()));The page I need help with: [log in to see the link]
- The topic ‘myPOS doesnt accept special characters’ is closed to new replies.