-
Notifications
You must be signed in to change notification settings - Fork 996
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
Add WeChat Pay support (private beta) #1326
Conversation
This is for app to app redirect support.
…s. Add STPredirectContextTests
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.
Looks good to me. (Besides the confusion we discussed around this being STPSourceFlowNone
. We may want to document somewhere that WeChat Pay is a special case.)
@@ -23,6 +23,7 @@ @interface STPAPIClient (WritableURL) | |||
@implementation STPSourceFunctionalTest | |||
|
|||
- (void)setUp { | |||
// self.recordingMode = @YES; |
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.
Seems like this was left in by mistake.
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.
about half of our tests have this commented for ease of re-recording 🤷♂
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.
I find it helpful, saves me the trouble of finding the syntax.
@@ -316,6 +322,8 @@ - (NSString *)label { | |||
return STPLocalizedString(@"EPS", @"Source type brand name"); | |||
case STPSourceTypeMultibanco: | |||
return STPLocalizedString(@"Multibanco", @"Source type brand name"); | |||
case STPSourceTypeWeChatPay: | |||
return STPLocalizedString(@"WeChat Pay", @"Source type brand name"); |
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'll need to file a go/ask/localization
ticket for this
Summary
STPRedirectContext
Motivation
https://jira.corp.stripe.com/browse/IOS-772
https://jira.corp.stripe.com/browse/IOS-1174
Testing
STPRedirectContextTest
,STPSourceFunctionalTest.testCreateSource_wechatPay