Closed (fixed)
Project:
UC PagSeguro | Ubercart payment
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2009 at 18:57 UTC
Updated:
19 Mar 2010 at 09:30 UTC
PagSeguro uses ISO8859-1 charactere encoding, while Drupal uses UTF-8.
This makes that conversations between the 2 systems while validating data don't occur properly, with lose of data and possibly not ending the process.
It's necessary to do every conversion when receiving a POST from PagSeguro and while confirming to PagSeguro with the token.
While this situation isn't solved, it's possible to use the module with update of status made manually by the ubercart/pagseguro admin only.
--
(in Portuguese) Pedro, vc colocou a última versão q te mandei aqui?
Abraço!
Comments
Comment #1
pedrofaria commentedsim sim ... coloquei
Comment #2
lourenzo commentedI've made a little change on the form generation.
For better integration, instead of transcoding the utf8 strings to ascii before sending to PagSeguro, the form is now inside an iframe, that uses the string transcoded to iso-8859-1 (latin1), that is expected by pagseguro.
In this case, we don't need to strip out the punctuation to perform a request. And since we don't need any features from FAPI, we can just dump a simple HTML form.
I've commited that change to 6.x CVS codebase.
Comment #3
lourenzo commented