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

Adds SEPA Debit PaymentMethod #1415

Merged
merged 7 commits into from
Oct 16, 2019
Merged

Adds SEPA Debit PaymentMethod #1415

merged 7 commits into from
Oct 16, 2019

Conversation

csabol-stripe
Copy link
Contributor

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


NS_ASSUME_NONNULL_BEGIN

@interface PaymentExampleViewController : UIViewController <STPAuthenticationContext>
Copy link
Contributor Author

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"]
Copy link
Contributor Author

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;
Copy link
Contributor Author

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

@yuki-stripe yuki-stripe self-assigned this Oct 15, 2019
@csabol-stripe csabol-stripe merged commit b784868 into master Oct 16, 2019
@csabol-stripe csabol-stripe deleted the csabol/sepa_debit_pm branch October 16, 2019 19:40
ccen-stripe pushed a commit that referenced this pull request Sep 19, 2022
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants