customer => $customer,
source => $token_id_visa,
);
isnt $card->id, $other_card->id, 'different card id';
}
my $charge = $stripe->post_cha
customer => $customer,
card => $token_id_visa,
);
isnt $card->id, $other_card->id, 'different card id';
}
$charge = $stripe->post_charge
ta}, 1, 'customer still has one card';
my $new_card = @{$cards->data}[0];
isnt $new_card->id, $card->id, 'new card has different card id';
}
Update_card_for_cu