@capgo/capacitor-pay 7.0.0 → 7.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -54,7 +54,7 @@ public class PayPlugin extends Plugin {
54
54
  try {
55
55
  IsReadyToPayRequest request = IsReadyToPayRequest.fromJson(requestJson.toString());
56
56
  Task<Boolean> readyTask = client.isReadyToPay(request);
57
- readyTask.addOnCompleteListener(task -> {
57
+ readyTask.addOnCompleteListener((task) -> {
58
58
  boolean isReady = false;
59
59
  if (task.isSuccessful()) {
60
60
  Boolean value = task.getResult();
@@ -196,9 +196,7 @@ public class PayPlugin extends Plugin {
196
196
  }
197
197
 
198
198
  private PaymentsClient createPaymentsClient(int environment) {
199
- Wallet.WalletOptions options = new Wallet.WalletOptions.Builder()
200
- .setEnvironment(environment)
201
- .build();
199
+ Wallet.WalletOptions options = new Wallet.WalletOptions.Builder().setEnvironment(environment).build();
202
200
  return Wallet.getPaymentsClient(getContext(), options);
203
201
  }
204
202
 
@@ -221,19 +219,14 @@ public class PayPlugin extends Plugin {
221
219
  }
222
220
 
223
221
  private static final class GooglePayRequestFactory {
222
+
224
223
  private static JSONObject defaultIsReadyToPayRequest() throws JSONException {
225
224
  JSONObject cardPaymentMethod = new JSONObject();
226
225
  cardPaymentMethod.put("type", "CARD");
227
226
 
228
227
  JSONObject parameters = new JSONObject();
229
- parameters.put("allowedAuthMethods", new JSONArray()
230
- .put("PAN_ONLY")
231
- .put("CRYPTOGRAM_3DS"));
232
- parameters.put("allowedCardNetworks", new JSONArray()
233
- .put("AMEX")
234
- .put("DISCOVER")
235
- .put("MASTERCARD")
236
- .put("VISA"));
228
+ parameters.put("allowedAuthMethods", new JSONArray().put("PAN_ONLY").put("CRYPTOGRAM_3DS"));
229
+ parameters.put("allowedCardNetworks", new JSONArray().put("AMEX").put("DISCOVER").put("MASTERCARD").put("VISA"));
237
230
  cardPaymentMethod.put("parameters", parameters);
238
231
 
239
232
  JSONObject request = new JSONObject();
@@ -1 +1 @@
1
- {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["export type PayPlatform = 'ios' | 'android' | 'web';\n\nexport type ApplePayNetwork =\n | 'amex'\n | 'chinaUnionPay'\n | 'discover'\n | 'eftpos'\n | 'electron'\n | 'girocard'\n | 'interac'\n | 'jcb'\n | 'mada'\n | 'maestro'\n | 'masterCard'\n | 'privateLabel'\n | 'quicPay'\n | 'suica'\n | 'visa'\n | 'vPay'\n | 'id'\n | 'cartesBancaires';\n\nexport type ApplePayMerchantCapability = '3DS' | 'credit' | 'debit' | 'emv';\n\nexport type ApplePaySummaryItemType = 'final' | 'pending';\n\nexport type ApplePayContactField =\n | 'emailAddress'\n | 'name'\n | 'phoneNumber'\n | 'postalAddress';\n\nexport type ApplePayShippingType =\n | 'shipping'\n | 'delivery'\n | 'servicePickup'\n | 'storePickup';\n\nexport interface ApplePaySummaryItem {\n label: string;\n amount: string;\n type?: ApplePaySummaryItemType;\n}\n\nexport interface ApplePayAvailabilityOptions {\n /**\n * Optional list of payment networks you intend to use.\n * Passing networks determines the return value of `canMakePaymentsUsingNetworks`.\n */\n supportedNetworks?: ApplePayNetwork[];\n}\n\nexport interface ApplePayAvailabilityResult {\n /**\n * Indicates whether the device can make Apple Pay payments in general.\n */\n canMakePayments: boolean;\n /**\n * Indicates whether the device can make Apple Pay payments with the supplied networks.\n */\n canMakePaymentsUsingNetworks: boolean;\n}\n\nexport interface ApplePayPaymentOptions {\n /**\n * Merchant identifier created in the Apple Developer portal.\n */\n merchantIdentifier: string;\n /**\n * Two-letter ISO 3166 country code.\n */\n countryCode: string;\n /**\n * Three-letter ISO 4217 currency code.\n */\n currencyCode: string;\n /**\n * Payment summary items displayed in the Apple Pay sheet.\n */\n paymentSummaryItems: ApplePaySummaryItem[];\n /**\n * Card networks to support.\n */\n supportedNetworks: ApplePayNetwork[];\n /**\n * Merchant payment capabilities. Defaults to ['3DS'] when omitted.\n */\n merchantCapabilities?: ApplePayMerchantCapability[];\n /**\n * Contact fields that must be supplied for shipping.\n */\n requiredShippingContactFields?: ApplePayContactField[];\n /**\n * Contact fields that must be supplied for billing.\n */\n requiredBillingContactFields?: ApplePayContactField[];\n /**\n * Controls the shipping flow presented to the user.\n */\n shippingType?: ApplePayShippingType;\n /**\n * Optional ISO 3166 country codes where the merchant is supported.\n */\n supportedCountries?: string[];\n /**\n * Optional opaque application data passed back in the payment token.\n */\n applicationData?: string;\n}\n\nexport interface ApplePayContact {\n name?: {\n givenName?: string;\n familyName?: string;\n middleName?: string;\n namePrefix?: string;\n nameSuffix?: string;\n nickname?: string;\n };\n emailAddress?: string;\n phoneNumber?: string;\n postalAddress?: {\n street?: string;\n city?: string;\n state?: string;\n postalCode?: string;\n country?: string;\n isoCountryCode?: string;\n subAdministrativeArea?: string;\n subLocality?: string;\n };\n}\n\nexport interface ApplePayPaymentResult {\n /**\n * Raw payment token encoded as base64 string.\n */\n paymentData: string;\n /**\n * Raw payment token JSON string, useful for debugging.\n */\n paymentString: string;\n /**\n * Payment transaction identifier.\n */\n transactionIdentifier: string;\n paymentMethod: {\n displayName?: string;\n network?: ApplePayNetwork;\n type: 'debit' | 'credit' | 'prepaid' | 'store';\n };\n shippingContact?: ApplePayContact;\n billingContact?: ApplePayContact;\n}\n\nexport type GooglePayEnvironment = 'test' | 'production';\n\nexport interface GooglePayAvailabilityOptions {\n /**\n * Environment used to construct the Google Payments client. Defaults to `'test'`.\n */\n environment?: GooglePayEnvironment;\n /**\n * Raw `IsReadyToPayRequest` JSON as defined by the Google Pay API.\n * Supply the card networks and auth methods you intend to support at runtime.\n */\n isReadyToPayRequest?: Record<string, unknown>;\n}\n\nexport interface GooglePayAvailabilityResult {\n /**\n * Indicates whether the Google Pay API is available for the supplied parameters.\n */\n isReady: boolean;\n}\n\nexport interface GooglePayPaymentOptions {\n /**\n * Environment used to construct the Google Payments client. Defaults to `'test'`.\n */\n environment?: GooglePayEnvironment;\n /**\n * Raw `PaymentDataRequest` JSON as defined by the Google Pay API.\n * Provide transaction details, merchant info, and tokenization parameters.\n */\n paymentDataRequest: Record<string, unknown>;\n}\n\nexport interface GooglePayPaymentResult {\n /**\n * Payment data returned by Google Pay.\n */\n paymentData: Record<string, unknown>;\n}\n\nexport interface PayAvailabilityOptions {\n apple?: ApplePayAvailabilityOptions;\n google?: GooglePayAvailabilityOptions;\n}\n\nexport interface PayAvailabilityResult {\n available: boolean;\n platform: PayPlatform;\n apple?: ApplePayAvailabilityResult;\n google?: GooglePayAvailabilityResult;\n}\n\nexport interface PayPaymentOptions {\n apple?: ApplePayPaymentOptions;\n google?: GooglePayPaymentOptions;\n}\n\nexport interface PayPaymentResult {\n platform: Exclude<PayPlatform, 'web'>;\n apple?: ApplePayPaymentResult;\n google?: GooglePayPaymentResult;\n}\n\nexport interface PayPlugin {\n /**\n * Checks whether native pay is available on the current platform.\n * On iOS this evaluates Apple Pay, on Android it evaluates Google Pay.\n */\n isPayAvailable(options?: PayAvailabilityOptions): Promise<PayAvailabilityResult>;\n /**\n * Presents the native pay sheet for the current platform.\n * Provide the Apple Pay configuration on iOS and the Google Pay configuration on Android.\n */\n requestPayment(options: PayPaymentOptions): Promise<PayPaymentResult>;\n}\n"]}
1
+ {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["export type PayPlatform = 'ios' | 'android' | 'web';\n\nexport type ApplePayNetwork =\n | 'amex'\n | 'chinaUnionPay'\n | 'discover'\n | 'eftpos'\n | 'electron'\n | 'girocard'\n | 'interac'\n | 'jcb'\n | 'mada'\n | 'maestro'\n | 'masterCard'\n | 'privateLabel'\n | 'quicPay'\n | 'suica'\n | 'visa'\n | 'vPay'\n | 'id'\n | 'cartesBancaires';\n\nexport type ApplePayMerchantCapability = '3DS' | 'credit' | 'debit' | 'emv';\n\nexport type ApplePaySummaryItemType = 'final' | 'pending';\n\nexport type ApplePayContactField = 'emailAddress' | 'name' | 'phoneNumber' | 'postalAddress';\n\nexport type ApplePayShippingType = 'shipping' | 'delivery' | 'servicePickup' | 'storePickup';\n\nexport interface ApplePaySummaryItem {\n label: string;\n amount: string;\n type?: ApplePaySummaryItemType;\n}\n\nexport interface ApplePayAvailabilityOptions {\n /**\n * Optional list of payment networks you intend to use.\n * Passing networks determines the return value of `canMakePaymentsUsingNetworks`.\n */\n supportedNetworks?: ApplePayNetwork[];\n}\n\nexport interface ApplePayAvailabilityResult {\n /**\n * Indicates whether the device can make Apple Pay payments in general.\n */\n canMakePayments: boolean;\n /**\n * Indicates whether the device can make Apple Pay payments with the supplied networks.\n */\n canMakePaymentsUsingNetworks: boolean;\n}\n\nexport interface ApplePayPaymentOptions {\n /**\n * Merchant identifier created in the Apple Developer portal.\n */\n merchantIdentifier: string;\n /**\n * Two-letter ISO 3166 country code.\n */\n countryCode: string;\n /**\n * Three-letter ISO 4217 currency code.\n */\n currencyCode: string;\n /**\n * Payment summary items displayed in the Apple Pay sheet.\n */\n paymentSummaryItems: ApplePaySummaryItem[];\n /**\n * Card networks to support.\n */\n supportedNetworks: ApplePayNetwork[];\n /**\n * Merchant payment capabilities. Defaults to ['3DS'] when omitted.\n */\n merchantCapabilities?: ApplePayMerchantCapability[];\n /**\n * Contact fields that must be supplied for shipping.\n */\n requiredShippingContactFields?: ApplePayContactField[];\n /**\n * Contact fields that must be supplied for billing.\n */\n requiredBillingContactFields?: ApplePayContactField[];\n /**\n * Controls the shipping flow presented to the user.\n */\n shippingType?: ApplePayShippingType;\n /**\n * Optional ISO 3166 country codes where the merchant is supported.\n */\n supportedCountries?: string[];\n /**\n * Optional opaque application data passed back in the payment token.\n */\n applicationData?: string;\n}\n\nexport interface ApplePayContact {\n name?: {\n givenName?: string;\n familyName?: string;\n middleName?: string;\n namePrefix?: string;\n nameSuffix?: string;\n nickname?: string;\n };\n emailAddress?: string;\n phoneNumber?: string;\n postalAddress?: {\n street?: string;\n city?: string;\n state?: string;\n postalCode?: string;\n country?: string;\n isoCountryCode?: string;\n subAdministrativeArea?: string;\n subLocality?: string;\n };\n}\n\nexport interface ApplePayPaymentResult {\n /**\n * Raw payment token encoded as base64 string.\n */\n paymentData: string;\n /**\n * Raw payment token JSON string, useful for debugging.\n */\n paymentString: string;\n /**\n * Payment transaction identifier.\n */\n transactionIdentifier: string;\n paymentMethod: {\n displayName?: string;\n network?: ApplePayNetwork;\n type: 'debit' | 'credit' | 'prepaid' | 'store';\n };\n shippingContact?: ApplePayContact;\n billingContact?: ApplePayContact;\n}\n\nexport type GooglePayEnvironment = 'test' | 'production';\n\nexport interface GooglePayAvailabilityOptions {\n /**\n * Environment used to construct the Google Payments client. Defaults to `'test'`.\n */\n environment?: GooglePayEnvironment;\n /**\n * Raw `IsReadyToPayRequest` JSON as defined by the Google Pay API.\n * Supply the card networks and auth methods you intend to support at runtime.\n */\n isReadyToPayRequest?: Record<string, unknown>;\n}\n\nexport interface GooglePayAvailabilityResult {\n /**\n * Indicates whether the Google Pay API is available for the supplied parameters.\n */\n isReady: boolean;\n}\n\nexport interface GooglePayPaymentOptions {\n /**\n * Environment used to construct the Google Payments client. Defaults to `'test'`.\n */\n environment?: GooglePayEnvironment;\n /**\n * Raw `PaymentDataRequest` JSON as defined by the Google Pay API.\n * Provide transaction details, merchant info, and tokenization parameters.\n */\n paymentDataRequest: Record<string, unknown>;\n}\n\nexport interface GooglePayPaymentResult {\n /**\n * Payment data returned by Google Pay.\n */\n paymentData: Record<string, unknown>;\n}\n\nexport interface PayAvailabilityOptions {\n apple?: ApplePayAvailabilityOptions;\n google?: GooglePayAvailabilityOptions;\n}\n\nexport interface PayAvailabilityResult {\n available: boolean;\n platform: PayPlatform;\n apple?: ApplePayAvailabilityResult;\n google?: GooglePayAvailabilityResult;\n}\n\nexport interface PayPaymentOptions {\n apple?: ApplePayPaymentOptions;\n google?: GooglePayPaymentOptions;\n}\n\nexport interface PayPaymentResult {\n platform: Exclude<PayPlatform, 'web'>;\n apple?: ApplePayPaymentResult;\n google?: GooglePayPaymentResult;\n}\n\nexport interface PayPlugin {\n /**\n * Checks whether native pay is available on the current platform.\n * On iOS this evaluates Apple Pay, on Android it evaluates Google Pay.\n */\n isPayAvailable(options?: PayAvailabilityOptions): Promise<PayAvailabilityResult>;\n /**\n * Presents the native pay sheet for the current platform.\n * Provide the Apple Pay configuration on iOS and the Google Pay configuration on Android.\n */\n requestPayment(options: PayPaymentOptions): Promise<PayPaymentResult>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAU5C,MAAM,OAAO,MAAO,SAAQ,SAAS;IACnC,KAAK,CAAC,cAAc,CAClB,QAAiC;QAEjC,OAAO;YACL,SAAS,EAAE,KAAK;YAChB,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE;gBACL,eAAe,EAAE,KAAK;gBACtB,4BAA4B,EAAE,KAAK;aACpC;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,KAAK;aACf;SACF,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,QAA2B;QAC9C,MAAM,IAAI,CAAC,aAAa,CACtB,wEAAwE,CACzE,CAAC;IACJ,CAAC;CACF","sourcesContent":["import { WebPlugin } from '@capacitor/core';\n\nimport type {\n PayAvailabilityOptions,\n PayAvailabilityResult,\n PayPaymentOptions,\n PayPaymentResult,\n PayPlugin,\n} from './definitions';\n\nexport class PayWeb extends WebPlugin implements PayPlugin {\n async isPayAvailable(\n _options?: PayAvailabilityOptions,\n ): Promise<PayAvailabilityResult> {\n return {\n available: false,\n platform: 'web',\n apple: {\n canMakePayments: false,\n canMakePaymentsUsingNetworks: false,\n },\n google: {\n isReady: false,\n },\n };\n }\n\n async requestPayment(_options: PayPaymentOptions): Promise<PayPaymentResult> {\n throw this.unimplemented(\n 'Native payments are not implemented on the web. Use a native platform.',\n );\n }\n}\n"]}
1
+ {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAU5C,MAAM,OAAO,MAAO,SAAQ,SAAS;IACnC,KAAK,CAAC,cAAc,CAAC,QAAiC;QACpD,OAAO;YACL,SAAS,EAAE,KAAK;YAChB,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE;gBACL,eAAe,EAAE,KAAK;gBACtB,4BAA4B,EAAE,KAAK;aACpC;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,KAAK;aACf;SACF,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,QAA2B;QAC9C,MAAM,IAAI,CAAC,aAAa,CAAC,wEAAwE,CAAC,CAAC;IACrG,CAAC;CACF","sourcesContent":["import { WebPlugin } from '@capacitor/core';\n\nimport type {\n PayAvailabilityOptions,\n PayAvailabilityResult,\n PayPaymentOptions,\n PayPaymentResult,\n PayPlugin,\n} from './definitions';\n\nexport class PayWeb extends WebPlugin implements PayPlugin {\n async isPayAvailable(_options?: PayAvailabilityOptions): Promise<PayAvailabilityResult> {\n return {\n available: false,\n platform: 'web',\n apple: {\n canMakePayments: false,\n canMakePaymentsUsingNetworks: false,\n },\n google: {\n isReady: false,\n },\n };\n }\n\n async requestPayment(_options: PayPaymentOptions): Promise<PayPaymentResult> {\n throw this.unimplemented('Native payments are not implemented on the web. Use a native platform.');\n }\n}\n"]}
@@ -15,12 +15,25 @@ This document walks through the steps required to enable Apple Pay in a project
15
15
  3. Enter a description and a unique identifier following the pattern `merchant.com.yourcompany.app`.
16
16
  4. Save the identifier. This Merchant ID will later be referenced in code as `merchantIdentifier`.
17
17
 
18
- ## 3. Add the Apple Pay capability
18
+ ![Apple Pay docs header logo](images/apple-pay-logo.svg)
19
+
20
+ ## 3. Add and verify the Apple Pay capability in Xcode
19
21
 
20
22
  1. Open the iOS workspace or the Capacitor iOS project in Xcode.
21
- 2. Select the app target, open the **Signing & Capabilities** tab, and click **+ Capability**.
22
- 3. Choose **Apple Pay**, then select the merchant ID you created earlier.
23
- 4. Xcode generates an `App.entitlements` file with the `com.apple.developer.in-app-payments` entry. Confirm that the Merchant ID is listed.
23
+ 2. Select the **App** target, open the **Signing & Capabilities** tab, and click **+ Capability**.
24
+ 3. Choose **Apple Pay**, then attach the merchant IDs you created earlier. Xcode adds them to the entitlements file automatically.
25
+ 4. Expand the capability to confirm the **Supported Networks** list reflects the brands you plan to enable (for example, VISA, MasterCard, AmEx).
26
+ 5. Xcode creates an entitlements file next to your target (typically `App/App.entitlements`) that contains the `com.apple.developer.in-app-payments` key. Open the file to verify every merchant identifier expected by the app is present:
27
+
28
+ ```xml
29
+ <key>com.apple.developer.in-app-payments</key>
30
+ <array>
31
+ <string>merchant.com.example.app</string>
32
+ </array>
33
+ ```
34
+
35
+ 6. If you ship extensions (widgets, watch apps, or app clips) that also present Apple Pay, repeat the capability assignment on each target so the entitlement is available everywhere.
36
+ 7. Build the project for a real device once to refresh provisioning profiles. The Xcode status message under **General → Signing** should report that the signing certificate is valid; if not, re-download the profiles associated with the merchant IDs.
24
37
 
25
38
  ## 4. Generate the payment processing certificate
26
39
 
@@ -44,24 +57,32 @@ Follow your processor’s onboarding steps to complete tokenization.
44
57
 
45
58
  If your payment processor requires Apple Pay on the web, add your site domain in the developer portal and upload the `apple-developer-merchantid-domain-association` file to `https://<domain>/.well-known/`.
46
59
 
47
- ## 7. Update the Capacitor project
60
+ ## 7. Backend session validation
61
+
62
+ Your server must broker the merchant validation handshake before the device can show the Apple Pay sheet:
63
+
64
+ - Listen for the validation URL emitted by the plugin. On iOS this arrives during the `onvalidatemerchant` phase of `PKPaymentAuthorizationController`.
65
+ - From your backend send a `POST` request to `https://apple-pay-gateway.apple.com/paymentservices/startSession` including your merchant identifier, domain name, and display name. Sign the request with the merchant identity certificate created in step 5.
66
+ - Return the Apple session JSON directly to the device. The plugin forwards it to PassKit to complete the handshake.
67
+ - Keep the session ephemeral—log minimal metadata for auditing and never store the session payload itself.
68
+
69
+ ## 8. Update the Capacitor project
48
70
 
49
71
  - In `Pay.requestPayment`, set `merchantIdentifier` to the Merchant ID created earlier.
50
72
  - Provide a list of networks (`supportedNetworks`) that matches the networks approved by your processor.
51
73
  - Include realistic summary items and ensure the total is a final amount.
52
74
 
53
- ## 8. Build and test on device
75
+ ## 9. Build and test on device
54
76
 
55
77
  - Apple Pay is unavailable on the iOS simulator. Use a real device signed into an Apple ID with a supported card in Wallet.
56
78
  - Install the build via Xcode or TestFlight.
57
79
  - Trigger `Pay.isPayAvailable()` to ensure the device reports `available: true`.
58
80
  - Call `Pay.requestPayment` and verify that the Apple Pay sheet loads and returns a payment token.
59
81
 
60
- ## 9. Move to production
82
+ ## 10. Move to production
61
83
 
62
84
  - Disable the sandbox merchant environment in your processor dashboard once you’re ready for production.
63
85
  - Rebuild the app using distribution certificates and submit the build for App Review.
64
86
  - Provide Apple with sample test accounts or screenshots showing the Apple Pay flow, if requested.
65
87
 
66
88
  After these steps the Capacitor plugin can successfully authorize payments using Apple Pay.
67
-
@@ -16,6 +16,8 @@ Follow this checklist to enable Google Pay for the Android implementation of `@c
16
16
  3. Provide the merchant name that will appear in the Google Pay sheet.
17
17
  4. Verify any requested documentation to enable production processing.
18
18
 
19
+ ![Google Pay docs header logo](images/google-pay-logo.svg)
20
+
19
21
  ## 3. Configure payment processing
20
22
 
21
23
  Decide between a **gateway** (e.g., Stripe, Adyen, Braintree) or **direct** processor integration:
@@ -31,7 +33,25 @@ Document these values because they must be inserted into the `paymentDataRequest
31
33
  2. On every test device, add one of the sandbox cards to Google Wallet.
32
34
  3. Install the latest Google Play services if prompted.
33
35
 
34
- ## 5. Update the Android project
36
+ ## 5. Backend token processing
37
+
38
+ Handle the encrypted payment data server-side before charging the customer:
39
+
40
+ - Receive the JSON payload returned by `Pay.requestPayment`. The `paymentData` object includes the payment method, tokenization type, and gateway payload.
41
+ - Forward the payment token to your payment processor’s SDK over HTTPS. For gateway integrations, pass the `paymentMethodData.tokenizationSpecification.parameters` unchanged.
42
+ - Validate essential fields (transaction amount, currency, merchant identifiers) against your order database before capturing payment.
43
+ - Log the Google Pay transaction IDs securely for reconciliation and dispute handling; avoid storing full PAN or raw token data.
44
+
45
+ ## 6. Configure the Android project in Android Studio
46
+
47
+ 1. Open the Android module in Android Studio and make sure the Google Maven repository is available in both the project and app `build.gradle` files.
48
+ 2. Confirm `com.google.android.gms:play-services-wallet` is present (the plugin adds it by default) and that the Android Gradle Plugin is v8.0 or newer.
49
+ 3. In `android/app/src/main/AndroidManifest.xml`, set the minimum SDK to 23+ and ensure `uses-permission android:name="android.permission.INTERNET"` is present.
50
+ 4. If you rely on clear-text HTTP endpoints during development, define a `network_security_config` resource and reference it from the manifest. Production builds should use HTTPS exclusively.
51
+ 5. Generate a release keystore and upload the SHA-1 certificates for every signing key (debug and release) to the Google Pay business console so request signatures match the client.
52
+ 6. Clean/rebuild the project to let Gradle register the wallet dependency and verify no build warnings remain.
53
+
54
+ ## 7. Update the Android project
35
55
 
36
56
  1. Ensure `com.google.android.gms:play-services-wallet` is included in `android/build.gradle` (already added by the plugin).
37
57
  2. In your app code, build a `paymentDataRequest` JSON matching the processor configuration:
@@ -41,30 +61,29 @@ Document these values because they must be inserted into the `paymentDataRequest
41
61
  - `merchantInfo` for user-facing display
42
62
  3. Provide this JSON to `Pay.requestPayment({ google: { ... } })`.
43
63
 
44
- ## 6. Use the correct environment
64
+ ## 8. Use the correct environment
45
65
 
46
66
  - During development, set `environment: 'test'` and rely on test card numbers.
47
67
  - For production builds, switch to `environment: 'production'` and ensure your business profile is approved.
48
68
 
49
- ## 7. Add required app manifest entries
69
+ ## 9. Add required app manifest entries
50
70
 
51
71
  Google Pay itself does not require additional manifest permissions beyond Internet access, but your processor may require network security configuration or HTTPS endpoints. Confirm:
52
72
 
53
73
  - `android:usesCleartextTraffic="false"` (or a network security config for dev environments).
54
74
  - Any callback URLs you use are served over HTTPS.
55
75
 
56
- ## 8. Test on device
76
+ ## 10. Test on device
57
77
 
58
78
  1. Build and install the Android app on a device with the sandbox card.
59
79
  2. Call `Pay.isPayAvailable` with the same `isReadyToPayRequest` JSON you will use in production.
60
80
  3. Confirm the method returns `available: true` and `google.isReady: true`.
61
81
  4. Trigger `Pay.requestPayment` and complete a transaction with a test card to verify token payloads.
62
82
 
63
- ## 9. Launch to production
83
+ ## 11. Launch to production
64
84
 
65
85
  1. Submit your app for Google Play review with Google Pay screenshots or screen recordings if requested.
66
86
  2. Promote the business profile to production in the Google Pay & Wallet Console.
67
87
  3. Switch the runtime configuration to the production environment and merchant details.
68
88
 
69
89
  Completing these steps prepares your Android app to process payments through Google Pay using the Capacitor plugin.
70
-
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;">
4
+ <path d="M24,12C24,17.25 23.1,20.325 20.925,22.05C19.05,23.55 16.125,24 12,24C7.275,24 4.2,23.4 2.325,21.3C0.675,19.5 0,16.575 0,12C0,7.125 0.75,4.125 2.625,2.4C4.5,0.6 7.5,0 12,0C16.425,0 19.425,0.525 21.3,2.325C23.25,4.05 24,7.05 24,12Z" style="fill:rgb(0,101,212);fill-rule:nonzero;"/>
5
+ <path d="M5.831,11.565C5.687,10.749 6.232,9.971 7.047,9.827L15.418,8.351C16.506,8.159 17.543,8.885 17.735,9.973L18.603,14.897C18.795,15.985 18.069,17.022 16.981,17.214L9.103,18.603C8.015,18.795 6.978,18.069 6.786,16.981L5.831,11.565Z" style="fill:white;fill-rule:nonzero;stroke:white;stroke-width:1px;"/>
6
+ <path d="M15.661,6.848L16.153,6.761L16.153,6.761L15.661,6.848ZM13.705,5.635L13.521,5.17L13.511,5.174L13.5,5.179L13.705,5.635ZM16.398,8.146L16.153,6.761L15.169,6.935L15.413,8.32L16.398,8.146ZM16.153,6.761C16.102,6.468 15.991,6.188 15.827,5.941L14.993,6.493C15.08,6.624 15.14,6.775 15.169,6.935L16.153,6.761ZM15.827,5.941C15.663,5.694 15.45,5.484 15.2,5.329L14.672,6.179C14.796,6.255 14.906,6.362 14.993,6.493L15.827,5.941ZM15.2,5.329C14.95,5.174 14.669,5.077 14.377,5.049L14.281,6.044C14.415,6.057 14.549,6.102 14.672,6.179L15.2,5.329ZM14.377,5.049C14.086,5.021 13.793,5.062 13.521,5.17L13.89,6.1C14.014,6.05 14.147,6.031 14.281,6.044L14.377,5.049ZM13.5,5.179L6.655,8.255L7.065,9.167L13.91,6.091L13.5,5.179ZM5.218,10.97L5.218,10.971C5.218,10.971 5.218,10.971 5.218,10.971C5.218,10.971 5.218,10.971 5.218,10.972C5.218,10.972 5.218,10.972 5.218,10.972C5.218,10.972 5.218,10.972 5.219,10.972C5.219,10.973 5.219,10.973 5.219,10.973C5.219,10.973 5.219,10.973 5.219,10.973C5.219,10.973 5.219,10.974 5.219,10.974C5.219,10.974 5.219,10.974 5.219,10.974C5.219,10.974 5.219,10.974 5.219,10.974L5.219,10.976C5.219,10.976 5.219,10.976 5.219,10.976C5.219,10.976 5.219,10.976 5.219,10.977C5.219,10.977 5.219,10.977 5.219,10.977C5.219,10.977 5.219,10.977 5.219,10.977L5.22,10.979C5.22,10.979 5.22,10.979 5.22,10.979C5.22,10.979 5.22,10.979 5.22,10.979C5.22,10.98 5.22,10.98 5.22,10.98C5.22,10.98 5.22,10.98 5.22,10.98L5.22,10.982C5.22,10.982 5.22,10.982 5.22,10.982C5.22,10.982 5.22,10.983 5.22,10.983L5.221,10.984C5.221,10.985 5.221,10.985 5.221,10.985C5.221,10.985 5.221,10.985 5.221,10.985L5.221,10.987C5.221,10.987 5.221,10.987 5.221,10.987C5.221,10.987 5.221,10.988 5.221,10.988C5.221,10.988 5.221,10.988 5.221,10.988C5.221,10.988 5.221,10.988 5.221,10.988C5.221,10.989 5.221,10.989 5.221,10.989L5.222,10.991C5.222,10.991 5.222,10.991 5.222,10.991C5.222,10.991 5.222,10.992 5.222,10.992C5.222,10.992 5.222,10.992 5.222,10.992C5.222,10.992 5.222,10.992 5.222,10.993C5.222,10.993 5.222,10.993 5.222,10.993L5.223,10.996C5.223,10.996 5.223,10.996 5.223,10.997C5.223,10.997 5.223,10.997 5.223,10.997L5.223,10.998C5.223,10.998 5.223,10.999 5.223,10.999C5.223,10.999 5.223,10.999 5.223,10.999L5.223,11C5.223,11 5.223,11 5.223,11C5.223,11 5.223,11.001 5.223,11.001C5.224,11.001 5.224,11.001 5.224,11.001L5.227,11.021C5.227,11.021 5.227,11.021 5.227,11.021C5.227,11.022 5.227,11.022 5.227,11.022C5.227,11.022 5.227,11.022 5.227,11.022C5.227,11.022 5.227,11.023 5.227,11.023C5.227,11.023 5.227,11.023 5.227,11.023C5.227,11.023 5.227,11.023 5.228,11.023C5.228,11.024 5.228,11.024 5.228,11.024C5.228,11.024 5.228,11.024 5.228,11.024C5.228,11.024 5.228,11.024 5.228,11.025C5.228,11.025 5.228,11.025 5.228,11.025C5.228,11.025 5.228,11.025 5.228,11.025L5.228,11.028C5.228,11.028 5.228,11.028 5.228,11.028C5.228,11.028 5.228,11.028 5.228,11.028C5.228,11.029 5.228,11.029 5.228,11.029C5.229,11.029 5.229,11.029 5.229,11.029C5.229,11.029 5.229,11.03 5.229,11.03C5.229,11.03 5.229,11.03 5.229,11.03C5.229,11.03 5.229,11.03 5.229,11.031L5.229,11.032C5.229,11.032 5.229,11.032 5.229,11.032C5.229,11.033 5.229,11.033 5.229,11.033C5.229,11.033 5.229,11.033 5.229,11.033C5.229,11.033 5.229,11.033 5.229,11.034L5.23,11.036C5.23,11.036 5.23,11.036 5.23,11.036C5.23,11.036 5.23,11.036 5.23,11.036C5.23,11.036 5.23,11.037 5.23,11.037L5.23,11.038C5.23,11.038 5.23,11.039 5.23,11.039C5.23,11.039 5.23,11.039 5.23,11.039C5.23,11.039 5.23,11.039 5.23,11.039L5.231,11.042C5.231,11.042 5.231,11.042 5.231,11.042C5.231,11.042 5.231,11.042 5.231,11.043C5.231,11.043 5.231,11.043 5.231,11.043L5.232,11.047C5.232,11.047 5.232,11.047 5.232,11.048C5.232,11.048 5.232,11.048 5.232,11.048L5.232,11.051C5.232,11.051 5.232,11.051 5.232,11.051L5.234,11.058C5.234,11.058 5.234,11.058 5.234,11.059C5.234,11.059 5.234,11.059 5.234,11.059C5.234,11.059 5.234,11.059 5.234,11.059C5.234,11.059 5.234,11.06 5.234,11.06L5.235,11.068C5.235,11.068 5.235,11.068 5.235,11.068L5.236,11.072C5.236,11.072 5.236,11.072 5.236,11.072L5.237,11.075C5.237,11.076 5.237,11.076 5.237,11.076L5.237,11.078C5.237,11.078 5.237,11.078 5.237,11.078C5.237,11.078 5.237,11.078 5.237,11.078C5.237,11.078 5.237,11.079 5.237,11.079L5.238,11.082C5.238,11.082 5.238,11.083 5.238,11.083L5.239,11.089C5.239,11.089 5.239,11.089 5.239,11.09L5.239,11.09C5.239,11.09 5.239,11.091 5.239,11.091L5.245,11.122C5.245,11.122 5.245,11.122 5.245,11.122L5.251,11.159L6.236,10.986C6.236,10.985 6.236,10.985 6.236,10.985L6.235,10.981C6.235,10.98 6.235,10.98 6.235,10.98L6.234,10.971C6.234,10.971 6.234,10.97 6.234,10.97L6.227,10.933C6.227,10.933 6.227,10.933 6.227,10.933L6.226,10.929C6.226,10.928 6.226,10.928 6.226,10.928L6.223,10.912C6.223,10.912 6.223,10.911 6.223,10.911C6.223,10.911 6.223,10.911 6.223,10.911C6.223,10.911 6.223,10.911 6.223,10.911L6.222,10.903C6.222,10.903 6.222,10.903 6.222,10.902L6.22,10.893C6.22,10.893 6.22,10.893 6.22,10.892L6.219,10.89C6.219,10.89 6.219,10.89 6.219,10.889L6.219,10.887C6.219,10.887 6.219,10.887 6.219,10.886L6.218,10.883C6.218,10.883 6.218,10.883 6.218,10.883L6.218,10.88C6.218,10.879 6.218,10.879 6.218,10.879L6.217,10.877C6.217,10.877 6.217,10.877 6.217,10.877L6.217,10.875C6.217,10.875 6.217,10.875 6.217,10.875C6.217,10.875 6.217,10.875 6.217,10.875L6.216,10.873C6.216,10.873 6.216,10.872 6.216,10.872L6.216,10.871C6.216,10.871 6.216,10.871 6.216,10.87C6.216,10.87 6.216,10.87 6.216,10.87C6.216,10.87 6.216,10.87 6.216,10.87L6.215,10.867C6.215,10.867 6.215,10.867 6.215,10.867C6.215,10.867 6.215,10.867 6.215,10.867C6.215,10.866 6.215,10.866 6.215,10.866L6.215,10.862C6.215,10.862 6.214,10.862 6.214,10.862C6.214,10.862 6.214,10.862 6.214,10.862C6.214,10.861 6.214,10.861 6.214,10.861C6.214,10.861 6.214,10.861 6.214,10.861L6.214,10.859C6.214,10.859 6.214,10.859 6.214,10.858L6.214,10.857C6.214,10.857 6.214,10.857 6.214,10.856L6.213,10.852C6.213,10.852 6.213,10.852 6.213,10.852C6.213,10.852 6.213,10.852 6.213,10.852C6.213,10.852 6.213,10.851 6.213,10.851C6.213,10.851 6.213,10.851 6.213,10.851C6.213,10.851 6.212,10.851 6.212,10.851C6.212,10.85 6.212,10.85 6.212,10.85C6.212,10.85 6.212,10.85 6.212,10.85C6.212,10.85 6.212,10.85 6.212,10.849C6.212,10.849 6.212,10.849 6.212,10.849C6.212,10.849 6.212,10.849 6.212,10.849C6.212,10.848 6.212,10.848 6.212,10.848C6.212,10.848 6.212,10.848 6.212,10.848L6.209,10.831C6.209,10.831 6.209,10.83 6.209,10.83C6.209,10.83 6.209,10.83 6.209,10.83C6.209,10.83 6.209,10.83 6.209,10.829C6.209,10.829 6.209,10.829 6.209,10.829C6.209,10.829 6.209,10.829 6.209,10.829C6.209,10.829 6.209,10.828 6.209,10.828L6.208,10.827C6.208,10.827 6.208,10.827 6.208,10.827L6.208,10.825C6.208,10.825 6.208,10.825 6.208,10.825C6.208,10.824 6.208,10.824 6.208,10.824L6.207,10.821C6.207,10.821 6.207,10.821 6.207,10.821C6.207,10.821 6.207,10.821 6.207,10.82C6.207,10.82 6.207,10.82 6.207,10.82L6.207,10.819C6.207,10.819 6.207,10.819 6.207,10.819L6.207,10.818C6.207,10.818 6.207,10.817 6.207,10.817C6.207,10.817 6.207,10.817 6.207,10.817L6.206,10.815C6.206,10.815 6.206,10.815 6.206,10.814L6.206,10.814C6.206,10.813 6.206,10.813 6.206,10.813C6.206,10.813 6.206,10.813 6.206,10.813L6.206,10.811C6.205,10.811 6.205,10.811 6.205,10.811C6.205,10.811 6.205,10.81 6.205,10.81C6.205,10.81 6.205,10.81 6.205,10.81C6.205,10.81 6.205,10.81 6.205,10.81L6.205,10.808C6.205,10.808 6.205,10.807 6.205,10.807C6.205,10.807 6.205,10.807 6.205,10.807C6.205,10.807 6.205,10.807 6.205,10.807C6.205,10.806 6.205,10.806 6.205,10.806L6.204,10.805C6.204,10.804 6.204,10.804 6.204,10.804C6.204,10.804 6.204,10.804 6.204,10.804L6.204,10.803C6.204,10.802 6.204,10.802 6.204,10.802C6.204,10.802 6.204,10.802 6.204,10.802C6.204,10.802 6.204,10.801 6.204,10.801L6.203,10.8C6.203,10.799 6.203,10.799 6.203,10.799C6.203,10.799 6.203,10.799 6.203,10.799C6.203,10.799 6.203,10.798 6.203,10.798C6.203,10.798 6.203,10.798 6.203,10.798C6.203,10.798 6.203,10.798 6.203,10.798C6.203,10.797 6.203,10.797 6.203,10.797C6.203,10.797 6.203,10.797 6.203,10.797L6.203,10.796L5.218,10.97ZM5.251,11.159L5.338,11.652L6.323,11.478L6.236,10.986L5.251,11.159ZM6.655,8.255C5.611,8.724 5.019,9.842 5.218,10.97L6.203,10.796C6.084,10.119 6.439,9.448 7.065,9.167L6.655,8.255Z" style="fill:url(#_Linear1);fill-rule:nonzero;"/>
7
+ <path d="M16.084,13.565C15.938,13.591 15.787,13.572 15.652,13.513C15.516,13.453 15.401,13.354 15.321,13.229C15.241,13.104 15.201,12.958 15.204,12.81C15.207,12.662 15.254,12.518 15.339,12.396C15.424,12.275 15.544,12.181 15.682,12.127C15.82,12.073 15.971,12.062 16.116,12.094C16.261,12.126 16.393,12.2 16.495,12.307C16.598,12.415 16.667,12.55 16.692,12.696C16.727,12.892 16.682,13.093 16.568,13.256C16.454,13.419 16.28,13.53 16.084,13.565Z" style="fill:rgb(0,101,212);fill-rule:nonzero;stroke:rgb(0,101,212);stroke-width:1px;stroke-linejoin:miter;"/>
8
+ <defs>
9
+ <linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(7.0091,2.31808,-2.31808,7.0091,10.9866,9.13242)"><stop offset="0" style="stop-color:white;stop-opacity:1"/><stop offset="1" style="stop-color:white;stop-opacity:0"/></linearGradient>
10
+ </defs>
11
+ </svg>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;">
4
+ <path d="M24,12C24,17.25 23.1,20.325 20.925,22.05C19.05,23.55 16.125,24 12,24C7.275,24 4.2,23.4 2.325,21.3C0.675,19.5 0,16.575 0,12C0,7.125 0.75,4.125 2.625,2.4C4.5,0.6 7.5,0 12,0C16.425,0 19.425,0.525 21.3,2.325C23.25,4.05 24,7.05 24,12Z" style="fill:rgb(0,101,212);fill-rule:nonzero;"/>
5
+ <path d="M5.831,11.565C5.687,10.749 6.232,9.971 7.047,9.827L15.418,8.351C16.506,8.159 17.543,8.885 17.735,9.973L18.603,14.897C18.795,15.985 18.069,17.022 16.981,17.214L9.103,18.603C8.015,18.795 6.978,18.069 6.786,16.981L5.831,11.565Z" style="fill:white;fill-rule:nonzero;stroke:white;stroke-width:1px;"/>
6
+ <path d="M15.661,6.848L16.153,6.761L16.153,6.761L15.661,6.848ZM13.705,5.635L13.521,5.17L13.511,5.174L13.5,5.179L13.705,5.635ZM16.398,8.146L16.153,6.761L15.169,6.935L15.413,8.32L16.398,8.146ZM16.153,6.761C16.102,6.468 15.991,6.188 15.827,5.941L14.993,6.493C15.08,6.624 15.14,6.775 15.169,6.935L16.153,6.761ZM15.827,5.941C15.663,5.694 15.45,5.484 15.2,5.329L14.672,6.179C14.796,6.255 14.906,6.362 14.993,6.493L15.827,5.941ZM15.2,5.329C14.95,5.174 14.669,5.077 14.377,5.049L14.281,6.044C14.415,6.057 14.549,6.102 14.672,6.179L15.2,5.329ZM14.377,5.049C14.086,5.021 13.793,5.062 13.521,5.17L13.89,6.1C14.014,6.05 14.147,6.031 14.281,6.044L14.377,5.049ZM13.5,5.179L6.655,8.255L7.065,9.167L13.91,6.091L13.5,5.179ZM5.218,10.97L5.218,10.971C5.218,10.971 5.218,10.971 5.218,10.971C5.218,10.971 5.218,10.971 5.218,10.972C5.218,10.972 5.218,10.972 5.218,10.972C5.218,10.972 5.218,10.972 5.219,10.972C5.219,10.973 5.219,10.973 5.219,10.973C5.219,10.973 5.219,10.973 5.219,10.973C5.219,10.973 5.219,10.974 5.219,10.974C5.219,10.974 5.219,10.974 5.219,10.974C5.219,10.974 5.219,10.974 5.219,10.974L5.219,10.976C5.219,10.976 5.219,10.976 5.219,10.976C5.219,10.976 5.219,10.976 5.219,10.977C5.219,10.977 5.219,10.977 5.219,10.977C5.219,10.977 5.219,10.977 5.219,10.977L5.22,10.979C5.22,10.979 5.22,10.979 5.22,10.979C5.22,10.979 5.22,10.979 5.22,10.979C5.22,10.98 5.22,10.98 5.22,10.98C5.22,10.98 5.22,10.98 5.22,10.98L5.22,10.982C5.22,10.982 5.22,10.982 5.22,10.982C5.22,10.982 5.22,10.983 5.22,10.983L5.221,10.984C5.221,10.985 5.221,10.985 5.221,10.985C5.221,10.985 5.221,10.985 5.221,10.985L5.221,10.987C5.221,10.987 5.221,10.987 5.221,10.987C5.221,10.987 5.221,10.988 5.221,10.988C5.221,10.988 5.221,10.988 5.221,10.988C5.221,10.988 5.221,10.988 5.221,10.988C5.221,10.989 5.221,10.989 5.221,10.989L5.222,10.991C5.222,10.991 5.222,10.991 5.222,10.991C5.222,10.991 5.222,10.992 5.222,10.992C5.222,10.992 5.222,10.992 5.222,10.992C5.222,10.992 5.222,10.992 5.222,10.993C5.222,10.993 5.222,10.993 5.222,10.993L5.223,10.996C5.223,10.996 5.223,10.996 5.223,10.997C5.223,10.997 5.223,10.997 5.223,10.997L5.223,10.998C5.223,10.998 5.223,10.999 5.223,10.999C5.223,10.999 5.223,10.999 5.223,10.999L5.223,11C5.223,11 5.223,11 5.223,11C5.223,11 5.223,11.001 5.223,11.001C5.224,11.001 5.224,11.001 5.224,11.001L5.227,11.021C5.227,11.021 5.227,11.021 5.227,11.021C5.227,11.022 5.227,11.022 5.227,11.022C5.227,11.022 5.227,11.022 5.227,11.022C5.227,11.022 5.227,11.023 5.227,11.023C5.227,11.023 5.227,11.023 5.227,11.023C5.227,11.023 5.227,11.023 5.228,11.023C5.228,11.024 5.228,11.024 5.228,11.024C5.228,11.024 5.228,11.024 5.228,11.024C5.228,11.024 5.228,11.024 5.228,11.025C5.228,11.025 5.228,11.025 5.228,11.025C5.228,11.025 5.228,11.025 5.228,11.025L5.228,11.028C5.228,11.028 5.228,11.028 5.228,11.028C5.228,11.028 5.228,11.028 5.228,11.028C5.228,11.029 5.228,11.029 5.228,11.029C5.229,11.029 5.229,11.029 5.229,11.029C5.229,11.029 5.229,11.03 5.229,11.03C5.229,11.03 5.229,11.03 5.229,11.03C5.229,11.03 5.229,11.03 5.229,11.031L5.229,11.032C5.229,11.032 5.229,11.032 5.229,11.032C5.229,11.033 5.229,11.033 5.229,11.033C5.229,11.033 5.229,11.033 5.229,11.033C5.229,11.033 5.229,11.033 5.229,11.034L5.23,11.036C5.23,11.036 5.23,11.036 5.23,11.036C5.23,11.036 5.23,11.036 5.23,11.036C5.23,11.036 5.23,11.037 5.23,11.037L5.23,11.038C5.23,11.038 5.23,11.039 5.23,11.039C5.23,11.039 5.23,11.039 5.23,11.039C5.23,11.039 5.23,11.039 5.23,11.039L5.231,11.042C5.231,11.042 5.231,11.042 5.231,11.042C5.231,11.042 5.231,11.042 5.231,11.043C5.231,11.043 5.231,11.043 5.231,11.043L5.232,11.047C5.232,11.047 5.232,11.047 5.232,11.048C5.232,11.048 5.232,11.048 5.232,11.048L5.232,11.051C5.232,11.051 5.232,11.051 5.232,11.051L5.234,11.058C5.234,11.058 5.234,11.058 5.234,11.059C5.234,11.059 5.234,11.059 5.234,11.059C5.234,11.059 5.234,11.059 5.234,11.059C5.234,11.059 5.234,11.06 5.234,11.06L5.235,11.068C5.235,11.068 5.235,11.068 5.235,11.068L5.236,11.072C5.236,11.072 5.236,11.072 5.236,11.072L5.237,11.075C5.237,11.076 5.237,11.076 5.237,11.076L5.237,11.078C5.237,11.078 5.237,11.078 5.237,11.078C5.237,11.078 5.237,11.078 5.237,11.078C5.237,11.078 5.237,11.079 5.237,11.079L5.238,11.082C5.238,11.082 5.238,11.083 5.238,11.083L5.239,11.089C5.239,11.089 5.239,11.089 5.239,11.09L5.239,11.09C5.239,11.09 5.239,11.091 5.239,11.091L5.245,11.122C5.245,11.122 5.245,11.122 5.245,11.122L5.251,11.159L6.236,10.986C6.236,10.985 6.236,10.985 6.236,10.985L6.235,10.981C6.235,10.98 6.235,10.98 6.235,10.98L6.234,10.971C6.234,10.971 6.234,10.97 6.234,10.97L6.227,10.933C6.227,10.933 6.227,10.933 6.227,10.933L6.226,10.929C6.226,10.928 6.226,10.928 6.226,10.928L6.223,10.912C6.223,10.912 6.223,10.911 6.223,10.911C6.223,10.911 6.223,10.911 6.223,10.911C6.223,10.911 6.223,10.911 6.223,10.911L6.222,10.903C6.222,10.903 6.222,10.903 6.222,10.902L6.22,10.893C6.22,10.893 6.22,10.893 6.22,10.892L6.219,10.89C6.219,10.89 6.219,10.89 6.219,10.889L6.219,10.887C6.219,10.887 6.219,10.887 6.219,10.886L6.218,10.883C6.218,10.883 6.218,10.883 6.218,10.883L6.218,10.88C6.218,10.879 6.218,10.879 6.218,10.879L6.217,10.877C6.217,10.877 6.217,10.877 6.217,10.877L6.217,10.875C6.217,10.875 6.217,10.875 6.217,10.875C6.217,10.875 6.217,10.875 6.217,10.875L6.216,10.873C6.216,10.873 6.216,10.872 6.216,10.872L6.216,10.871C6.216,10.871 6.216,10.871 6.216,10.87C6.216,10.87 6.216,10.87 6.216,10.87C6.216,10.87 6.216,10.87 6.216,10.87L6.215,10.867C6.215,10.867 6.215,10.867 6.215,10.867C6.215,10.867 6.215,10.867 6.215,10.867C6.215,10.866 6.215,10.866 6.215,10.866L6.215,10.862C6.215,10.862 6.214,10.862 6.214,10.862C6.214,10.862 6.214,10.862 6.214,10.862C6.214,10.861 6.214,10.861 6.214,10.861C6.214,10.861 6.214,10.861 6.214,10.861L6.214,10.859C6.214,10.859 6.214,10.859 6.214,10.858L6.214,10.857C6.214,10.857 6.214,10.857 6.214,10.856L6.213,10.852C6.213,10.852 6.213,10.852 6.213,10.852C6.213,10.852 6.213,10.852 6.213,10.852C6.213,10.852 6.213,10.851 6.213,10.851C6.213,10.851 6.213,10.851 6.213,10.851C6.213,10.851 6.212,10.851 6.212,10.851C6.212,10.85 6.212,10.85 6.212,10.85C6.212,10.85 6.212,10.85 6.212,10.85C6.212,10.85 6.212,10.85 6.212,10.849C6.212,10.849 6.212,10.849 6.212,10.849C6.212,10.849 6.212,10.849 6.212,10.849C6.212,10.848 6.212,10.848 6.212,10.848C6.212,10.848 6.212,10.848 6.212,10.848L6.209,10.831C6.209,10.831 6.209,10.83 6.209,10.83C6.209,10.83 6.209,10.83 6.209,10.83C6.209,10.83 6.209,10.83 6.209,10.829C6.209,10.829 6.209,10.829 6.209,10.829C6.209,10.829 6.209,10.829 6.209,10.829C6.209,10.829 6.209,10.828 6.209,10.828L6.208,10.827C6.208,10.827 6.208,10.827 6.208,10.827L6.208,10.825C6.208,10.825 6.208,10.825 6.208,10.825C6.208,10.824 6.208,10.824 6.208,10.824L6.207,10.821C6.207,10.821 6.207,10.821 6.207,10.821C6.207,10.821 6.207,10.821 6.207,10.82C6.207,10.82 6.207,10.82 6.207,10.82L6.207,10.819C6.207,10.819 6.207,10.819 6.207,10.819L6.207,10.818C6.207,10.818 6.207,10.817 6.207,10.817C6.207,10.817 6.207,10.817 6.207,10.817L6.206,10.815C6.206,10.815 6.206,10.815 6.206,10.814L6.206,10.814C6.206,10.813 6.206,10.813 6.206,10.813C6.206,10.813 6.206,10.813 6.206,10.813L6.206,10.811C6.205,10.811 6.205,10.811 6.205,10.811C6.205,10.811 6.205,10.81 6.205,10.81C6.205,10.81 6.205,10.81 6.205,10.81C6.205,10.81 6.205,10.81 6.205,10.81L6.205,10.808C6.205,10.808 6.205,10.807 6.205,10.807C6.205,10.807 6.205,10.807 6.205,10.807C6.205,10.807 6.205,10.807 6.205,10.807C6.205,10.806 6.205,10.806 6.205,10.806L6.204,10.805C6.204,10.804 6.204,10.804 6.204,10.804C6.204,10.804 6.204,10.804 6.204,10.804L6.204,10.803C6.204,10.802 6.204,10.802 6.204,10.802C6.204,10.802 6.204,10.802 6.204,10.802C6.204,10.802 6.204,10.801 6.204,10.801L6.203,10.8C6.203,10.799 6.203,10.799 6.203,10.799C6.203,10.799 6.203,10.799 6.203,10.799C6.203,10.799 6.203,10.798 6.203,10.798C6.203,10.798 6.203,10.798 6.203,10.798C6.203,10.798 6.203,10.798 6.203,10.798C6.203,10.797 6.203,10.797 6.203,10.797C6.203,10.797 6.203,10.797 6.203,10.797L6.203,10.796L5.218,10.97ZM5.251,11.159L5.338,11.652L6.323,11.478L6.236,10.986L5.251,11.159ZM6.655,8.255C5.611,8.724 5.019,9.842 5.218,10.97L6.203,10.796C6.084,10.119 6.439,9.448 7.065,9.167L6.655,8.255Z" style="fill:url(#_Linear1);fill-rule:nonzero;"/>
7
+ <path d="M16.084,13.565C15.938,13.591 15.787,13.572 15.652,13.513C15.516,13.453 15.401,13.354 15.321,13.229C15.241,13.104 15.201,12.958 15.204,12.81C15.207,12.662 15.254,12.518 15.339,12.396C15.424,12.275 15.544,12.181 15.682,12.127C15.82,12.073 15.971,12.062 16.116,12.094C16.261,12.126 16.393,12.2 16.495,12.307C16.598,12.415 16.667,12.55 16.692,12.696C16.727,12.892 16.682,13.093 16.568,13.256C16.454,13.419 16.28,13.53 16.084,13.565Z" style="fill:rgb(0,101,212);fill-rule:nonzero;stroke:rgb(0,101,212);stroke-width:1px;stroke-linejoin:miter;"/>
8
+ <defs>
9
+ <linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(7.0091,2.31808,-2.31808,7.0091,10.9866,9.13242)"><stop offset="0" style="stop-color:white;stop-opacity:1"/><stop offset="1" style="stop-color:white;stop-opacity:0"/></linearGradient>
10
+ </defs>
11
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-pay",
3
- "version": "7.0.0",
3
+ "version": "7.0.3",
4
4
  "description": "Capacitor plugin to trigger native payment for iOS(Apple pay) and Android(Google Pay)",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",