@brissoto/pay-react-native 1.5.1 → 1.5.2
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.
|
@@ -7,11 +7,10 @@ import type { CardFieldsMessage, CheckoutColors, CheckoutCore, CheckoutToast, Ch
|
|
|
7
7
|
import type { FigtreeEnum, SheetIconEnum, StoreProductTypeEnum, WebBrowserResultEnum } from './sheet.enum.js';
|
|
8
8
|
/**
|
|
9
9
|
* How the sheet ended. `closed`: the payer closed it with the payment still
|
|
10
|
-
* open.
|
|
11
|
-
* so and nothing was paid (`payment.unavailable` on the server). A hint only: ship on `payment.paid` from the webhook or `getPayment`.
|
|
10
|
+
* open. A hint only: ship on `payment.paid` from the webhook or `getPayment`.
|
|
12
11
|
*/
|
|
13
12
|
export type PaymentSheetStatus = 'paid' | 'pending' | 'cancelled' | 'expired' | 'locked' | 'refunded' | 'closed'
|
|
14
|
-
/** No
|
|
13
|
+
/** No method could take the payment (`payment.unavailable`): nothing was paid. */
|
|
15
14
|
| 'unavailable';
|
|
16
15
|
/** Why the sheet could not show the payment: no payment has this id, or it could not load. */
|
|
17
16
|
export type PaymentSheetError = 'not_found' | 'network';
|