Changes to AgileBill

This commit is contained in:
Deon George
2009-08-03 14:10:16 +10:00
parent 0a22cfe22c
commit 27aee719b0
1051 changed files with 219109 additions and 117219 deletions

View File

@@ -37,9 +37,7 @@ class plg_chout_REMIT_CHECK extends base_checkout_plugin
# Perform the checkout transaction (new purchase):
function bill_checkout( $amount, $invoice, $currency_iso, $acct_fields, $total_recurring=false, $recurr_bill_arr=false) {
$this->redirect = '<script language=Javascript>
parent.document.location = "'.SSL_URL.'?_page=checkout_plugin:plugin_ord_REMIT_CHECK_ALERT&id='.$invoice.'";
</script>';
$this->redirect = sprintf('<script type="text/javascript">parent.document.location = "%s?_page=checkout_plugin:plugin_ord_REMIT_CHECK_ALERT&id=%s&checkout_id=%s";</script>',SSL_URL,$invoice,$this->checkout_id);
return true;
}
@@ -63,4 +61,4 @@ class plg_chout_REMIT_CHECK extends base_checkout_plugin
return true;
}
}
?>
?>