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

Demo app - Make Buliding urlRequests Consistent #257

Merged
merged 28 commits into from
Feb 28, 2024

Conversation

KunJeongPark
Copy link
Collaborator

@KunJeongPark KunJeongPark commented Feb 26, 2024

Summary of changes

  • Cleaned up creating setupToken and paymentToken in demo app
    using the same buildBaseURL and buildURLRequest.
  • Included option to exclude httpBody for get calls in buildURLRequest function in preparation for get setup token
    endpoint call for vault without purchase 3Ds, get order call for vault with purchase 3DS.

Checklist

- [ ] Added a changelog entry

Authors

List GitHub usernames for everyone who contributed to this pull request.

@KunJeongPark KunJeongPark requested a review from a team as a code owner February 26, 2024 17:34
@KunJeongPark KunJeongPark changed the title Demo app - make buliding urlRequests consistent Demo app - Make Buliding urlRequests Consistent Feb 26, 2024
Demo/Demo/Networking/DemoMerchantAPI.swift Outdated Show resolved Hide resolved
Demo/Demo/Networking/DemoMerchantAPI.swift Outdated Show resolved Hide resolved
Demo/Demo/Networking/DemoMerchantAPI.swift Outdated Show resolved Hide resolved
Copy link
Contributor

@richherrera richherrera left a comment

Choose a reason for hiding this comment

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

LGTM!! Just small suggestions :)

Demo/Demo/Models/PaymentTokenParam.swift Outdated Show resolved Hide resolved
Demo/Demo/Models/CreateSetupTokenParam.swift Outdated Show resolved Hide resolved
Demo/Demo/Networking/DemoMerchantAPI.swift Outdated Show resolved Hide resolved
Base automatically changed from vaultWithoutPurchase3DS to main February 28, 2024 16:48
@KunJeongPark KunJeongPark merged commit 670138c into main Feb 28, 2024
4 checks passed
@KunJeongPark KunJeongPark deleted the demoAppRequestRefactor branch February 28, 2024 17:11
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.

5 participants