( $month, $year ) = ( $1, $2 );
$month = '0'. $month if $month =~ /^\d$/;
( $month, $year ) = ( $1, $2 );
$month = '0'. $month if $month =~ /^\d$/;
- cardNumber => 'card_number',
- cardExpMonth => \$month,
- cardExpYear => \$year,
+ cardnumber => 'card_number',
+ cardexpmonth => \$month,
+ cardexpyear => \$year,
if ( $response{'r_approved'} eq 'APPROVED' ) {
$self->is_success(1);
$self->result_code($response{'r_code'});
$self->authorization($response{'r_ref'});
$self->order_number($response{'r_ordernum'});
if ( $response{'r_approved'} eq 'APPROVED' ) {
$self->is_success(1);
$self->result_code($response{'r_code'});
$self->authorization($response{'r_ref'});
$self->order_number($response{'r_ordernum'});