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

Expose additional fields on SCPPaymentIntent #287

Open
bric-stripe opened this issue Feb 13, 2024 · 2 comments
Open

Expose additional fields on SCPPaymentIntent #287

bric-stripe opened this issue Feb 13, 2024 · 2 comments

Comments

@bric-stripe
Copy link
Collaborator

Summary

Creating an issue to track adding the additional fields requested in this PR

Code to reproduce

Although not all fields are currently returned on the intent object you can get at the original JSON data for a payment intent (and other classes) using the originalJSON method and looking for the attribute you need. We realize this isn't ideal but wanted to call it out as an option until we can add the missing fields.

iOS version

n/a

Installation method

all

SDK version

3.3.1

Other information

We'll use this issue to report updates to this request.

@jermaine-uome
Copy link

@bric-stripe Thank you for the recommendation on the PR #280. We've tried this and we are able to retrieve the full data.

What workaround can we use to ensure the connected account fields can be read when invoking the Terminal.collectPaymentMethod() function?

At the moment the PaymentIntent object constructed does not include the connected account fields like on_behalf_of and thus the call fails with "Missing required field".

Thanks so much

@jermaine-uome
Copy link

@bric-stripe Thank you for the recommendation on the PR #280. We've tried this and we are able to retrieve the full data.

What workaround can we use to ensure the connected account fields can be read when invoking the Terminal.collectPaymentMethod() function?

At the moment the PaymentIntent object constructed does not include the connected account fields like on_behalf_of and thus the call fails with "Missing required field".

Thanks so much

@bric-stripe Any feedback on my earlier message?

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

2 participants