NAME

Business::CyberSource::Request::Authorization - CyberSource Authorization Request object

VERSION

version 0.010008

SYNOPSIS

        use Business::CyberSource::Request::Authorization;

        Business::CyberSource::Request::Authorization->new({
                reference_code => '42',
                bill_to => {
                        first_name  => 'Caleb',
                        last_name   => 'Cushing',
                        street      => '100 somewhere st',
                        city        => 'Houston',
                        state       => 'TX',
                        postal_code => '77064',
                        country     => 'US',
                        email       => 'xenoterracide@gmail.com',
                },
                purchase_totals => {
                        currency => 'USD',
                        total    => 5.00,
                        discount => 0.50, # optional
                        duty     => 0.03, # optional
                },
                card => {
                        account_number => '4111111111111111',
                        expiration => {
                                month => 9,
                                year  => 2025,
                        },
                },
                # optional:
                ship_to => {
                        country     => 'US',
                        postal_code => '78701',
                        city        => 'Austin',
                        state       => 'TX',
                        street1     => '306 E 6th',
                        street2     => 'Dizzy Rooster',
                },
        });

DESCRIPTION

Offline authorization means that when you submit an order using a credit card, you will not know if the funds are available until you capture the order and receive confirmation of payment. You typically will not ship the goods until you receive this payment confirmation. For offline credit cards, it will take typically five days longer to receive payment confirmation than for online cards.

EXTENDS

Business::CyberSource::Request

WITH

Business::CyberSource::Request::Role::BillingInfo
Business::CyberSource::Request::Role::CreditCardInfo
Business::CyberSource::Request::Role::DCC
Business::CyberSource::Request::Role::TaxService

ATTRIBUTES

references_code

Merchant Reference Code

bill_to

Business::CyberSource::RequestPart::BillTo

ship_to

Business::CyberSource::RequestPart::ShipTo

purchase_totals

Business::CyberSource::RequestPart::PurchaseTotals

card

Business::CyberSource::RequestPart::Card

business_rules

Business::CyberSource::RequestPart::BusinessRules

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/hostgator/business-cybersource/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Caleb Cushing <xenoterracide@gmail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2017 by Caleb Cushing <xenoterracide@gmail.com>.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)