当前位置: 首页>>代码示例>>PHP>>正文


PHP payment::payment方法代码示例

本文整理汇总了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";
     }
 }
开发者ID:subashemphasize,项目名称:test_site,代码行数:11,代码来源:payvision.inc.php

示例2:

 function payment_esolutions($config)
 {
     parent::payment($config);
     add_member_field('esolutions_card_id', 'Esolutions Customer Card Id', '', '');
 }
开发者ID:subashemphasize,项目名称:test_site,代码行数:5,代码来源:esolutions.inc.php

示例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";
     }
 }
开发者ID:subashemphasize,项目名称:test_site,代码行数:15,代码来源:authorize_cim.inc.php

示例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', '', '');
 }
开发者ID:subashemphasize,项目名称:test_site,代码行数:6,代码来源:micropayment_cc.inc.php

示例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', '', '');
 }
开发者ID:subashemphasize,项目名称:test_site,代码行数:6,代码来源:adultprocessor.inc.php

示例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 {
         }
     }
 }
开发者ID:business-expert,项目名称:aiclubnew,代码行数:24,代码来源:member_model.php

示例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";
     }
 }
开发者ID:subashemphasize,项目名称:test_site,代码行数:10,代码来源:abnamro.inc.php

示例8:

 function payment_braintree($config)
 {
     parent::payment($config);
     add_member_field('braintree_customer_vault_id', 'Braintree Customer Vault Id', '', '');
 }
开发者ID:subashemphasize,项目名称:test_site,代码行数:5,代码来源:braintree.inc.php

示例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');
 }
开发者ID:subashemphasize,项目名称:test_site,代码行数:6,代码来源:ipayment.inc.php


注:本文中的payment::payment方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。