Skip to content

Commit

Permalink
Import of XENO/Business-OnlinePayment-CyberSource-3.000013 from CPAN.
Browse files Browse the repository at this point in the history
gitpan-cpan-distribution: Business-OnlinePayment-CyberSource
gitpan-cpan-version:      3.000013
gitpan-cpan-path:         XENO/Business-OnlinePayment-CyberSource-3.000013.tar.gz
gitpan-cpan-author:       XENO
gitpan-cpan-maturity:     released
  • Loading branch information
xenoterracide authored and Gitpan committed Oct 21, 2014
1 parent f284773 commit ccaa2f0
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 32 deletions.
4 changes: 3 additions & 1 deletion Changes
@@ -1,7 +1,9 @@
Revision history for Business-OnlinePayment-CyberSource

3.000012 2014-03-03
3.000013 2014-03-04
- remove use of deprecated run_transaction API

3.000012 2014-03-03
- convert to Module::Runtime
- use Business::CyberSource 9 API
- remove Data::Dump
Expand Down
12 changes: 6 additions & 6 deletions META.json
Expand Up @@ -77,23 +77,23 @@
"provides" : {
"Business::OnlinePayment::CyberSource" : {
"file" : "lib/Business/OnlinePayment/CyberSource.pm",
"version" : "3.000012"
"version" : "3.000013"
},
"Business::OnlinePayment::CyberSource::Client" : {
"file" : "lib/Business/OnlinePayment/CyberSource/Client.pm",
"version" : "3.000012"
"version" : "3.000013"
},
"Business::OnlinePayment::CyberSource::Role::ErrorReporting" : {
"file" : "lib/Business/OnlinePayment/CyberSource/Role/ErrorReporting.pm",
"version" : "3.000012"
"version" : "3.000013"
},
"Business::OnlinePayment::CyberSource::Role::InputHandling" : {
"file" : "lib/Business/OnlinePayment/CyberSource/Role/InputHandling.pm",
"version" : "3.000012"
"version" : "3.000013"
},
"Business::OnlinePayment::CyberSource::Role::TransactionHandling" : {
"file" : "lib/Business/OnlinePayment/CyberSource/Role/TransactionHandling.pm",
"version" : "3.000012"
"version" : "3.000013"
}
},
"release_status" : "stable",
Expand All @@ -108,7 +108,7 @@
"web" : "https://github.com/xenoterracide/business-onlinepayment-cybersource"
}
},
"version" : "3.000012",
"version" : "3.000013",
"x_contributors" : [
"Jad Wauthier <jadrien.wauthier@gmail.com>",
"Jad Wauthier <jwauthier@cpan.org>",
Expand Down
12 changes: 6 additions & 6 deletions META.yml
Expand Up @@ -29,19 +29,19 @@ no_index:
provides:
Business::OnlinePayment::CyberSource:
file: lib/Business/OnlinePayment/CyberSource.pm
version: '3.000012'
version: '3.000013'
Business::OnlinePayment::CyberSource::Client:
file: lib/Business/OnlinePayment/CyberSource/Client.pm
version: '3.000012'
version: '3.000013'
Business::OnlinePayment::CyberSource::Role::ErrorReporting:
file: lib/Business/OnlinePayment/CyberSource/Role/ErrorReporting.pm
version: '3.000012'
version: '3.000013'
Business::OnlinePayment::CyberSource::Role::InputHandling:
file: lib/Business/OnlinePayment/CyberSource/Role/InputHandling.pm
version: '3.000012'
version: '3.000013'
Business::OnlinePayment::CyberSource::Role::TransactionHandling:
file: lib/Business/OnlinePayment/CyberSource/Role/TransactionHandling.pm
version: '3.000012'
version: '3.000013'
requires:
Business::CyberSource: '0.009000'
Business::CyberSource::Client: '0.007006'
Expand All @@ -66,7 +66,7 @@ resources:
bugtracker: https://github.com/xenoterracide/business-onlinepayment-cybersource/issues
homepage: https://metacpan.org/dist/Business-OnlinePayment-CyberSource
repository: git://github.com/xenoterracide/business-onlinepayment-cybersource.git
version: '3.000012'
version: '3.000013'
x_contributors:
- 'Jad Wauthier <jadrien.wauthier@gmail.com>'
- 'Jad Wauthier <jwauthier@cpan.org>'
Expand Down
2 changes: 1 addition & 1 deletion Makefile.PL
Expand Up @@ -51,7 +51,7 @@ my %WriteMakefileArgs = (
"Test::More" => 0,
"version" => 0
},
"VERSION" => "3.000012",
"VERSION" => "3.000013",
"test" => {
"TESTS" => "t/*.t"
}
Expand Down
2 changes: 1 addition & 1 deletion README
Expand Up @@ -3,7 +3,7 @@ NAME
Business::OnlinePayment

VERSION
version 3.000012
version 3.000013

SYNOPSIS
use Business::OnlinePayment;
Expand Down
4 changes: 2 additions & 2 deletions lib/Business/OnlinePayment/CyberSource.pm
Expand Up @@ -13,7 +13,7 @@ use MooseX::Types::Moose qw(Bool HashRef Int);
use MooseX::Types::Common::String qw(NonEmptySimpleStr);

# ABSTRACT: CyberSource backend for Business::OnlinePayment
our $VERSION = '3.000012'; # VERSION
our $VERSION = '3.000013'; # VERSION

extends 'Business::OnlinePayment';

Expand Down Expand Up @@ -56,7 +56,7 @@ Business::OnlinePayment::CyberSource - CyberSource backend for Business::OnlineP
=head1 VERSION
version 3.000012
version 3.000013
=head1 SYNOPSIS
Expand Down
14 changes: 7 additions & 7 deletions lib/Business/OnlinePayment/CyberSource/Client.pm
Expand Up @@ -15,7 +15,7 @@ use MooseX::Types::Moose qw(Bool HashRef Int Str);
use MooseX::Types::Common::String qw(NonEmptySimpleStr);

# ABSTRACT: CyberSource Client object for Business::OnlinePayment::CyberSource
our $VERSION = '3.000012'; # VERSION
our $VERSION = '3.000013'; # VERSION

#### Subroutine Definitions ####

Expand Down Expand Up @@ -78,7 +78,7 @@ sub _authorize {
return $request unless $request;

try {
my $response = $self->run_transaction( $request );
my $response = $self->submit( $request );

if ( $response->is_accept() ) {
$self->is_success( 1 );
Expand Down Expand Up @@ -146,7 +146,7 @@ sub capture {
return $request unless $request;

try {
my $response = $self->run_transaction( $request );
my $response = $self->submit( $request );

if ( $response->is_accept() ) {
$self->is_success ( 1 );
Expand Down Expand Up @@ -207,7 +207,7 @@ sub credit {
return $request unless $request;

try {
my $response = $self->run_transaction( $request );
my $response = $self->submit( $request );


if ( $response->is_accept() ) {
Expand Down Expand Up @@ -263,7 +263,7 @@ sub auth_reversal {
};

try {
my $response = $self->run_transaction( $request );
my $response = $self->submit( $request );

if ( $response->is_accept() ) {
$self->is_success ( 1 );
Expand Down Expand Up @@ -509,7 +509,7 @@ has _client => (
required => 0,
predicate => 'has_client',
init_arg => undef,
handles => qr/^(?:run_transaction)$/x,
handles => [ qw( submit ) ],
lazy => 1,
);

Expand Down Expand Up @@ -634,7 +634,7 @@ Business::OnlinePayment::CyberSource::Client - CyberSource Client object for Bu
=head1 VERSION
version 3.000012
version 3.000013
=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions lib/Business/OnlinePayment/CyberSource/Role/ErrorReporting.pm
Expand Up @@ -11,7 +11,7 @@ use MooseX::Types::Moose qw(Str);
use MooseX::Types::Common::String qw(NonEmptySimpleStr);

# ABSTRACT: Error reporting role for BOP::CyberSource
our $VERSION = '3.000012'; # VERSION
our $VERSION = '3.000013'; # VERSION

#### Subroutine Definitions ####

Expand Down Expand Up @@ -51,7 +51,7 @@ Business::OnlinePayment::CyberSource::Role::ErrorReporting - Error reporting rol
=head1 VERSION
version 3.000012
version 3.000013
=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions lib/Business/OnlinePayment/CyberSource/Role/InputHandling.pm
Expand Up @@ -8,7 +8,7 @@ use namespace::autoclean;
use Moose::Role;

# ABSTRACT: Input handling convenience methods for Business::OnlinePayment::CyberSource
our $VERSION = '3.000012'; # VERSION
our $VERSION = '3.000013'; # VERSION

#### Subroutine Definitions ####

Expand Down Expand Up @@ -44,7 +44,7 @@ Business::OnlinePayment::CyberSource::Role::InputHandling - Input handling conve
=head1 VERSION
version 3.000012
version 3.000013
=head1 SYNOPSIS
Expand Down
Expand Up @@ -12,7 +12,7 @@ use Try::Tiny;
use Business::OnlinePayment::CyberSource::Client;

# ABSTRACT: Transaction handling role for BOP::CyberSource
our $VERSION = '3.000012'; # VERSION
our $VERSION = '3.000013'; # VERSION

#### Subroutine Definitions ####

Expand Down Expand Up @@ -199,7 +199,7 @@ Business::OnlinePayment::CyberSource::Role::TransactionHandling - Transaction ha
=head1 VERSION
version 3.000012
version 3.000013
=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions xt/author/pod-spell.t
Expand Up @@ -47,8 +47,8 @@ lib
Business
OnlinePayment
CyberSource
Client
Role
TransactionHandling
Client
InputHandling
ErrorReporting
TransactionHandling

0 comments on commit ccaa2f0

Please sign in to comment.