From 7c4bf2ab7375b1fdca516c0ba3459be05d958791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A6=8A=E5=8E=9F=E6=98=8C=E5=BD=A6?= Date: Tue, 30 Jan 2024 17:04:35 +0900 Subject: [PATCH 1/3] chore(readme): reflect allowedCountries type --- packages/payment/README.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/payment/README.md b/packages/payment/README.md index 80d0469cf..2e1a0c7a6 100644 --- a/packages/payment/README.md +++ b/packages/payment/README.md @@ -610,14 +610,16 @@ iOS Only #### CreateApplePayOption -| Prop | Type | -| ----------------------------------- | ----------------------------------------------------------------------------- | -| **`paymentIntentClientSecret`** | string | -| **`paymentSummaryItems`** | { label: string; amount: number; }[] | -| **`merchantIdentifier`** | string | -| **`countryCode`** | string | -| **`currency`** | string | -| **`requiredShippingContactFields`** | ('postalAddress' \| 'phoneNumber' \| 'emailAddress' \| 'name')[] | +| Prop | Type | +| -------------------------------------- | ----------------------------------------------------------------------------- | +| **`paymentIntentClientSecret`** | string | +| **`paymentSummaryItems`** | { label: string; amount: number; }[] | +| **`merchantIdentifier`** | string | +| **`countryCode`** | string | +| **`currency`** | string | +| **`requiredShippingContactFields`** | ('postalAddress' \| 'phoneNumber' \| 'emailAddress' \| 'name')[] | +| **`allowedCountries`** | string[] | +| **`allowedCountriesErrorDescription`** | string | #### PluginListenerHandle From 47009cbff726413dc1b004480b72abc6ae213528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A6=8A=E5=8E=9F=E6=98=8C=E5=BD=A6?= Date: Tue, 30 Jan 2024 17:10:26 +0900 Subject: [PATCH 2/3] fix(payment): downgrade default stripeAndroidVersion --- packages/payment/android/build.gradle | 2 +- packages/payment/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/payment/android/build.gradle b/packages/payment/android/build.gradle index ea0a790c3..4427154e8 100644 --- a/packages/payment/android/build.gradle +++ b/packages/payment/android/build.gradle @@ -5,7 +5,7 @@ ext { androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1' playServicesWalletVersion = project.hasProperty('playServicesWalletVersion') ? rootProject.ext.playServicesWalletVersion : '19.2.+' - stripeAndroidVersion = project.hasProperty('stripeAndroidVersion') ? rootProject.ext.stripeAndroidVersion : '20.34.+' + stripeAndroidVersion = project.hasProperty('stripeAndroidVersion') ? rootProject.ext.stripeAndroidVersion : '20.32.+' gsonVersion = project.hasProperty('gsonVersion') ? rootProject.ext.gsonVersion : '2.10.+' } diff --git a/packages/payment/package.json b/packages/payment/package.json index ac43c0ac4..a93f5683b 100644 --- a/packages/payment/package.json +++ b/packages/payment/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor-community/stripe", - "version": "5.4.2", + "version": "5.4.3-1", "engines": { "node": ">=16.0.0" }, From 8b39bf937e3fb3771fbc12c491d68f2beb2f91e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A6=8A=E5=8E=9F=E6=98=8C=E5=BD=A6?= Date: Mon, 4 Mar 2024 17:36:45 +0900 Subject: [PATCH 3/3] fix(payment): change default stripeAndroidVersion --- packages/payment/android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/payment/android/build.gradle b/packages/payment/android/build.gradle index 4427154e8..4bda188a5 100644 --- a/packages/payment/android/build.gradle +++ b/packages/payment/android/build.gradle @@ -5,7 +5,7 @@ ext { androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1' playServicesWalletVersion = project.hasProperty('playServicesWalletVersion') ? rootProject.ext.playServicesWalletVersion : '19.2.+' - stripeAndroidVersion = project.hasProperty('stripeAndroidVersion') ? rootProject.ext.stripeAndroidVersion : '20.32.+' + stripeAndroidVersion = project.hasProperty('stripeAndroidVersion') ? rootProject.ext.stripeAndroidVersion : '20.31.+' gsonVersion = project.hasProperty('gsonVersion') ? rootProject.ext.gsonVersion : '2.10.+' }