[checkoutPaypal] letters with accents and following are ignored

bchantre

Joined: 2005-11-16
Posts: 55
Posted: Tue, 2008-08-19 09:03

I remarked that if a user has to insert a word/text with accents, letters with accents (and following with/without accents) are ignored and aren't stored in the order details.

In Paypal, it works well.

This problem arrives when data are sent back from Paypal to Gallery.

checkout module v. 033
checkout by Paypal module v. 0.33

 
alecmyers

Joined: 2006-08-01
Posts: 4338
Posted: Tue, 2008-08-19 09:28

Try adding this to your PaymentButton.tpl file at line 11:

  <input type="hidden" name="charset" value="utf-8">

If it works, I'll include it in the module.

By the way, the latest version of checkout is 0.3.5, so you should probably update your installation.

 
bchantre

Joined: 2005-11-16
Posts: 55
Posted: Tue, 2008-08-19 20:59

I have upgraded to the latest version of checkout.

Unfortunately this doesn't work with and without this line of code.

 
bchantre

Joined: 2005-11-16
Posts: 55
Posted: Sun, 2008-09-07 20:58

I tried with v. 0.4 but results are the same as before: letters with accents and following are ignored.

Can you have a look at that problem?

Thank you in advance

 
alecmyers

Joined: 2006-08-01
Posts: 4338
Posted: Sun, 2008-09-07 23:41

I haven't looked at it the first time yet!

 
alecmyers

Joined: 2006-08-01
Posts: 4338
Posted: Mon, 2008-09-08 09:51

Although checkoutpaypal sets the language encoding correctly (according to paypal documentation) as far as I can tell, the IPN is not encoded in the requested way. The solution is to go to you paypal account, profile -> language encoding -> More Options and set the language encoding yourself as per the attached.

AttachmentSize
checkout-lang.png13.1 KB
 
bchantre

Joined: 2005-11-16
Posts: 55
Posted: Mon, 2008-09-08 10:11

Thank you very much, it works!