Business-OnlinePayment-Braintree

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


    [BUG FIXES]

    * Execute POD tests only during release testing.
    * Split expiration date into month and year.

0.0002  Wed Dec 28 21:32:42 2011 CET

    [BUG FIXES]

    * Move extra parameters (merchant_id, private_key, public_key) to constructor (#71257).

0.0001  Tue Sep 13 14:06:34 2011 CEST

    * Initial release


README  view on Meta::CPAN


    Version 0.020

SYNOPSIS

        use Business::OnlinePayment;
    
        $tx = new Business::OnlinePayment('Braintree',
                                          merchant_id => 'your merchant id',
                                          public_key => 'your public key',
                                          private_key => 'your private key',
                                         );
    
        $tx->test_transaction(1); # sandbox transaction for development and tests
      
        $tx->content(amount => 100,
                     card_number => '4111 1111 1111 1111',
                     expiration => '1212');
    
        $tx->submit();
    

lib/Business/OnlinePayment/Braintree.pm  view on Meta::CPAN


our $VERSION = '0.020';

=head1 SYNOPSIS

    use Business::OnlinePayment;

    $tx = new Business::OnlinePayment('Braintree',
                                      merchant_id => 'your merchant id',
                                      public_key => 'your public key',
                                      private_key => 'your private key',
                                     );

    $tx->test_transaction(1); # sandbox transaction for development and tests
  
    $tx->content(amount => 100,
                 card_number => '4111 1111 1111 1111',
                 expiration => '1212');

    $tx->submit();

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.240 second using v1.00-cache-2.02-grep-82fe00e-cpan-2cc899e4a130 )