Bug: Standardize magento url.

This commit is contained in:
Japhet Stevens 2013-01-24 15:01:42 -05:00
parent 857578c1b9
commit 95768b1ab9
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ $quoteId = $this->GetQuoteId();
?>
<script type="text/javascript">
//<![CDATA[
new PeriodicalExecuter(function() {new Ajax.Request('/magento/index.php/bitpay_callback/index/checkForPayment/?quote=<? echo $quoteId; ?>', {asynchronous:true, evalScripts:true, onComplete:function(request, json) {
new PeriodicalExecuter(function() {new Ajax.Request("<? echo Mage::getUrl('bitpay_callback/index/checkForPayment/'); ?>?quote=<? echo $quoteId; ?>", {asynchronous:true, evalScripts:true, onComplete:function(request, json) {
data = request.responseText.evalJSON();
if (data.paid) {
buttons = $$("button.btn-checkout");