mirror of
https://github.com/valitydev/capi-v2.git
synced 2024-11-06 10:05:21 +00:00
CAPI-341: Decode for empty cvv method (#323)
This commit is contained in:
parent
b92b8ba9a3
commit
b33a432d30
@ -329,6 +329,8 @@ decode_payment_methods({value, PaymentMethodRefs}) ->
|
|||||||
proplists:get_keys(PaymentMethods)
|
proplists:get_keys(PaymentMethods)
|
||||||
).
|
).
|
||||||
|
|
||||||
|
decode_payment_method(empty_cvv_bank_card, PaymentSystems) ->
|
||||||
|
[#{<<"method">> => <<"BankCard">>, <<"paymentSystems">> => lists:map(fun genlib:to_binary/1, PaymentSystems)}];
|
||||||
decode_payment_method(bank_card, PaymentSystems) ->
|
decode_payment_method(bank_card, PaymentSystems) ->
|
||||||
[#{<<"method">> => <<"BankCard">>, <<"paymentSystems">> => lists:map(fun genlib:to_binary/1, PaymentSystems)}];
|
[#{<<"method">> => <<"BankCard">>, <<"paymentSystems">> => lists:map(fun genlib:to_binary/1, PaymentSystems)}];
|
||||||
decode_payment_method(payment_terminal, Providers) ->
|
decode_payment_method(payment_terminal, Providers) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user