當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。