Skip to content

Conversation

kgangineni
Copy link
Collaborator

Summary of changes

  • Get access token using client id
  • Use it in PaypalWebCheckoutClient
  • Token is not used right now, added todo to be used in getting app switch eligibility

Checklist

  • Added a changelog entry

Authors

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

  - Implement FetchClientToken class for OAuth2 client credentials flow
  - Add headers parameter to APIRequest for Basic auth support
  - Convert PayPalWebCheckoutClient.start() to suspend function
  - Integrate token fetching before launching web checkout
  - Add comprehensive error handling for token fetch failures
@kgangineni kgangineni requested a review from a team as a code owner June 25, 2025 16:03
@kgangineni kgangineni force-pushed the createAccessToken branch 3 times, most recently from 754dd35 to cdbf235 Compare July 1, 2025 16:14
Copy link
Collaborator

@sshropshire sshropshire left a comment

Choose a reason for hiding this comment

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

Couple take or leave 🧶 's but overall LGTM

@kgangineni kgangineni force-pushed the createAccessToken branch from cdbf235 to ece60f6 Compare July 7, 2025 18:26
…terface

  - Create PayPalWebCheckoutCallback fun interface following CardApproveOrderCallback pattern
  - Add overloaded start() function accepting PayPalWebCheckoutCallback
@kgangineni kgangineni force-pushed the createAccessToken branch from ece60f6 to cf9bece Compare July 7, 2025 18:36
@kgangineni kgangineni merged commit 39de947 into feature/app_switch Jul 7, 2025
5 checks passed
@kgangineni kgangineni deleted the createAccessToken branch July 7, 2025 19:42
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