| Project: | Ubercart Contributions |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Hey guys.
Today we got a report from a user who, when trying to Checkout, received this error after submitting the form.
"To protect our customers from identity theft, credit card details are erased when a browser refreshes on the checkout review page. Please enter your card details again and re-submit the form."
.. and would then spit them back to the checkout form.
When looking at the Watchdog logs, for "encryption" errors I found this.
Type: encryption
Date: Tuesday, July 15, 2008 - 1:39pm
User: ***
Location /cart/checkout
Referrer /cart/checkout
Message
Encryption failed.
Source string contains an invalid character (
Severity: error
It turns out this issue was caused by the user's last name, which had a special character in it: ö
I had him change his name to use just an "o", since our card system doesn't do a strict match of the cardholder name. His order went through fine after that.
I'm not sure what other fields would be affected by this bug but I'm sure the cardholder name isn't the only one. Anything that gets encrypted is likely to be susceptible.





I'll try to check it out and work that into the encryption class...

