## Module uc_correios_webservice
### Requirements
* Module: ubertcart v2.X
* Drupal: v6.x
* This module require php soap extension: http://www.php.net/manual/en/book.soap.php
### Objective
Module to calculate shipping costs based on Brazil correios
webservice integration. This module also parse xml return
and error and use SOAP integration.
### Credits and References
This module is a fork from the references below:
- http://www.correios.com.br/webservices/
- http://drupal.org/project/uc_correios_quotes
- http://blog.shiguenori.com/2010/08/20/webservice-dos-correios/
### Sandbox and Git
http://drupal.org/sandbox/rodrigoprior/1651150
git clone http://git.drupal.org/sandbox/rodrigoprior/1651150.git uc_correios_webservices
### Related Review
Comments
Comment #1
patrickd commentedwelcome,
As installation and usage instructions are quite important for us to review, please take a moment to make your project page follow the tips for a great project page. Also create a README.txt that follows the guidelines for in-project documentation.
An automated review of your project has found looks good, though there are some small errors left you can fix (http://ventral.org/pareview/httpgitdrupalorgsandboxrodrigoprior1651150git)
We do really need more hands in the application queue and highly recommend to get a review bonus so we can come back to your application sooner.
regards
Comment #2
lva commentedHi Rodrigo,
Some comments from a manual review:
t('error: !error_code - !error_msg', array('!error_code' => $delivery_error_code, '!error_msg' => $delivery_error_msg))Also note that you can build the error message using the watchdog function. The syntax would become:
watchdog('correios', 'error: !error_code - !error_msg', array('!error_code' => $delivery_error_code, '!error_msg' => $delivery_error_msg), WATCHDOG_ERROR);Comment #3
marshmn commentedHi,
This module is looking pretty good to me.
A couple of minor issues from a manual review:
You may want to consider adding a leading underscore to functions which are private to this module.
There seem to be a few strings which are in Spanish (I think?) where as most of them are in English. For example on line 186:
'#description' => t('ADICIONAR TEXTO DE AJUDA'),Overall though I think that it looks pretty well written - these are just minor issues.
Comment #4
patrickd commentedhey guys, thanks for participation, but please remember:
1. review oldest applications first, here are people waiting for a review for months!
2. After you've done a manual review either change to "needs work" if you found major issues, or RTBC if you found no major issues
thanks
Comment #5
rodrigoprior commentedHi Patrickd,
Thanks for the input...all the actual errors are in phpunit tests...there is no error in the module code itself.
Comment #6
rodrigoprior commentedComment #7
klausiDuplicate of #1663310: [D6] uc_correios_webservices. Please open only one application in one issue.
Comment #8
avpaderno