Add deposit method to card metadata

This commit is contained in:
Wouter 2019-05-12 15:33:03 +02:00
parent 43501201c3
commit edca797fe5
No known key found for this signature in database
GPG key ID: 14C7AB14E0A8019D

View file

@ -47,7 +47,7 @@ sub how :Tab(&how_tab) {
return shift @{ $how->{prompts} }, \&how_prompt;
}
$cart->add(undef, +$self->{amount}, $how->{description}, { is_deposit => 1 });
$cart->add(undef, +$self->{amount}, $how->{description}, { is_deposit => 1, method => $input });
return ACCEPT;
}