forked from renatofig/PagSeguro-Magento-Transparente
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Correcao em erro JS adicionado na 3.5.2 (ReferenceError: RMPagSeguroObj is not defined)
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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({ | ||
|
@@ -33,7 +33,7 @@ RMPagSeguro = Class.create({ | |
function(v, el){ | ||
RMPagSeguroObj.updatePaymentHashes(); | ||
return true; | ||
}) | ||
}); | ||
}, | ||
|
||
retryUpdateSender: function() { | ||
|
@@ -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); | ||
|
@@ -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.'); | ||
|