Commit Graph

38 Commits

Author SHA1 Message Date
Anton Kuznetsov
401651411b [4.6.3] Add keyboardAppearance for iOS 2018-02-28 10:48:57 +03:00
paynd
40ac79fd31 Default manifest placeholder moved into library module. Manifest merger has been configured. 2017-12-22 12:17:36 +03:00
paynd
5df244e8c0 Fix for cardId 2017-12-20 08:14:16 +03:00
Andrey
67fa69f0e1 [4.3.0] Added ability to set Shipping Country for Android Pay (#187) 2017-12-07 17:31:17 +03:00
Andrey
9c750e3313 [4.2.3] Update gradle and Android components (#179) 2017-12-07 17:29:40 +03:00
pera
1729488bd5 [4.2.0] Added createSourceWithParams method for Android (#112) (#115)
* Added createSourceWithParams method for Android

* Fixed typo in giropay

* Accept license for Android build-tools-26.0.1

* Accept license for SDK

* Update for gradle

* Fixed comments and Android crash

* Handle redirects

* Fixed redirect in Android 5

* Update Sources test suite

* Update Sources test suite

* Update Sources test suite

* There is a problem with buttons on Stripe site in browser on Android

* Bump version

* Add android 7 emular

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update suites

* Update .travis

* Update .travis

* Update .travis

* Update .travis

* Update .travis

* Update .travis

* Update .travis

* Update .travis

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update 06_test_sources for swipe on Android

* Temporary disable helper.screenshot()

* Add environment variables to identify jobs on CI

* Use armeabi-v7a-android-25 emulator for Android 7

* Use armeabi-v7a-android-25 emulator for Android 7

* Return armeabi-v7a-android-24 as emulator for Android 7

* Tests passed on Android 5

* Remove extra changes

* Remove extra changes

* Remove screenshooter on error

* Update nativeSwipe and nativeClick

* Update nativeSwipe and nativeClick

* Update nativeSwipe

* Update nativeSwipe

* Update Custom Card expiration date, update nativeSwipe

* Update tests
2017-12-06 11:50:52 +03:00
Anton Kuznetsov
511b2d9c0a Added createSourceWithParams method for iOS (#112) 2017-11-06 17:14:53 +03:00
Anton Kuznetsov
92b96a2ca4 Add tipsi-stripe.podspec (#147) 2017-10-31 00:13:43 +03:00
dmytrozavgorodniy
89ee3933b1 [4.0.0] [Breaking Changes] Add supports array of PKAddressFields (#133)
* Add supports array of PKAddressFields

* Update types for requiredBillingAddressFields/requiredShippingAddressFields params

* Update README.md

* Bump package version
2017-10-27 16:24:29 +03:00
dmytrozavgorodniy
46d68a864e [3.8.2] Fix iOS HEADER_SEARCH_PATHS (#141)
* Add additional iOS dependencies to Podfile

* Add ios/Podfile to files_to_copy in .travis/before-install.sh

* Fix HEADER_SEARCH_PATHS for TPSStripe.xcodeproj

* Review fixes

* Bump package version
2017-10-19 17:19:18 +03:00
Anton Kuznetsov
a4ef90e22d [3.8.1] Revert 3.8.0 (#139)
* [3.8.1] Revert 3.8.0

* [3.8.1] Update local-ci, make sure that dependencies work correctly after reinstallation

* [3.8.1] Update local-ci, make sure that dependencies work correctly after reinstallation
2017-10-14 14:21:07 +03:00
dmytrozavgorodniy
7f364cbc1b Link Stripe pod dependency to TPSStripe target via cocoapods (#134) 2017-10-12 12:05:38 +03:00
Anton Kuznetsov
4ade20c3da [3.7.1] Resolve completeApplePayRequest when it's really done (#119)
* Resolve completeApplePayRequest when it's really done

* Resolve cancelApplePayRequest when it's really done

* Set minimal version back to 0.40
2017-09-25 19:07:38 +03:00
Andrey
2db8b77332 Check in every method that user called init method (#110) 2017-09-11 10:00:31 +03:00
Andrey
029158ea09 AndroidPay updates. Fixes #84, #98, #99 (#108)
* Fix for paymentRequestWithAndroidPay promise resolving

* Documentation and token parsing fix.

* Log removed.

* Fix version.
2017-08-31 22:56:22 +03:00
Anton Kuznetsov
dde00a6ba5 [3.4.1] Fix all warnings about PropTypes 2017-08-10 10:07:11 +03:00
Anton Kuznetsov
6c3ea8b7ba Validate method arguments. Fixes #73 (#94)
* Check publishableKey property on init method. Fixes #73

* Check publishableKey property on init method. Fixes #73

* Check publishableKey property on init method with prop-types. Fixes #73

* Check publishableKey property on init method with prop-types. Fixes #73

* Check publishableKey property on init method with prop-types. Fixes #73

* Check publishableKey property on init method with prop-types. Fixes #73

* Check publishableKey property on init method with prop-types. Fixes #73

* Check publishableKey property on init method with prop-types. Fixes #73

* Check publishableKey property on init method with prop-types. Fixes #73

* Added more types

* Added more types into Stripe.android.js

* Return promises from Stripe.android.js

* Update checkArgs to check params instead of options

* Move checkArgs import after processTheme in Stripe.ios

* React.PropTypes -> prop-types

* Update version to 3.4.0

* Update test suite

* Add info about currencyCode field in paymentRequestWithApplePay options
2017-07-27 15:15:06 +03:00
dmytrozavgorodniy
544a7a2296 Setup Apple Pay requirement (#50) fixes #31 2017-07-20 14:02:53 +03:00
Dmytro Zavgorodniy
aa8bad263f [iOS] Add External (Bank) Account Support 2017-06-13 20:23:57 +03:00
Anton Petrov
71bf515749 Added prefilledInformation field for paymentRequestWithCardForm() method (#69) fixes #49 fixes #17
* Updated Stripe to 10.1.0, added prefilledInformation field for paymentRequestWithCardForm() method

* Added tests for prefilledInformation field in paymentRequestWithCardForm() method

* Updated README.md, other small fixes

* Update version to 3.0.0

* Rename internal iOS methods

* Fix unused var in test
2017-06-01 11:26:53 +03:00
Andrey
93db449c07 Fix for createTokenWithCard() and External (Bank) Account Support added with createTokenWithBankAccount() (#65) fixes #28, fixes #61 2017-05-26 18:37:22 +03:00
dmytrozavgorodniy
954580c0d1 Add Apple Pay setup with tests (#48) Fixes #40 2017-04-07 17:40:38 +03:00
Anton Petrov
181999680d Added missing cancelApplePayRequest with tests. fixes #39 fixes #42 2017-04-03 14:13:13 +03:00
Sergey Zhukov
86f2ce3f17 Solution for use_frameworks! CocoaPods directive (#38) Fixes #29, fixes #36
* fix for ‘use_frameworks!’ directive in Podfile

* changed wait time in tests
2017-03-10 09:40:39 +02:00
fAns1k
5f0505fcce Fix Issues #26 and #37 (#27)
* - fixes in Stripe.android.js

* - fix issue 37
2017-03-09 10:18:20 +02:00
fAns1k
c8bfac0484 Update version of stripe-android to 2.x Fix #21 (#25) 2017-03-08 17:06:20 +02:00
Anton Petrov
1ab4554eae Improvements (#35)
Improvements:

*  improved test for PaymentCardTextField component
* added Spoiler component and testID util in example project
* updated root and example project structure
* created build scripts
* added tipsi eslint config
* other small improvements
2017-03-04 12:14:15 +02:00
fAns1k
406c16cd3b Fix Issue #22 (#24)
* - added name and addresZip to createTokenWithCard method
- updated readme

* - added others fields

* - update readme

* - catch exception for incorrect card data

* - fixes in readme

* - add comment in exist method

* - update example
- update readme

* - try fix travis issue with visibility token - move text with token above button

* - add screenshot for find reasons of fail last test case

* - fixes xPath of text fields for ios

* - remove commented line

* - changes in appium helper rc

* - set the same font size for mandatory and optional fields

* - small changes
2017-02-14 13:41:52 +03:00
Anton Petrov
1a2913d35e Upgrade for new React Native version (#19)
* Upgrade iOS imports

* Added release build to android example app

* Fix example deps

* Updated build.gradle

* Fix react-native version to >=0.40

* Added compatibility section to README.md
2017-01-18 16:55:46 +03:00
fAns1k
fe3cd738fb Change source tipsi-appium-helper from github to npm (#16)
* Use tipsi-appium-helper for e2e tests

* Updated Appium

* - Changed source tipsi-appium-helper from github to npm

* Updated run Appium command in local-ci script
2017-01-09 14:38:11 +03:00
fAns1k
8f13619e67 Added deviceSupportsAndroidPay method to StripeModule (#14)
closes #12
2016-12-27 00:36:05 +07:00
Anton Petrov
5671bcff76 Update CI (#13)
* Updated local-ci script and travis script to init new example project and link library

* Removed example_tmp project

* Fix iOS example build command

* Copy build.gradle to temp example project

* Fixed Travis before-install script

* Travis possible fix

* God-like fix for copy script

* Add settings.gradle into cp pipeline

* Some fixes for local-ci script

* Fixed local-ci script

* Some fixes for Travis scripts

* Some fixes for Travis scripts

* Some fixes for Travis scripts

* Some fixes for Travis scripts

* Some fixes for Travis scripts

* Some fixes for Travis scripts

* Some fixes for Travis scripts

* Some fixes for Travis scripts

* Some fixes for local-ci script

* Some fixes for Travis scripts

* Some fixes for Travis scripts

* Some fixes for Travis scripts

* Some fixes for Travis scripts

* Some fixes for Travis scripts

* Some fixes for Travis scripts

* Some fixes for Travis scripts

* Improvements for local-ci and Travis scripts

* Fixed iOS post-link script

* Some fixes in ci scripts

* Fixed naming for macOS in CI scripts

* Freeze Stripe version for iOS and Adnroid
2016-12-21 23:16:10 +07:00
Denis
c2b39bc05d Refactoring (#10) 2016-12-06 15:21:25 +03:00
Anton Petrov
06a8220dbc Fixed Android deprecation warnings, updated react-native version in example app (#7)
* - buterknife is removed

* - deprecated methods change to recommended

* Upgraded react-native version, added post-link script for android

* Fixed typo in build.gradle

* Updated Appium version

* Updated minimum Android SDK version in README.md
2016-11-28 16:26:03 +03:00
fAns1k
4ca18e7f25 Stripe Android implementation (#5)
* - add android part to master current state

* - little fix

* - little fix 2

* - try fix travis

* - try fix travis 2

* - try fix travis 3

* - travis fixed
- little changes in tests

* - travis fixes try
- changed timing

* Fix description in package.json

* Fix gradlew permissions

* - revert in package.json and gradlew

* - try fix travis. find reason 1

* - try fix travis. find reason 2

* - try fix travis. find reason 3

* - test passed. try repeat result

* Try to fix android test on Travis

* Replcaed waitForVisible with waitForEnabled in Card Form test

* - save state after 3 successful try

* Some fixes in android tests

* Some fixes in android tests

* Some fixes in android tests

* Try to fix tests in Travis

* Try to fix tests in Travis

* Try to fix tests in Travis

* Try to fix tests in Travis

* Clean up tests

* - final fixes readme
- try tests

* - try tests 2

* - try tests 3

* Uncommet android test command in local ci script

* Improved android Input Component tests, other additions

* Shared CardFormScreen component code between platforms

* Shared CustomCardScreen component code between platforms

* Shared CardTextFieldScreen component code between platforms

* - fixed remarks of code review
- added more options for Android Pay request

* - fixed other remarks of code review

* Shared Root component code between platforms

* Fixed configure script

* Try to fix local ci script on linux

* Some improvements in code style

* Some improvements in code style

* - fixed other remarks of code review
- removed unused dialog fragment
- add more params to returned stripe token object
- small fixes in readme

* - fixed error from previous commit

* Huge restructure for test helper, added new methods for platform specific code

* - remove spaces from card number

* Shared tests between platforms

* Fix Root component

* Fixed Card Text Field test
2016-11-26 12:38:41 +03:00
Anton Petrov
b89efc27d4 Minor fix for find iOS device strategy in tests (#3)
* Added logs for find ios device method

* Fix find iOS device strategy
2016-11-18 18:23:02 +03:00
Anton Petrov
70e7db9767 Added API Documentation, more additions and improvments to main methods (#2)
* Added setProps method for PaymentCardTextField to set initial card props, resolved many strange bugs with STPPaymentCardTextField

* Fixed some code style and removed unnecessary code

* Fixed typo

* Added iOS CocoaPods and Manual installation sections to README.md

* Added Manual tests sections to README.md

* Added Apple Pay API description to README.md

* Added example Apple Pay gif to README.md

* Added Card Form API description to README.md

* Updated gif image for Card From example in README.md

* Added Custom Card Params API description to README.md

* Added PaymentCardTextField component API description to README.md

* Added info about PaymentCardTextField Initial params to README.md

* Common Token object result implementation for all methods

* Added handling for card brand and funding fields

* Added more info about Token and Apple Pay in README.md

* Fixed some issues with converting values from native to js code

* Update README.md

* Added more info about PaymentCardTextField valid and params info in README.md

* Clean up code and improved tests

* Added new find iOS strategy for test
2016-11-17 20:39:02 +03:00
Anton Petrov
a5d007f5b0 Stripe iOS implementation (#1)
Implemeted:

Apple Pay form
Add Card form
Create token based on card params
Wrapper for STPPaymentCardTextField
Added example iOS project, tests and local CI script

To run local CI you need to specify PUBLISHABLE_KEY and MERCHANT_ID environment variables:

PUBLISHABLE_KEY=<...> MERCHANT_ID=<...> npm run ci
2016-11-08 22:50:00 +03:00