@soltech/fluid-common 1.10.1-sc23265.0 → 1.10.1-sc23265.1
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.
- package/lib/transactions.d.ts +14 -0
- package/package.json +1 -1
- package/src/transactions.ts +16 -0
package/lib/transactions.d.ts
CHANGED
|
@@ -19,6 +19,20 @@ export interface CreditcardTransactionParams extends TransactionParams {
|
|
|
19
19
|
cardToken?: string;
|
|
20
20
|
protectionHeaders?: Record<string, string>;
|
|
21
21
|
}
|
|
22
|
+
/** The request that concludes a deposit the payer had to act on away from the cashier, a 3DS challenge being the case that needs it. */
|
|
23
|
+
export interface DepositContinuationParams {
|
|
24
|
+
paymentMethodId: string;
|
|
25
|
+
/** Ours, identifying the purchase across both charge attempts. */
|
|
26
|
+
transactionId: string;
|
|
27
|
+
/** The gateway's, identifying the challenge the payer completed. */
|
|
28
|
+
threeDsTransactionId: string;
|
|
29
|
+
cardToken: string;
|
|
30
|
+
expiryMonth?: string;
|
|
31
|
+
expiryYear?: string;
|
|
32
|
+
protectionHeaders?: Record<string, string>;
|
|
33
|
+
/** A credential: carried on the challenge and handed back, never logged. */
|
|
34
|
+
sessionKey?: string;
|
|
35
|
+
}
|
|
22
36
|
/**
|
|
23
37
|
* Transaction params for any payment method whose payload is keyed dynamically:
|
|
24
38
|
* - CMS-defined input fields (bank transfer, crypto, e-wallet, voucher).
|
package/package.json
CHANGED
package/src/transactions.ts
CHANGED
|
@@ -22,6 +22,22 @@ export interface CreditcardTransactionParams extends TransactionParams {
|
|
|
22
22
|
cardToken?: string;
|
|
23
23
|
protectionHeaders?: Record<string, string>;
|
|
24
24
|
}
|
|
25
|
+
|
|
26
|
+
/** The request that concludes a deposit the payer had to act on away from the cashier, a 3DS challenge being the case that needs it. */
|
|
27
|
+
export interface DepositContinuationParams {
|
|
28
|
+
paymentMethodId: string;
|
|
29
|
+
/** Ours, identifying the purchase across both charge attempts. */
|
|
30
|
+
transactionId: string;
|
|
31
|
+
/** The gateway's, identifying the challenge the payer completed. */
|
|
32
|
+
threeDsTransactionId: string;
|
|
33
|
+
cardToken: string;
|
|
34
|
+
expiryMonth?: string;
|
|
35
|
+
expiryYear?: string;
|
|
36
|
+
protectionHeaders?: Record<string, string>;
|
|
37
|
+
/** A credential: carried on the challenge and handed back, never logged. */
|
|
38
|
+
sessionKey?: string;
|
|
39
|
+
}
|
|
40
|
+
|
|
25
41
|
/**
|
|
26
42
|
* Transaction params for any payment method whose payload is keyed dynamically:
|
|
27
43
|
* - CMS-defined input fields (bank transfer, crypto, e-wallet, voucher).
|