Business::Payment::Processor::Test::True - Test Processor
use Business::Payment; my $bp = Business::Payment->new( processor => Business::Payment::Processor::Test::True->new ); my $charge = Business::Payment::Charge->new( amount => 10.00 # Something Math::Currency can parse ); my $result = $bp->handle($charge); # Success!
Business::Payment::Processor::Test::True is test processor that always succeeds.
Cory G Watson, <gphat@cpan.org>
<gphat@cpan.org>
Copyright 2009 Cold Hard Code, LLC, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Business::Payment, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::Payment
CPAN shell
perl -MCPAN -e shell install Business::Payment
For more information on module installation, please visit the detailed CPAN module installation guide.