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.
- Using Paypal Smart Buttons for checkout sometimes fails with Debit/ Credit Cards Form in Braintree Client-side Integration (JS, iOS, Android SDKs)
- paypal buttons can't show in PayPal Payments Standard
- Sandbox testing has beaten me !! in Sandbox Environment
- Sandbox account not generating IPNs in Sandbox Environment
- Disputes Webhook does not works on Sandbox (23/04/24) in Sandbox Environment