Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add five Indian payment methods #5696

Merged
merged 3 commits into from Sep 27, 2021
Merged

Add five Indian payment methods #5696

merged 3 commits into from Sep 27, 2021

Conversation

ghost
Copy link

@ghost ghost commented Sep 15, 2021


Note to reviewers:

All payment methods are specific to India / INR currency and are implemented using CountryBasedPaymentAccount.

Three of the payment methods (RTGS/NEFT/IMPS) are payment networks which use IFS Code and account number as the payee id. Since they function the same, code re-use was attained by inheriting from IfscBasedAccountPayload and using IfscBankForm to do the common GUI work.

The other two payment methods (PayTM, UPI) are regular single field payId accounts.

Each payment method shows popup information messages at buy/sell/hit/take offer so I made generic maybeShowAccountWarning methods in MutableOfferView and TakeOfferView that obtain the resource keys to display from the payment account. Swift was also adapted to make use of this feature. Same for the message shown prior to account creation, in FiatAccountsView.

@ghost ghost marked this pull request as ready for review September 23, 2021 01:35
@ripcurlx ripcurlx added this to the v1.7.5 milestone Sep 23, 2021
@ghost ghost mentioned this pull request Sep 23, 2021
Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@ripcurlx ripcurlx merged commit c4d0117 into bisq-network:master Sep 27, 2021
@ghost ghost mentioned this pull request Oct 19, 2021
@ghost ghost deleted the add_indian_payment branch May 29, 2022 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment