httpwebwitch - 3:20 am on Dec 28, 2010 (gmt 0)
This is a quick one.
I thought I had all my UTF-8 issues sorted out. But then today, I saw that a sale went through and the buyer's name was displayed like:
when the person's name is really
Evidently, my system isn't handling the "Ņ" character properly.
"CASTAŅEDA" was not entered by the user when checking out - it's supplied by PayPal in the IPN notification POST. So, that's the name in their PayPal account.
I thought, oh this is simple to test this I'll just change my name so it has an accented character in it, make a few $0.01 purchases, then when everything is working OK I'll change it back.
But PayPal doesn't let me do that! To change my name, I need to submit it through their help system, and provide documentation of my name change. Like, if I was getting married or divorced or adopted and was legally changing my name, then they'll do it. There's no way I can just add a few accented characters to my last name on a whim.
So that's why I need help.
If you have an accented character in your PayPal account name, I would like to work with you to figure out this problem and fix it. First, I'll change my code so a buyer's name is converted into utf-8. Then I'll ask you to make some $0.01 purchases using your account, by buying some fake products that I'll enter into the e-commerce system.
When my app gets the payment notification from PayPal, I'll see if the character encoding problem has been solved.
We may need to repeat the process a few times.
In all, you'll end up spending a few minutes here and there responding to my "try it now!" requests, and a total expense of a few cents. I will pay you $15 USD for the time, plus I'll reimburse any amounts that you spend buying fake products.
Please reply via sticky if you have accents in your name, and have a PayPal account