Commit Graph

3855 Commits

Author SHA1 Message Date
Yuki 7cb56ed736
Fix OXXO next action mistaken for a cancel in STPPaymentHandler (#184)
Co-authored-by: Thorsten Schaeff <thorsten@stripe.com>
2021-04-07 14:42:31 -07:00
davidme-stripe 55e0d9f9b8
Merge pull request #172 from stripe-ios/davidme/add-note-pkpayment
Add a note related to our handling of PKPaymentNetwork
2021-04-06 16:28:56 -07:00
davidme-stripe 2d51328b94
Merge pull request #173 from stripe-ios/davidme/handle-400-better
Retry `challenge_confirm` requests
2021-04-06 16:28:47 -07:00
davidme-stripe 929d18ed17
Merge pull request #175 from stripe-ios/davidme/safari-overfullscreen 2021-04-06 16:13:22 -07:00
davidme-stripe ae096a47c6
Merge pull request #183 from stripe-ios/davidme/e2e-to-jira
Notify Stripe of E2E test failures
2021-04-05 18:41:24 -07:00
David Estes abaf6546bd Revert "Revert "Remove artificial failure, run e2e only on nightly""
This reverts commit 28c2755210.
2021-04-05 17:44:07 -07:00
David Estes cc07fd8fa5 Send URL correctly 2021-04-05 17:36:33 -07:00
David Estes 28c2755210 Revert "Remove artificial failure, run e2e only on nightly"
This reverts commit fa6d86e42e.
2021-04-05 17:33:48 -07:00
David Estes fa6d86e42e Remove artificial failure, run e2e only on nightly 2021-04-05 17:33:25 -07:00
David Estes 751c13d0c7 Attempt failure 2021-04-05 17:19:16 -07:00
David Estes 49aef667c2 Test context 2021-04-05 17:12:56 -07:00
David Estes 36d62a533f Update scripts 2021-04-05 17:04:40 -07:00
David Estes 99ed492462 Update cache 2021-04-05 16:42:20 -07:00
David Estes 13755b8779 Update fastlane 2021-04-05 10:51:28 -07:00
David Estes 077abc363f Run on the URLSession's queue 2021-03-29 11:10:06 -07:00
David Estes 40026b8b97 Add universal backoff 2021-03-26 20:49:45 -07:00
David Estes 623cf25288 More reasonable timeout 2021-03-26 20:42:31 -07:00
David Estes e4cd2105c9 Fix double-dismiss issue 2021-03-26 14:00:38 -07:00
David Estes 57b90bd110 Switch to OverFullScreen presentation 2021-03-26 12:56:13 -07:00
davidme-stripe d53db28f56
Merge pull request #137 from stripe-ios/davidme/no-assets
Switch from asset catalogs to PNGs
2021-03-26 12:45:27 -07:00
David Estes 25bdac3415 Add tests 2021-03-26 12:37:58 -07:00
Yuki 0bab340641
Unpublicize BillingAddressCollectionLevel (#174) 2021-03-26 09:27:08 -07:00
David Estes 025ad12e0e Add retry for 400 errors on 3DS2 confirm 2021-03-25 17:55:53 -07:00
David Estes 81886821fc Add a note related to our handling of PKPaymentNetwork 2021-03-25 16:15:55 -07:00
davidme-stripe c2250dfea9
Merge pull request #167 from stripe-ios/davidme/fix-applepay-tests-2
Fix Apple Pay tests
2021-03-25 11:08:50 -07:00
Mel 244a54244f
Disable xcpretty inside fastlane (#168)
Added `disable_xcpretty: true` flag to `gym` calls inside fastlane.
2021-03-24 17:47:54 -07:00
David Estes e2456747eb Check the current API client's key in this assert, not the shared key. 2021-03-24 17:18:47 -07:00
David Estes 2de791d57a Fix ApplePay test 2021-03-24 15:54:49 -07:00
Yuki 29b50ac016
Adds BLIK PaymentMethod bindings (#150)
* Add STPPaymentMethodBLIK

* Add STPPaymentMethodBLIKParams

* Add STPPaymentMethodType, Params

* Add confirm

* Add new localized string

* Fix tests

* Fix up docstrings

* Add PaymentHandler support
2021-03-24 14:56:39 -07:00
davidme-stripe 825a92c169
Merge pull request #166 from stripe-ios/davidme/fix-applepay-tests
Fix ApplePayContext and Integration tests
2021-03-24 10:29:08 -07:00
Mel 02fec260fb
Add ability to upload example apps to TestFlight via Fastline (#158) 2021-03-23 17:36:38 -07:00
David Estes 05c4e3bde1 Fix comment 2021-03-23 17:25:16 -07:00
David Estes 582c78071e Fix ApplePayContext tests 2021-03-23 17:22:55 -07:00
Mel 0922e2b286
Move each example app into its own directory
Updated the directory structure of our `Example/` folder such that each example app project + supporting files is contained in its own directory (e.g. `Example/UI Examples/UI Examples.xcodeproj`, `Example/UI Examples/UI Examples/*.swift`).

All example project README files are kept in the example's root directory (e.g. `Example/Basic Integration/README.md`). This means that we don't have to update the relative paths in any of our README files.

Additionally:
- Relocated `UIColorColor+Stripe.swift` into the Basic Integration project files folder since it was previously orphaned in a weird location.
- Relocated `Basic Integration.xcworkspace` into `Example/Basic Integration/` (it was previously in the root directory, which was also confusing fastlane a little)
- Fixed `Basic Integration.xcworkspace` and `UI Examples.xcworkspace` so they compile now (they weren't including the `Stripe` and/or `Stripe3DS2` projects).
2021-03-23 15:53:40 -07:00
Mel 4bc6e03bc5
IDPROD-1438 part1: Make analytics logging more modular and testable (#161)
Make our analytics more testable & future proof against errors.
2021-03-19 18:09:08 -07:00
davidme-stripe 67217e56ad
Merge pull request #153 from stripe-ios/davidme/ci-refactor
Refactor CI
2021-03-17 16:43:59 -07:00
David Estes 59cc982719 Merge remote-tracking branch 'origin/private' into davidme/ci-refactor 2021-03-17 16:06:59 -07:00
davidme-stripe 77571d523d
Merge pull request #152 from stripe-ios/davidme/improve-integration-tester
Add new PaymentMethods to IntegrationTester
2021-03-17 16:06:51 -07:00
davidme-stripe 2958c28203
Merge pull request #151 from stripe-ios/davidme/integrationtester-ui-tests
Write IntegrationTester UI tests, update some Basic Integration tests
2021-03-17 16:05:07 -07:00
Yuki 87a8b0b386
Add decline code to userInfo of STPError (#112) 2021-03-15 16:55:56 -07:00
David Estes ee9c9fff17 Add unit tests 2021-03-12 17:22:25 -08:00
David Estes 06ab7095bf Move analyticsValue to extension 2021-03-12 15:56:57 -08:00
David Estes bd0724b4c9 Add analytics to a few more events 2021-03-12 15:53:19 -08:00
David Estes 46c4160fcd Add comment 2021-03-12 13:42:32 -08:00
David Estes 432c3bfc24 Fix date handling 2021-03-12 13:40:10 -08:00
David Estes 396221f4be Remove spurious window hiding 2021-03-12 13:33:26 -08:00
Yuki c745623921
[MC] Add SetupIntents support (#145)
* Fix STPSetupIntent

* Update public API

* Refactor Intent into PaymentSheet, PSFlowController, PS+Helpers, ApplePayContext+PS

* Refactor ConfirmButton, PSVC

* PS+Helper

* Update test playground for SI

* Update ChoosePOVC

* update PaymentSheetFlowController

* Hide the 'save this card' checkbox

* Add allowlist of pm types for reuse/setup/saving

* clean up

* Fix test, add localization

* add nodoc...

* Run swift-format on some files
2021-03-12 10:02:28 -08:00
David Estes be4d04e006 Write IntegrationTester UI tests, update some Basic Integration tests 2021-03-11 17:38:51 -08:00
David Estes 3884cb9951 Refactor CI 2021-03-11 17:37:31 -08:00
David Estes afb277eaab Add new PaymentMethods to IntegrationTester 2021-03-11 17:27:55 -08:00