PayPal IPN charset
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
So I'm in charge of live legacy app which uses PP as one of the payment methods. Currently the app still uses old NVP api.
What bothers me is that in app logs I can see that whenever IPN sends something to our listener there's always a field:
charset=windows-1252
I assume it's the source of many evil things in our app; e.g. confirming to IPN that we received the message. We have a lot of rejected confirmations (cmd=_notify-validate) by IPN which could be the problem if some characters are encoded in the IPN message by win-1252 and our app sends them back as utf-8.
So I would like to change these IPN messages to UTF-8. I've found this solution in the depths of the internet:
http://jlchereau.blogspot.com/2006/10/paypal-ipn-with-utf8.html
Is it still valid? Can you provide a link? I've tried this on my personal/sandbox account and I was unable to find it.
Regards,
Artur.
- Labels:
-
IPN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-language-encoding
Thanks !
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have updated my profile setting for my sandbox account to send UTF-8 encoded messages however it seems the payment details are still being sent using windows-1252 encoding. Are there any other tricks to getting this to work in the sandbox account ?
Thanks
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- SetExpressCheckout 10003 error with ITEMCATEGORY=Digital in NVP/SOAP APIs
- Issue with Empty store_info in Response Using /v1/reporting/transactions on Sandbox API in REST APIs
- recurring payments when price maybe changed and price have 2 decimal point in REST APIs
- does api-m.sandbox.paypal.com or the real api endpoint support IPv6? in REST APIs
- Paypal express checkout, payment they error "Sorry, something went wrong. Please try again." in PayPal Payments Standard