本文整理汇总了PHP中cc_core_rebill函数的典型用法代码示例。如果您正苦于以下问题:PHP cc_core_rebill函数的具体用法?PHP cc_core_rebill怎么用?PHP cc_core_rebill使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了cc_core_rebill函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: do_rebill
function do_rebill($vars)
{
global $config;
$d = strftime($config['date_format'], strtotime($vars['date']));
$d1 = strftime($config['date_format'], strtotime($vars['date1']));
$d2 = strftime($config['date_format'], strtotime($vars['date2']));
$ds = date('Y-m-d', strtotime($vars['date']));
$t = new_smarty();
$t->display('admin/header.inc.html');
print "<h1>Running Rebill for [{$d}], please wait patiently...</h1>";
print "<p>Rebilling dates from [{$d1}] to [{$d2}].</p>";
ob_end_flush();
cc_core_rebill($vars['paysys_id'], $vars['date'], $from_cron = false);
/// next
$vars['date'] = date('Y-m-d', strtotime($vars['date']) + 3600 * 24);
if ($vars['date'] > $vars['date2']) {
print "<font size=3>Rebilling Finished! <a href='rebill.php'>Back to the form</a></font>";
$t->display('admin/footer.inc.html');
return;
}
$d = strftime($config['date_format'], strtotime($vars['date']));
print <<<CUT
\t<form method=post>
\t<input type=submit name=confirm value="Process next date[{$d}]" />
\t<input type=hidden name=date value='{$vars['date']}' />
\t<input type=hidden name=date1 value='{$vars['date1']}' />
\t<input type=hidden name=date2 value='{$vars['date2']}' />
\t<input type=hidden name=paysys_id value='{$vars['paysys_id']}' />
\t</form>
CUT;
$t->display('admin/footer.inc.html');
}
示例2: cc_demo_rebill
function cc_demo_rebill()
{
return cc_core_rebill('cc_demo');
}
示例3: payvision_rebill
function payvision_rebill()
{
return cc_core_rebill('payvision');
}
示例4: micropayment_cc_rebill
function micropayment_cc_rebill()
{
return cc_core_rebill('micropayment_cc');
}
示例5: authorize_aim_rebill
function authorize_aim_rebill()
{
return cc_core_rebill('authorize_aim');
}
示例6: plugnpay_rebill
function plugnpay_rebill()
{
return cc_core_rebill('plugnpay');
}
示例7: firstpay_rebill
function firstpay_rebill()
{
return cc_core_rebill('firstpay');
}
示例8: cobrebem_rebill
function cobrebem_rebill()
{
return cc_core_rebill('cobrebem');
}
示例9: eprocessingnetwork_rebill
function eprocessingnetwork_rebill()
{
return cc_core_rebill('eprocessingnetwork');
}
示例10: paymentsgateway_rebill
function paymentsgateway_rebill()
{
return cc_core_rebill('paymentsgateway');
}
示例11: psigate_rebill
function psigate_rebill()
{
return cc_core_rebill('psigate');
}
示例12: moneris_rebill
function moneris_rebill()
{
return cc_core_rebill('moneris');
}
示例13: eway_rebill
function eway_rebill()
{
return cc_core_rebill('eway');
}
示例14: merchantone_rebill
function merchantone_rebill()
{
return cc_core_rebill('merchantone');
}
示例15: innovative_rebill
function innovative_rebill()
{
return cc_core_rebill('innovative');
}