You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @lefta. Thanks a lot for the detailed report! I pushed a fix in #479 which solves the issue. Can you confirm this has no side effect in your current project?
When adding a card to a client, the Stripe API returns a 400 error with a
Received unknown parameter: source
message.Example code:
The problem seems to lie in
AppendToAsCardSourceOrExternalAccount
. The function adds the source field even when params contains an account.As a workaround, I was able to solve this issue by reimplementing the relevant parts of
card.New()
:Go version: 1.9.1
Stripe Go library version: 28.3.0
The text was updated successfully, but these errors were encountered: