Changelog
- (# 121) Crash on Android in some environments when computing brand.
- Add UnionPay as a CardBrand. (It was successfully charging but returning 'Unknown' as the brand.)
- Crash on iOS in
createPaymentMethod
if the card has address fields. (#119) - Crash on iOS in
paymentContextDidUpdateShippingAddressCompletion
if no shipping methods provided. - Crash on Android in
StripeConfig
ifrequiredShippingAddressFields
is null. - Improve handling of brands and images on Android. Latest SDK "brand" values changed.
- (# 115) Make Stripe's credit card images visible to clients
- (# 108) Update to Stripe Android SDK v12. No new functionality. Should be backward compatible with v6.4.0.
- (# 105)
createSource
support. (Thank you, @MohammedBashiru)
- (# 103) Android PaymentSession with Prefilled Address crashes
- (# 101) PaymentSession Doesn't Reread Config. Re-reads StripeConfig when a new PaymentSession is created.
- (# 97) IOS Build Failed (Xcode >= 11.3). This was fixed by upgrading to Stripe iOS SDK 19.0.1 (from SDK 16.0.6). No code changes were made. This release does not specifically use any new features of SDK 17, 18, or 19. Note that Stripe SDK 19 requires Apple iOS platform 10 or greater (currently supported by > 95% of all iOS devices).
- (# 87) Can't Resolve tns-core-modules/utils/utils.ios
- Builds correctly on NS v6 (see README note)
- (# 90) Not building with NS 6
- Ability to set accountId
stripe.setStripeAccount('xxx')
- SDK Updates for SCA compliance
- (# 78) Stripe SDKs out of date; Upgrade needed for latest SCA process
- (# 45) EU Strong Customer Authentication support integration
- Sources and Tokens are now deprecated, uses Payment Methods and Payment Intents instead
- Back-end test app needs to be updated if you want to use the plugin with Intents.
- Stripe Service
completeCharge
has been renamed tocapturePayment
- Nativescript 6 compatibility
- Consider freezing your version to 5.4.2 if using {N} < 6.0 (not tested)
- (# 75) Remove calls to deprecated utils.ios.getter.
- (# 71) Provide more info to Listener callback
- (# 70) Support prefilled shipping address in StripePaymentSession
- (# 63) Properly handle no shipping method or address
- (# 56) Update Stripe to iOS 15 and Android 8.7; some support for Strong Customer Authentication
- (# 45) Provide classes and methods to help with Strong Customer Authentication.
- (# 51) Updates Stripe iOS and Android libraries to latest versions (iOS 15 and Android 8.7).
- (# 47) Fix build breakage by upgrading to latest NS.
Now builds and runs correctly with NS 5.3. Requires
nativescript-dev-webpack: 0.22.0-next-2019-04-12-181144-02
or later for Angular projects using webpack.
- (# 46) Remove deprecated "short imports".
- Android: Change from deprecated 'compile' to 'implements' in include.gradle.
- (# 39) Standard Integration: Error referencing null 'source' from CustomerSource object.
- (# 40) Standard Integration: When user cancels, no message is sent to listener.
- Fix publish configuration — add README, CHANGELOG, LICENSE, remove unnecessary files.
- (# 35) index.d.ts does not properly define CreditCardViewBase.
- (# 25) Add Support for Standard Integration to demo. The demo app now matches the demo-angular app.
- (#30) Standard Integration on iOS fails to send "payment ready" status
- (# 24) Add Support for Custom Integration to Angular demo
- Now follows recommended approach for registering CreditCardView in Angular
createToken()
now takescard: CardCommon
as first parameter instead ofcard.card: any
.
- (#27) Fix support for optional shipping address fields on Android
- (# 23) Add an Angular demo app that demonstrates the Standard integration
- (# 6) Android
createToken
now send back the full token object instead of only thetokenId
- Nativescript 3 compatibility
- (# 3) validate expiration month with value
1
- (# 1) Fixed new Card creation via code