-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Make STPSource
conform to STPPaymentMethod
, exposing labels & images
#976
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
119a5c9
Make `STPSource`'s implementation of `STPPaymentMethod` public
joeydong-stripe 15f81a0
Add suitable `STPPaymentMethod` protocol implementation in `STPSource`
joeydong-stripe 4a6b87c
Merge branch 'master' into joeydong/displayableSource
joeydong-stripe a9458b7
Add localization options for [STPSource label]
joeydong-stripe ed95cb8
Adjust CHANGELOG entry
joeydong-stripe d64dedc
Merge remote-tracking branch 'origin/master' into joeydong/displayabl…
danj-stripe f3fcec1
Revert removal of the character length requests for zip/postal
danj-stripe d1e3669
Fix test failures on iOS 9: compare PNG data of UIImages
danj-stripe 24f9824
Update documentation on `STPPaymentMethod`
danj-stripe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// Source: https://stripe.com/docs/sources/bancontact | ||
{ | ||
"id": "src_16xhynE8WzK49JbAs9M21jaR", | ||
"object": "source", | ||
"amount": 1099, | ||
"client_secret": "src_client_secret_UfwvW2WHpZ0s3QEn9g5x7waU", | ||
"created": 1445277809, | ||
"currency": "eur", | ||
"statement_descriptor": null, | ||
"flow": "redirect", | ||
"livemode": true, | ||
"owner": { | ||
"address": null, | ||
"email": null, | ||
"name": "Jenny Rosen", | ||
"phone": null, | ||
"verified_address": null, | ||
"verified_email": null, | ||
"verified_name": "Jenny Rosen", | ||
"verified_phone": null | ||
}, | ||
"redirect": { | ||
"return_url": "https://shop.example.com/crtA6B28E1", | ||
"status": "pending", | ||
"url": "https://pay.stripe.com/redirect/src_16xhynE8WzK49JbAs9M21jaR?client_secret=src_client_secret_UfwvW2WHpZ0s3QEn9g5x7waU" | ||
}, | ||
"status": "pending", | ||
"type": "bancontact", | ||
"usage": "single_use", | ||
"bancontact": { | ||
"bank_code": null, | ||
"bic": null, | ||
"bank_name": null, | ||
"iban_last4": null, | ||
"statement_descriptor": null, | ||
"preferred_language": null | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// Source: https://stripe.com/docs/sources/cards | ||
{ | ||
"id": "src_123", | ||
"object": "source", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Source: https://stripe.com/docs/sources/eps | ||
{ | ||
"id": "src_16xhynE8WzK49JbAs9M21jaR", | ||
"object": "source", | ||
"amount": 1099, | ||
"client_secret": "src_client_secret_UfwvW2WHpZ0s3QEn9g5x7waU", | ||
"created": 1445277809, | ||
"currency": "eur", | ||
"flow": "redirect", | ||
"livemode": true, | ||
"owner": { | ||
"address": null, | ||
"email": null, | ||
"name": "Jenny Rosen", | ||
"phone": null, | ||
"verified_address": null, | ||
"verified_email": null, | ||
"verified_name": "Jenny Rosen", | ||
"verified_phone": null | ||
}, | ||
"redirect": { | ||
"return_url": "https://shop.example.com/crtA6B28E1", | ||
"status": "pending", | ||
"url": "https://pay.stripe.com/redirect/src_16xhynE8WzK49JbAs9M21jaR?client_secret=src_client_secret_UfwvW2WHpZ0s3QEn9g5x7waU" | ||
}, | ||
"statement_descriptor": null, | ||
"status": "pending", | ||
"type": "eps", | ||
"usage": "single_use", | ||
"eps": { | ||
"reference": null, | ||
"statement_descriptor": null, | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
this is just a placeholder for when we make the next release?
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.
Yeah. I think it's better for us to update the CHANGELOG during the release process, to avoid conflicts while merging PRs, but sometimes we do it during the PR.