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

Issue when providing and empty PaymentSource as in the example #277

Open
buffos opened this issue Oct 23, 2024 · 0 comments
Open

Issue when providing and empty PaymentSource as in the example #277

buffos opened this issue Oct 23, 2024 · 0 comments

Comments

@buffos
Copy link

buffos commented Oct 23, 2024

If I pass an empty payment source, as in the docs source := &paypal.PaymentSource{}
I get an error response from paypal as for the /payment_source describing that NO_PAYMENT_SOURCE_PROVIDED
Providing nil for the PaymentSource, works fine.

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

No branches or pull requests

1 participant