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

feat: paypal client with proxy url option #371

Merged

Conversation

philo-veritas
Copy link
Contributor

@philo-veritas philo-veritas commented Nov 28, 2023

paypal 在 NewClient 中执行了获取 AccessToken 的操作,如果想要使用代理 Url,需要在请求前指定好代理地址。为了不造成破坏性改动,最终采用了 Functional Options Pattern 来设置代理 Url。

@iGoogle-ink iGoogle-ink merged commit f180d7c into go-pay:main Nov 28, 2023
7 checks passed
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