Welcome Guest, Not a member yet? Register   Sign In
How to make payment gate way?
#9

[eluser]barryskidmore[/eluser]
It wont let me post my authorize.net library for you. - Too long.

So here it is in parts.
Code:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Authorize_net {

    function Authorize_net() {
        $this->chalkboard =& get_instance();
        log_message('debug', "Authorize.net Class Initialized");
        $this->x_url = 'https://test.authorize.net/gateway/transact.dll';
        # $this->x_url = 'https://secure.authorize.net/gateway/transact.dll';
        $this->x_login = '';
        $this->x_tran_key = '';
        $this->x_test_request = '1';
        $this->x_version = '3.1';
        $this->x_type = 'AUTH_CAPTURE';
        $this->x_method = 'CC';
        $this->x_delim_char = '|';
        $this->x_delim_data = 'TRUE';
        $this->x_recurring_billing = '0';
        $this->x_amount = '0.00';
        $this->x_card_num = '4111111111111111';
        $this->x_exp_date = '01-2008';
        $this->x_card_code = '411';
        $this->x_duplicate_window ='0';
        $this->x_invoice_num = '0';
        $this->x_description = 'Website Transaction';
        $this->x_line_item = 'LineID<|>LineName<|>LineDDescription<|>LineQuanitity<|>LinePrice<|>LineTaxble'; # up to 30 line items seperated by ampersand
        $this->x_first_name = 'Bob';
        $this->x_last_name = 'Jones';
        $this->x_company = '';
        $this->x_address = '123 Main St.';
        $this->x_city = 'Las Vegas';
        $this->x_state = 'NV';
        $this->x_zip = '12345';
        $this->x_country = 'United States';
        $this->x_phone = '(555) 555-5555';
        $this->x_fax = '(555) 555-5555';
        $this->x_email = '[email protected]';
        $this->x_email_customer = '0';
        $this->x_header_email_receipt = '';
        $this->x_footer_email_receipt = '';
        $this->x_cust_id = '1';
        $this->x_customer_ip = '255.255.255.255';
        $this->x_relay_response = 'FALSE';
        $this->x_array = array();
        $this->x_result = array();
    }


Messages In This Thread
How to make payment gate way? - by El Forum - 09-19-2008, 10:00 AM
How to make payment gate way? - by El Forum - 09-19-2008, 10:11 AM
How to make payment gate way? - by El Forum - 09-19-2008, 10:12 AM
How to make payment gate way? - by El Forum - 09-19-2008, 10:13 AM
How to make payment gate way? - by El Forum - 09-19-2008, 10:16 AM
How to make payment gate way? - by El Forum - 09-19-2008, 10:20 AM
How to make payment gate way? - by El Forum - 09-19-2008, 10:22 AM
How to make payment gate way? - by El Forum - 09-19-2008, 10:42 AM
How to make payment gate way? - by El Forum - 09-22-2008, 12:40 PM
How to make payment gate way? - by El Forum - 09-22-2008, 12:41 PM
How to make payment gate way? - by El Forum - 09-22-2008, 12:43 PM
How to make payment gate way? - by El Forum - 09-22-2008, 12:43 PM
How to make payment gate way? - by El Forum - 09-22-2008, 12:43 PM
How to make payment gate way? - by El Forum - 09-22-2008, 01:18 PM
How to make payment gate way? - by El Forum - 09-23-2008, 06:41 AM
How to make payment gate way? - by El Forum - 09-23-2008, 01:25 PM
How to make payment gate way? - by El Forum - 11-19-2008, 10:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB