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";
     }
 }
 function payment_esolutions($config)
 {
     parent::payment($config);
     add_member_field('esolutions_card_id', 'Esolutions Customer Card Id', '', '');
 }
 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";
     }
 }
 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', '', '');
 }
 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', '', '');
 }
Esempio n. 6
0
 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 {
         }
     }
 }
Esempio n. 7
0
 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";
     }
 }
 function payment_braintree($config)
 {
     parent::payment($config);
     add_member_field('braintree_customer_vault_id', 'Braintree Customer Vault Id', '', '');
 }
Esempio n. 9
0
 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');
 }