-
Notifications
You must be signed in to change notification settings - Fork 658
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
Call new elements/detach endpoint for customer sessions. #9801
Conversation
Diffuse output:
APK
DEX
|
3476176
to
e44078b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we do this branching within the detachPaymentMethod
function instead of here? ie add a customerSessionClientSecret: String?
param to the existing function and call the old endpoint if the client secret is null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't really have a logic layer in StripeApiRepository
. It's basically a pure passthrough to the API. So it doesn't really feel right to me.
Summary
Calls the new detach endpoint for customer sessions
Motivation
https://jira.corp.stripe.com/browse/MOBILESDK-2903
Testing