-
Notifications
You must be signed in to change notification settings - Fork 997
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
Adds SEPA Debit PaymentMethod #1415
Conversation
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface PaymentExampleViewController : UIViewController <STPAuthenticationContext> |
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.
so we can stop just copy-pasting as we add view controllers. Should definitely modernize this code more though
@@ -105,6 +110,7 @@ - (void)confirmPayment:(STPPaymentIntentParams *)paymentParams | |||
params.useStripeSDK = @YES; | |||
} | |||
[self.apiClient confirmPaymentIntentWithParams:params | |||
expand:@[@"payment_method"] |
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.
filed a followup for a general solution for this
@@ -12,6 +12,12 @@ | |||
#import "STPPaymentMethodParams.h" | |||
#import "STPPaymentResult.h" | |||
|
|||
@interface STPPaymentIntentParams () | |||
|
|||
@property (nonatomic, nullable, readonly) NSDictionary *mandateData; |
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.
followup to expose this publically
* Add UPI prototype * Move UPI support to playground * remove prints * Update playground for Indian merchants * Update PaymentSheetTestPlayground.swift * Add UPI snapshot * Update PaymentSheetSnapshotTests.swift * Use CompatibleColor * respect appearance api in polling vc * Mark polling VC as internal * clean up * Move VPA validation to own file * update todos * Update STPIntentAction.swift * Handle todo * Localize countdown timer * Remove post_confirm_handling_pi_status_specs from form spec * Remove upi next action, update intent directly * Revert "Remove post_confirm_handling_pi_status_specs from form spec" This reverts commit 1989a15ba322c1e426595d49b1ecc7b49577f517. * add back india to playground * Remove UPI from luxe spec * Add UPI automated UI tests * Clean up some white space * Add STPVPANumberValidatorTest * PR feedback
Summary
Adds bindings for SEPA Debit on PaymentMethod and adds examples for SEPA Debit and iDEAL.
Motivation
New PaymentMethods!
Testing
Tested w/ "Custom Integration" sample app