Skip to content

Releases: triniwiz/nativescript-stripe

Fix Android crash computing brand

19 May 15:50
Compare
Choose a tag to compare

Fixed a crash on Android in some environments when computing brand and brand images.

Add UnionPay as a CardBrand. (It was previously successfully charging but returning 'Unknown' as the brand.)

Fix several crashes and brand handling

10 May 03:01
b967da0
Compare
Choose a tag to compare

Fixes several crashes:

  • 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 if requiredShippingAddressFields is null.

Improves handling of brands and images on Android. (Latest SDK "brand" values changed.)

Make Credit Card Images available

06 May 04:05
6bccd50
Compare
Choose a tag to compare

Add method to Card that allows credit card images to be retrieved from the Stripe SDK.

Update to Stripe Android SDK v12

22 Apr 19:50
49b9f9a
Compare
Choose a tag to compare

Updates the Stripe Android SDK to v12.0.1.

No new functionality in this release.

Add support for createSource().

13 Apr 21:17
Compare
Choose a tag to compare

Add support for createSource() in the custom integration since createToken() is deprecated by Stripe.

Fix Android Crash With Prefilled Address

05 Apr 14:14
373e614
Compare
Choose a tag to compare

Fixes a problem where creating a PaymentSession with prefilledAddress crashes on Android.

Re-read StripeConfig when new PaymentSession created

02 Apr 02:15
abba940
Compare
Choose a tag to compare

When a new StripePaymentSession is created, settings from StripeConfig are re-read and applied to the new session.

Previous behavior was to make StripeConfig read-only once the first StripePaymentSession had been created.

Fix XCode 11.3+ build problem

31 Mar 00:06
ec0c3e1
Compare
Choose a tag to compare

Fixes #97

Fixes problem building when using XCode versions 11.3 or 11.4.

Fixed by upgrading to Stripe iOS SDK v19.0.
This required changing the minimum supported iOS platform version from v9 to v10.

Although the API is compatible with v6.2.1, the minor version was updated because of the change in minimum supported iOS platform version.

Fix Vue build problem

22 Nov 05:16
Compare
Choose a tag to compare

Fixes #87
Was referencing tns-core-modules/utils/utils.ios instead of tns-core-modules/utils/utils.

Fix NS v6 build problems

17 Nov 22:32
fe25628
Compare
Choose a tag to compare

Fixes problems with building on NS v6.

If client uses any of the package enums, the WebPack transpileOnly flag must be set to false in webpack.config.js.

Note that Angular builds do this automatically, so no change is necessary.