Changes to AgileBill
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user