|
33 | 33 | | `skipListWhenSinglePaymentMethod` | When set to **true**, allow to skip payment methods list step when there is only one non-instant payment method. Defaults to **false**. | No | |
34 | 34 | | `title` | Set custom title for preselected stored payment method view Drop-in on iOS. By default app's name is used. This property has no effect on Android. | No | |
35 | 35 | | `showRemovePaymentMethodButton` | When set to **true**, the shopper can remove stored payment details using the UI. Defaults to **false**. For the `/sessions` flow, this option works out of the box. For the `/payments`(aka Advanced) flow, you must also use the `onDisableStorePaymentMethod` callback. | No | |
36 | | -| `onDisableStoredPaymentMethod(storedPaymentMethod, resolve, reject) => {}` | Called when `showRemovePaymentMethodButton` is **true** and the shopper selects to remove stored payment details during the `/payments` (aka Advanced) flow. Make a POST [`/disable`](https://docs.adyen.com/api-explorer/Recurring/68/post/disable) request. If succesfull, call `resolve()`, otherwise `reject()`. | No | |
| 36 | +| `onDisableStoredPaymentMethod(storedPaymentMethod, resolve, reject) => {}` | Called when `showRemovePaymentMethodButton` is **true** and the shopper selects to remove stored payment details during the `/payments` (aka Advanced) flow. Make a POST [`/disable`](https://docs.adyen.com/api-explorer/Recurring/68/post/disable) request. If successful, call `resolve()`, otherwise `reject()`. | No | |
37 | 37 |
|
38 | 38 | ### Card component |
39 | 39 |
|
|
47 | 47 | | `kcpVisibility` | Indicates whether to show the security fields for South Korea-issued cards. Options: **"show"** or **"hide"**. Defaults to **"hide"**. | No | |
48 | 48 | | `showStorePaymentField` | Indicates if the field for storing the card payment method should be displayed in the form. Defaults to **true**. | No | |
49 | 49 | | `socialSecurity` | Indicates the visibility mode for the social security number field (CPF/CNPJ) for Brazilian cards. Options: "show" or **"hide"**. Defaults to **"hide"**. | No | |
50 | | -| `supported` | The list of allowed card types. By default, a list of `brands` from the payment method is used. Fallbacks to list of all known cards. | No | |
| 50 | +| `supported` | The list of allowed card types. By default, a list of `brands` from the payment method is used. Fallbacks to a list of all known cards. | No | |
51 | 51 | | `onUpdateAddress: (prompt, lookup) => {}` | The callback to provide `lookup` results for shopper-selected `prompt`. Used when `addressVisibility` is set to **lookup** | No | |
52 | 52 | | `onConfirmAddress: (address, lookup) => {}` | The callback to confirm the selected `address` to the `lookup`. Used when `addressVisibility` is set to **lookup** | No | |
53 | 53 | | `onBinLookup: (binData) => {}` | An optional callback that is triggered when the BIN lookup data is available. | No | |
|
77 | 77 | | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- | |
78 | 78 | | `merchantID` | The [Merchant ID](https://developer.apple.com/library/archive/ApplePay_Guide/Configuration.html) for Apple Pay. | Yes | |
79 | 79 | | `merchantName` | The merchant name. This value will be used to generate a single _PKPaymentSummaryItem_. | Yes, if `summaryItems` is not provided. | |
80 | | -| `allowOnboarding` | The flag to toggle onboarding. If **true**, allow the shopper to add cards to Apple Pay if none exist yet or none is applicable. If **false**, Apple Pay is disabled when the shopper doesn’t have supported cards on the Apple Pay wallet. The default is **false**. | No | |
| 80 | +| `allowOnboarding` | The flag to toggle onboarding. If **true**, allow the shopper to add cards to Apple Pay if none exist yet or none are applicable. If **false**, Apple Pay is disabled when the shopper doesn’t have supported cards on the Apple Pay wallet. The default is **false**. | No | |
81 | 81 | | `summaryItems` | An array of [payment summary item](https://developer.apple.com/documentation/passkit/pkpaymentrequest/1619231-paymentsummaryitems) objects that summarize the amount of the payment. The last element of this array must contain the same value as `amount` on the Checkout `\payments` API request. <br>**WARNING**: Adyen uses integer minor units, whereas Apple uses `NSDecimalNumber`. | Yes, if `merchantName` is not provided. | |
82 | 82 | | `requiredShippingContactFields` | A list of fields that you need for a shipping contact to process the transaction. The list is empty by default. | No | |
83 | 83 | | `requiredBillingContactFields` | A list of fields that you need for a billing contact to process the transaction. The list is empty by default. | No | |
@@ -243,15 +243,15 @@ const configuration = { |
243 | 243 | description: 'My Subscription', |
244 | 244 | regularBilling: { |
245 | 245 | amount: 1000, |
246 | | - label: 'Monthy payment', |
| 246 | + label: 'Monthly payment', |
247 | 247 | intervalCount: 1, |
248 | 248 | intervalUnit: 'month', |
249 | 249 | startDate: new Date('2025-04-28'), |
250 | 250 | }, |
251 | 251 | managementURL: 'https://my-domain.com/managementURL', |
252 | 252 | trialBilling: { |
253 | 253 | amount: 10, |
254 | | - label: 'Trail week', |
| 254 | + label: 'Trial week', |
255 | 255 | intervalCount: 7, |
256 | 256 | intervalUnit: 'day', |
257 | 257 | endDate: new Date('2025-04-21'), |
|
0 commit comments