braintree / braintree_ios

Braintree SDK for iOS

Home Page:https://developer.paypal.com/braintree/docs/start/hello-client/ios/v5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BTVenmoClient.Tokenize(...) always returns error

mikezaslavskiy opened this issue · comments

Braintree SDK Version

6.3.0

Environment

Production

Xcode Version

14.3

OS Version & Device

No response

Integration type

Swfit Package Manager

Development Processor

Apple Silicon (M-series chips)

Describe the bug

Integration with venmo seems to be broken while migrating SDK from 4.x.x to 6.3.0.

When using the tokenize function of BTVenmoClient the error is always the output. apiClient.fetchOrReturnRemoteConfiguration executes well.
But then apiClient.post("", parameters: graphQLParameters, httpType: .graphQLAPI) returns error:
invalidRedirectURL : "An unexpected error occurred"

To reproduce

  1. Initialize an instance of BTVenmoClient
  2. Initialize in instance of BTVenmoRequest
  3. Call venmoClient.tokenize and check the result closure. It returns error.

Expected behavior

Closure returns BTVenmoAccountNonce instance, not an error.

Screenshots

No response

Hey @mikezaslavskiy -

Thanks for using the SDK and reporting this issue! I was able to replicate the behavior you are seeing. We will work on a fix to have this resolved shortly.

When we can have a new SDK release with this change included? It's blocking the 6.x.x. version integration since Venmo is completely broken at this point in 6.3.0

Hey @mikezaslavskiy -

We are planning to do a release today. I will let you know the version as soon as the release process is complete.

Hello @mikezaslavskiy! Version 6.4.0 of the SDK has been released. Please let us know when you've had a chance to verify the fix so we can closeout this issue. Thanks again for using the SDK!

I think it has been fixed, thank you.