From 2a882cb5aedf98c27dfb1adc9cc1e985546de1b2 Mon Sep 17 00:00:00 2001 From: Andrey Fadeev Date: Mon, 3 Aug 2020 17:44:16 +0300 Subject: [PATCH] MSPF-560 Add RuPay payment system (#272) * Bump to rbkmoney/fistful-proto@82df93 * Bump to rbkmoney/swag-wallets@2f9ebc0a * Add RuPay decoding --- apps/fistful/src/ff_bin_data.erl | 1 + rebar.lock | 2 +- schemes/swag | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/fistful/src/ff_bin_data.erl b/apps/fistful/src/ff_bin_data.erl index 0a92c6b..102d832 100644 --- a/apps/fistful/src/ff_bin_data.erl +++ b/apps/fistful/src/ff_bin_data.erl @@ -117,6 +117,7 @@ decode_payment_system(<<"CHINA UNION PAY">>) -> unionpay; decode_payment_system(<<"JCB">>) -> jcb; decode_payment_system(<<"NSPK MIR">>) -> nspkmir; decode_payment_system(<<"ELO">>) -> elo; +decode_payment_system(<<"RUPAY">>) -> rupay; decode_payment_system(_) -> erlang:error({decode_payment_system, invalid_payment_system}). diff --git a/rebar.lock b/rebar.lock index 8ef6172..bf0e2a5 100644 --- a/rebar.lock +++ b/rebar.lock @@ -67,7 +67,7 @@ 0}, {<<"fistful_proto">>, {git,"git@github.com:rbkmoney/fistful-proto.git", - {ref,"367d8285ef9e40fb78b3fe63fc629fd7a3daf19f"}}, + {ref,"82df937eb1c1486078640fe6f84777e0cadba46f"}}, 0}, {<<"fistful_reporter_proto">>, {git,"git@github.com:rbkmoney/fistful-reporter-proto.git", diff --git a/schemes/swag b/schemes/swag index eca78dd..e0199c3 160000 --- a/schemes/swag +++ b/schemes/swag @@ -1 +1 @@ -Subproject commit eca78dd032f92533bee4b607753b0bb33bd58706 +Subproject commit e0199c3d856d3107d26d8056b19cb58bb0d3e340