Posted by Vuds on March 12, 2009 at 6:57pm
Jump to:
| Project: | UC PagSeguro | Ubercart payment |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
sim sim ... coloquei
#2
I'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.
#3
#4
Automatically closed -- issue fixed for 2 weeks with no activity.