本文整理汇总了PHP中payment::payment方法的典型用法代码示例。如果您正苦于以下问题:PHP payment::payment方法的具体用法?PHP payment::payment怎么用?PHP payment::payment使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类payment
的用法示例。
在下文中一共展示了payment::payment方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
function payment_payvision($config)
{
parent::payment($config);
add_member_field('payvision_cardid', '', 'hidden');
add_member_field('payvision_cardguid', '', 'hidden');
if ($this->config['testing']) {
$this->paurl = "https://testprocessor.payvisionservices.com";
} else {
$this->paurl = "https://testprocessor.payvisionservices.com";
}
}
示例2:
function payment_esolutions($config)
{
parent::payment($config);
add_member_field('esolutions_card_id', 'Esolutions Customer Card Id', '', '');
}
示例3:
function payment_authorize_cim($config)
{
parent::payment($config);
add_member_field('authorize_cim_user_profile_id', '', 'hidden');
add_member_field('authorize_cim_user_profile_hash', '', 'hidden');
add_member_field('authorize_cim_payment_profile_id', '', 'hidden');
add_member_field('authorize_cim_payment_profile_hash', '', 'hidden');
if ($this->config['testing']) {
$this->wsl = "https://apitest.authorize.net/xml/v1/request.api";
$this->tpu = "https://test.authorize.net/gateway/transact.dll";
} else {
$this->wsl = "https://api.authorize.net/xml/v1/request.api";
$this->tpu = "https://secure.authorize.net/gateway/transact.dll";
}
}
示例4:
function payment_micropayment_cc($config)
{
parent::payment($config);
add_product_field('micropayment_cc_project', 'Micropayment_cc Project Code', 'text', '');
add_member_field('micropayment_cc_customer_vault_id', 'Micropayment_cc Customer Vault Id', '', '');
}
示例5:
function payment_adultprocessor($config)
{
parent::payment($config);
add_product_field('adultprocessor_siteid', 'Adultprocessor Site ID', 'text', '', '');
add_product_field('adultprocessor_scheduleid', 'Adultprocessor Schedule ID', 'text', '', '');
}
示例6: finalPayment
function finalPayment()
{
global $objComm, $lang;
$memberid = $_SESSION['register']['member_id'];
if (isset($_GET["token"]) && isset($_GET["PayerID"])) {
$row = $this->getMembers($memberid);
$objPayment = new payment($row);
$response = $objPayment->payment($row, $_GET["token"], $_GET["PayerID"]);
if (strtoupper($response['ACK']) == 'SUCCESS' || strtoupper($response['ACK']) == 'SUCCESSWITHWARNING') {
$objPayment->makePaymentLog($memberid, 'Final Payment', serialize($response));
$this->createActivationURL($row->email_address, $memberid);
$this->sendPaymentMail($row, $response);
$this->sendAdminMail($row);
$_SESSION['product_' . $memberid] = '';
$_SESSION['register']['member_id'] = '';
unset($_SESSION['register']);
unset($_SESSION['product_' . $memberid]);
$_SESSION['activation_success'] = $lang['payment_sucess'] . "<br>" . $lang['activation_link'];
include_once VIEWS . "/error/activation.php";
exit;
} else {
}
}
}
示例7:
function payment_abnamro($config)
{
parent::payment($config);
add_member_field('abnamro_alias', '', 'hidden');
if ($this->config['testing']) {
$this->aburl = "https://internetkassa.abnamro.nl/ncol/test/orderdirect.asp";
} else {
$this->aburl = "https://internetkassa.abnamro.nl/ncol/prod/orderdirect.asp";
}
}
示例8:
function payment_braintree($config)
{
parent::payment($config);
add_member_field('braintree_customer_vault_id', 'Braintree Customer Vault Id', '', '');
}
示例9:
function payment_ipayment($config)
{
parent::payment($config);
add_product_field('ipayment_currency', 'iPayment Currency', 'text', 'valid only for iPayment processing.<br /> You should not change it<br /> if you use
another payment processors');
}