Skip to content

Commit

Permalink
v. 3.5.3
Browse files Browse the repository at this point in the history
- Correcao em erro JS adicionado na 3.5.2 (ReferenceError: RMPagSeguroObj is not defined)
  • Loading branch information
r-martins committed Dec 28, 2017
1 parent fc9f5dc commit 7c507aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/code/community/RicardoMartins/PagSeguro/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<config>
<modules>
<RicardoMartins_PagSeguro>
<version>3.5.2</version>
<version>3.5.3</version>
</RicardoMartins_PagSeguro>
</modules>
<global>
Expand Down
8 changes: 4 additions & 4 deletions js/pagseguro/pagseguro.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* PagSeguro Transparente para Magento
* @author Ricardo Martins <[email protected]>
* @link https://github.com/r-martins/PagSeguro-Magento-Transparente
* @version 3.5.2
* @version 3.5.3
*/

RMPagSeguro = Class.create({
Expand Down Expand Up @@ -33,7 +33,7 @@ RMPagSeguro = Class.create({
function(v, el){
RMPagSeguroObj.updatePaymentHashes();
return true;
})
});
},

retryUpdateSender: function() {
Expand All @@ -45,7 +45,7 @@ RMPagSeguro = Class.create({
var senderHashAttempts = 0;
this.intervalSenderHash = setInterval(function(){
senderHashAttempts++;
console.log("Tentativa " + senderHashAttempts);
// console.log("Tentativa " + senderHashAttempts);
if(PagSeguroDirectPayment.ready){
RMPagSeguroObj.updateSenderHash();
clearInterval(RMPagSeguroObj.intervalSenderHash);
Expand All @@ -63,7 +63,7 @@ RMPagSeguro = Class.create({
{
this.senderHash = senderHash;
this.updatePaymentHashes();
RMPagSeguroObj.hashSuccess = true;
this.hashSuccess = true;
return true;
}
console.log('PagSeguro: Falha ao obter o senderHash.');
Expand Down

0 comments on commit 7c507aa

Please sign in to comment.