Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Yourpay issue with foreign multibyte characters

Yourpay issue with foreign multibyte characters

Locked

Views: 1,610

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
7 Apr 2007, 11:07 PM
#1
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Yourpay issue with foreign multibyte characters

My clients site uses yourpay to process CC. 99% of the transactions work fine. A couple of transaction have been decline with a xml error. The only common thread I could find between the decline ones was that the addresses of the customers (sweden, france) had those characters with the funny little accent marks. I don't know where to begin to troubleshoot this one........anybody gotta clue, a thread to point to, or even had this issue.
thanks

8 Apr 2007, 6:24 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Yourpay issue with foreign multibyte characters

Barco,

This will require a parse/strip accents routine - but where is the xml error being generated from? I would expect this not to be from within Zen Cart?? But more likely the yourpay returning this and as such if they are a international exchanger for payment this should be addressed there...

Yeah, Yeah this doesn't help you - and the only methods that I have seen are java based which also does not help.

Correct me if I am wrong about the xml being from Zen Cart...

8 Apr 2007, 6:33 AM
#3
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Yourpay issue with foreign multibyte characters

Yes the issue is with yourpay generating the xml error not zen cart.

I see this thread has been retitled with something that makes better sense. Thanks

8 Apr 2007, 6:35 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Yourpay issue with foreign multibyte characters

I lied about Java - php str_ireplace or str_replace function can also do this with ascii set - will have to check the xml requirements

8 Apr 2007, 4:18 PM
#5
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Yourpay issue with foreign multibyte characters

OK it appears it may not be yourpay but the processor farther down the line....