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

Accept bank cards only for specific connectors #997

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wku12
Copy link
Contributor

@wku12 wku12 commented Dec 18, 2024

Describe your changes

Add to the config a comma separated list (since config can't have arrays) of connectors to which the bank cards should be accepted

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

@wku12 wku12 force-pushed the feat/ad_hoc_restrictions_for_payment_terminal branch 2 times, most recently from 299f485 to 0947e9b Compare December 18, 2024 10:05
@wku12 wku12 force-pushed the feat/ad_hoc_restrictions_for_payment_terminal branch from 0947e9b to 7a38aa8 Compare December 18, 2024 10:42
@wku12 wku12 force-pushed the feat/ad_hoc_restrictions_for_payment_terminal branch from 7a38aa8 to 27b8e01 Compare December 18, 2024 10:44

/// For which connectors credit cards should be accepted
/// If None, authentication happens to all connectors
credit_cards_connectors: Vec<i64>,
Copy link
Contributor

Choose a reason for hiding this comment

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

None can be only true for Option. Maybe lets make it an option?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It doesn't have to. It's a config - it should always be set to something. Even empty

Copy link
Contributor

Choose a reason for hiding this comment

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

I mean in the comment above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants