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

Parametrize applepay config and merchant type #192

Merged
merged 7 commits into from
Mar 14, 2022

Conversation

elizalucas
Copy link
Contributor

@elizalucas elizalucas commented Mar 11, 2022

This PR does the following:

  1. Parametrizes amount, shopName and lineItemType for apple pay config
  2. Implements selection of merchant type for applepay
  3. Creates default length for autogenerated tokens

@elizalucas elizalucas changed the title Parametrize applepay config and payfac/partnership selection Parametrize applepay config and merchant type Mar 11, 2022
@huaweigu huaweigu merged commit d66cc70 into circlefin:master Mar 14, 2022
}
}

randomString() {
return Math.random().toString(36).substring(2, 12)
randomString(length: number) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: there may be some other ways with libraries, but i see this is generally accepted approach
and is encapsulated in method, so seems fine for now

@elizalucas elizalucas deleted the parametrize-applepay-config branch March 22, 2022 15:57
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.

3 participants