Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "fingerprint" to the Card Model to sync with React-Native #1764

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,37 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2024-05-09

### Changes

---

Packages with breaking changes:

- There are no breaking changes in this release.

Packages with other changes:

- [`stripe_platform_interface` - `v10.2.0`](#stripe_platform_interface---v1020)
- [`flutter_stripe_web` - `v5.1.1`](#flutter_stripe_web---v511)
- [`flutter_stripe` - `v10.1.2`](#flutter_stripe---v1012)

Packages with dependency updates only:

> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

- `flutter_stripe_web` - `v5.1.1`
- `flutter_stripe` - `v10.1.2`

---

#### `stripe_platform_interface` - `v10.2.0`

- **FIX**: Not Getting Card's Fingerprint in Flutter (#707).
- **FIX**: validate with fingerprint (#688).
- **FIX**: Fixed Type cast fails on Customer Sheet cancel (#1721)

## 2024-03-26

### Changes
Expand Down
4 changes: 4 additions & 0 deletions packages/stripe/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 10.1.2

- Update a dependency to the latest release.

## 10.1.1

**Fixes**
Expand Down
4 changes: 2 additions & 2 deletions packages/stripe/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_stripe
description: Flutter library for Stripe. Supports PaymentSheets, Apple & Google Pay, SCA, PSD2 and much more.
version: 10.1.1
version: 10.1.2
homepage: https://github.com/flutter-stripe/flutter_stripe
repository: https://github.com/flutter-stripe/flutter_stripe

Expand All @@ -24,7 +24,7 @@ dependencies:
meta: ^1.8.0
stripe_android: ^10.1.1
stripe_ios: ^10.1.0
stripe_platform_interface: ^10.1.1
stripe_platform_interface: ^10.2.0
dev_dependencies:
flutter_test:
sdk: flutter
Expand Down
15 changes: 15 additions & 0 deletions packages/stripe_platform_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## 10.2.0

- **FIX**: add bankidentifiercode to ideal paymentdata (#1522).
- **FIX**: #1459 allow image to be null (#1466).
- **FIX**: #1409 send usesDeprecatedTokenFlow to stripe platform (#1410).
- **FIX**: #1246 handle empty params on confirmPayment (#1286).
- **FIX**: #1250 incorrectly providing amount to confirmplatformpaysetupintent params (#1255).
- **FIX**: apple pay (#1202).
- **FIX**: timeout payment sheet (#1161).
- **FIX**: implemented handleURLCallback method for iOS iDeal payment. (#939).
- **FEAT**: add retrieveSetupIntent (#1302).
- **FEAT**: release versions (#1283).
- **FEAT**: release 9.2.1 (#1262).
- **FEAT**: stripe js (#1052).

## 10.1.1

- Fix #1639 cashapp payments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class CustomerSheetResult with _$CustomerSheetResult {
PaymentMethod? paymentMethod,

/// The error that occurred
StripeError? error,
LocalizedErrorMessage? error,
}) = _CustomerSheetResult;

factory CustomerSheetResult.fromJson(Map<String, dynamic> json) =>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ class Card with _$Card {
/// last four digits of the card.
String? last4,

/// fingerprint of the card.
String? fingerprint,

/// The preffered card brand for payment
String? preferredNetwork,

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/stripe_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: stripe_platform_interface
description: Platform interface for stripe sdk
version: 10.1.1
version: 10.2.0
repository: https://github.com/flutter-stripe/flutter_stripe
homepage: https://pub.dev/packages/flutter_stripe

Expand Down
4 changes: 4 additions & 0 deletions packages/stripe_web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 5.1.1

- Update a dependency to the latest release.

## 5.1.0

**Features**
Expand Down
4 changes: 2 additions & 2 deletions packages/stripe_web/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_stripe_web
description: Stripe sdk bindings for the Flutter web platform. This package contains the implementation of the platform interface for web.
version: 5.1.0
version: 5.1.1
homepage: https://github.com/flutter-stripe/flutter_stripe

environment:
Expand All @@ -13,7 +13,7 @@ dependencies:
flutter_web_plugins:
sdk: flutter
freezed_annotation: ^2.0.3
stripe_platform_interface: ^10.1.1
stripe_platform_interface: ^10.2.0
js: ^0.6.3
stripe_js: ^3.4.0

Expand Down
Loading