Commit Graph

1748 Commits

Author SHA1 Message Date
Brian Dorfman e5ee6180e2 Guard all escaping completions with dispatch
Any delegate method where we pass a completion block that might be called outside of the framework itself, we should make sure to dispatch back to the main thread ourselves inside the completion instead of relying on the user to make sure they are calling it on the correct thread.
2016-10-24 16:16:00 -07:00
Brian Dorfman 722d9b4137 Fix text spacing and test for no country 2016-10-24 15:49:55 -07:00
Brian Dorfman 8711d9b78b Add AddCardVC snapshots for other countries
To get full strings coverage
2016-10-24 15:49:54 -07:00
Brian Dorfman d77dff2823 More addcardvc fixes/changes
* Address cell placeholders are now what used to be captions instead of examples. No more permanent captions to conserve horizontal space (and match Contacts.app address entry)

* Have remember me footer view size itself correctly and update UI test to capture it properly.
2016-10-24 15:49:54 -07:00
Brian Dorfman e32de66983 Update strings files 2016-10-24 15:49:54 -07:00
Brian Dorfman 491c6b8953 add card vc tweaks
Better localization for state field
Only show placeholders for US region
Add some missing localized tags
2016-10-24 15:49:54 -07:00
Brian Dorfman fca9c1fe3f Add localization snapshot tests 2016-10-24 15:45:48 -07:00
Brian Dorfman c1fc0d797c Allow language overriding in debug 2016-10-24 15:37:03 -07:00
Brian Dorfman a794e0b35d Install carthage dependency before running tests 2016-10-24 14:58:22 -07:00
Brian Dorfman 04bc05eccf Add FBSnapshotTestCase to test target 2016-10-21 12:02:04 -07:00
Ben Guo a3a8354bb2 Merge pull request #483 from stripe/bg-uiappearance
Fix UIAppearance properties in STPPaymentCardTextField
2016-10-20 14:40:47 -04:00
Ben Guo fda8dd62e5 fix UIAppearance issues 2016-10-20 13:37:13 -04:00
Ben Guo 6b9c5f2a8e Merge pull request #481 from stripe/bg-callback-main
Call paymentContextDidChange on main thread
2016-10-19 10:45:22 -04:00
Ben Guo dfb3d6f676 dispatch paymentContextDidChange to main thread 2016-10-18 18:24:17 -04:00
Ben Guo f2f2e5d702 Merge pull request #476 from AngeloGiurano/master
Update STPAddressFieldTableViewCell.m
2016-10-18 12:50:53 -04:00
AngeloGiurano c710fcce7a Update STPAddressFieldTableViewCell.m 2016-10-17 21:07:32 +02:00
AngeloGiurano a43067b667 Update STPAddressFieldTableViewCell.m 2016-10-17 21:07:08 +02:00
AngeloGiurano 53d7111334 Update STPAddressFieldTableViewCell.m 2016-10-16 21:25:03 +02:00
Brian Dorfman c6119a34d9 Merge pull request #474 from stripe/bdorfman-new-mastercard-bins
Add new mastercard bin range
2016-10-10 12:11:52 -07:00
Brian Dorfman 9a988b84df Add new mastercard bin range
Also converted code to use dispatch_once while I was in there.
2016-10-10 10:47:43 -07:00
Jake Bellamy 1cd879a188 Add compiler attributes for backwards compatibility 2016-10-06 12:44:54 +13:00
Jake Bellamy 70fbd7b024 Typedef card error codes into a Swift string enum 2016-10-06 09:25:40 +13:00
Jake Bellamy 0e1f023890 Add ns_error_domain compiler attribute to STPError 2016-10-06 09:25:40 +13:00
Brian Dorfman d8dfab70e7 Merge pull request #472 from stripe/bdorfman-9.0.0
Version 9.0.0
2016-10-05 11:59:43 -07:00
Brian Dorfman 47e4800134 Update docs 2016-10-04 11:26:03 -07:00
Brian Dorfman fd60f7c36a 9.0.0 release 2016-10-04 11:20:57 -07:00
Brian Dorfman c2cad22f5f Merge pull request #471 from stripe/bdorfman-update-docs
Add documentation to STPPaymentConfig
2016-10-04 10:23:35 -07:00
Brian Dorfman 0a26d81151 Fix documentation mistake 2016-10-04 10:23:27 -07:00
Brian Dorfman 544f28d6db Add documentation to STPPaymentConfig
jazzy seemingly wont generate a doc file if the class doesnt have a global description, so I added one.
2016-10-03 17:24:42 -07:00
Ben Guo 541a69f8a7 Merge pull request #470 from stripe/bg-custom-example
Update ObjC example to use /charge_card endpoint
2016-10-03 10:20:08 -04:00
Ben Guo 6c28300d9d use charge_card endpoint in custom example 2016-09-30 18:40:55 -04:00
Ben Guo 75d29b3d64 Merge pull request #465 from stripe/bg-summaryitems-docs
Add note to docs explaining grand total must be greater than zero
2016-09-30 18:26:12 -04:00
Ben Guo 0fe468209b add note to docs explaining grand total must be greater than zero 2016-09-29 17:11:25 -04:00
Ben Guo 363ed16d6c Merge pull request #466 from stripe/bg-status-bar
Status bar color improvements
2016-09-29 15:42:57 -04:00
Ben Guo 32e2c9bc68 add barStyle and translucent to theme 2016-09-29 11:37:52 -04:00
Ben Guo 8e0082f39a fix navigation bar theme visual bug 2016-09-27 17:17:36 -04:00
Ben Guo 9186049659 fix visual bug in Add Card cell 2016-09-27 17:17:00 -04:00
Ben Guo f902f3b3c7 Merge pull request #459 from stripe/bg-example-window
fix nil window issue on iOS 8
2016-09-26 15:51:17 -04:00
Ben Guo e6951717b6 Merge pull request #464 from stripe/bg-charge-custom
Fix apple pay button in "Custom" example
2016-09-26 15:51:07 -04:00
Ben Guo 0a83def47b fix apple pay in custom example 2016-09-26 14:36:16 -04:00
Ben Guo 98c1463df4 use charge_custom endpoint in custom example 2016-09-26 13:37:10 -04:00
Ben Guo 23844dda60 fix nil window issue on iOS 8 2016-09-21 17:28:22 -04:00
Brian Dorfman c6330c3680 Merge pull request #455 from stripe/bdorfman-textcontenttype
Set text content type on form text field
2016-09-20 10:57:29 -07:00
Brian Dorfman d2b1bf6dff Set text content type on form text field
As suggested by @zadr
2016-09-20 10:24:30 -07:00
Brian Dorfman 0a2dd6f2e6 Merge pull request #438 from stripe/bdorfman-translations2
Updated strings
2016-09-19 17:32:16 -07:00
Brian Dorfman 7fe7869de8 Merge branch 'master' into bdorfman-translations2 2016-09-19 15:37:15 -07:00
Brian Dorfman f1b0432428 Merge pull request #452 from stripe/bdorfman-xcode8
Xcode 8 / Swift 3 / App Extension
2016-09-19 15:30:28 -07:00
Brian Dorfman 43e6641451 Change podspec to require all frameworks 2016-09-19 14:36:19 -07:00
Brian Dorfman 4d4f84df0f Remove stripe alerts category 2016-09-19 14:36:09 -07:00
Brian Dorfman 116ab48950 Merge pull request #453 from stripe/bdorfman-swift3-bug-notes
Add comments explaining confusing Xcode error
2016-09-19 12:45:57 -07:00