@paynext/sdk 0.0.71 → 0.0.72
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/dist/index.d.ts +6 -109
- package/dist/index.es.js +6517 -10443
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +37 -37
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -94,11 +94,10 @@ declare class CheckoutState extends State<PayNextConfig> {
|
|
|
94
94
|
|
|
95
95
|
export declare interface CheckoutTranslate {
|
|
96
96
|
card: {
|
|
97
|
-
|
|
97
|
+
required: string;
|
|
98
98
|
number: {
|
|
99
99
|
label: string;
|
|
100
100
|
error: {
|
|
101
|
-
required: string;
|
|
102
101
|
invalid: string;
|
|
103
102
|
incomplete: string;
|
|
104
103
|
unsupported: string;
|
|
@@ -108,7 +107,6 @@ export declare interface CheckoutTranslate {
|
|
|
108
107
|
label: string;
|
|
109
108
|
placeholder: string;
|
|
110
109
|
error: {
|
|
111
|
-
required: string;
|
|
112
110
|
invalid: string;
|
|
113
111
|
incomplete: string;
|
|
114
112
|
expired: string;
|
|
@@ -118,7 +116,6 @@ export declare interface CheckoutTranslate {
|
|
|
118
116
|
label: string;
|
|
119
117
|
placeholder: string;
|
|
120
118
|
error: {
|
|
121
|
-
required: string;
|
|
122
119
|
incomplete: string;
|
|
123
120
|
invalid: string;
|
|
124
121
|
};
|
|
@@ -127,7 +124,6 @@ export declare interface CheckoutTranslate {
|
|
|
127
124
|
label: string;
|
|
128
125
|
placeholder: string;
|
|
129
126
|
error: {
|
|
130
|
-
required: string;
|
|
131
127
|
invalid: string;
|
|
132
128
|
};
|
|
133
129
|
};
|
|
@@ -146,118 +142,19 @@ export declare interface CheckoutTranslate {
|
|
|
146
142
|
doNotHonor: string;
|
|
147
143
|
insufficientFunds: string;
|
|
148
144
|
limitExceeded: string;
|
|
149
|
-
cardholdersActivityLimitExceeded: string;
|
|
150
145
|
expiredCard: string;
|
|
151
146
|
invalidCreditCardNumber: string;
|
|
152
|
-
invalidExpirationDate: string;
|
|
153
|
-
noAccount: string;
|
|
154
|
-
cardAccountLengthError: string;
|
|
155
|
-
noSuchIssuer: string;
|
|
156
|
-
cardIssuerDeclinedCvv: string;
|
|
157
|
-
voiceAuthorizationRequired: string;
|
|
158
|
-
processorDeclinedPossibleLostCard: string;
|
|
159
|
-
processorDeclinedPossibleStolenCard: string;
|
|
160
147
|
processorDeclinedFraudSuspected: string;
|
|
161
|
-
transactionNotAllowed: string;
|
|
162
|
-
duplicateTransaction: string;
|
|
163
|
-
cardholderStoppedBilling: string;
|
|
164
|
-
cardholderStoppedAllBilling: string;
|
|
165
|
-
invalidTransaction: string;
|
|
166
|
-
violation: string;
|
|
167
|
-
securityViolation: string;
|
|
168
|
-
declinedUpdatedCardholderAvailable: string;
|
|
169
|
-
processorDoesNotSupportThisFeature: string;
|
|
170
|
-
cardTypeNotEnabled: string;
|
|
171
|
-
setUpErrorMerchant: string;
|
|
172
|
-
invalidMerchantId: string;
|
|
173
|
-
setUpErrorAmount: string;
|
|
174
|
-
setUpErrorHierarchy: string;
|
|
175
|
-
setUpErrorCard: string;
|
|
176
|
-
setUpErrorTerminal: string;
|
|
177
|
-
encryptionError: string;
|
|
178
|
-
surchargeNotPermitted: string;
|
|
179
|
-
inconsistentData: string;
|
|
180
|
-
noActionTaken: string;
|
|
181
|
-
partialApprovalForAmountInGroupIiiVersion: string;
|
|
182
|
-
authorizationCouldNotBeFound: string;
|
|
183
|
-
alreadyReversed: string;
|
|
184
|
-
processorDeclined: string;
|
|
185
|
-
invalidAuthorizationCode: string;
|
|
186
|
-
invalidStore: string;
|
|
187
|
-
declinedCallForApproval: string;
|
|
188
|
-
invalidClientId: string;
|
|
189
|
-
errorDoNotRetryCallIssuer: string;
|
|
190
|
-
declinedCallIssuer: string;
|
|
191
|
-
invalidMerchantNumber: string;
|
|
192
|
-
declined: string;
|
|
193
|
-
callIssuerPickUpCard: string;
|
|
194
|
-
invalidAmount: string;
|
|
195
|
-
invalidSkuNumber: string;
|
|
196
|
-
invalidCreditPlan: string;
|
|
197
|
-
creditCardNumberDoesNotMatchMethodOfPayment: string;
|
|
198
|
-
invalidLevelIiiPurchase: string;
|
|
199
|
-
cardReportedAsLostOrStolen: string;
|
|
200
|
-
reversalAmountDoesNotMatchAuthorizationAmount: string;
|
|
201
|
-
invalidTransactionDivisionNumber: string;
|
|
202
|
-
transactionAmountExceedsTheTransactionDivisionLimit: string;
|
|
203
|
-
issuerOrCardholderHasPutARestrictionOnTheCard: string;
|
|
204
|
-
merchantNotMastercardSecurecodeEnabled: string;
|
|
205
|
-
addressVerificationFailed: string;
|
|
206
|
-
addressVerificationAndCardSecurityCodeFailed: string;
|
|
207
|
-
invalidTransactionData: string;
|
|
208
|
-
invalidTaxAmount: string;
|
|
209
|
-
paypalBusinessAccountPreferenceResultedInTheTransactionFailing: string;
|
|
210
|
-
invalidCurrencyCode: string;
|
|
211
|
-
refundTimeLimitExceeded: string;
|
|
212
|
-
paypalBusinessAccountRestricted: string;
|
|
213
|
-
authorizationExpired: string;
|
|
214
|
-
paypalBusinessAccountLockedOrClosed: string;
|
|
215
|
-
paypalBlockingDuplicateOrderIds: string;
|
|
216
|
-
paypalBuyerRevokedPreApprovedPaymentAuthorization: string;
|
|
217
|
-
paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail: string;
|
|
218
|
-
paypalPayeeEmailIncorrectlyFormatted: string;
|
|
219
|
-
paypalValidationError: string;
|
|
220
|
-
fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment: string;
|
|
221
|
-
payerAccountIsLockedOrClosed: string;
|
|
222
|
-
payerCannotPayForThisTransactionWithPaypal: string;
|
|
223
|
-
transactionRefusedDueToPaypalRiskModel: string;
|
|
224
|
-
invalidSecurePaymentData: string;
|
|
225
|
-
paypalMerchantAccountConfigurationError: string;
|
|
226
|
-
invalidUserCredentials: string;
|
|
227
|
-
paypalPendingPaymentsAreNotSupported: string;
|
|
228
|
-
paypalDomesticTransactionRequired: string;
|
|
229
|
-
paypalPhoneNumberRequired: string;
|
|
230
|
-
paypalTaxInfoRequired: string;
|
|
231
|
-
paypalPayeeBlockedTransaction: string;
|
|
232
|
-
paypalTransactionLimitExceeded: string;
|
|
233
|
-
paypalReferenceTransactionsNotEnabledForYourAccount: string;
|
|
234
|
-
currencyNotEnabledForYourPaypalSellerAccount: string;
|
|
235
|
-
paypalPayeeEmailPermissionDeniedForThisRequest: string;
|
|
236
|
-
paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount: string;
|
|
237
|
-
currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount: string;
|
|
238
|
-
noDataFoundTryAnotherVerificationMethod: string;
|
|
239
|
-
paypalPaymentMethodIsInvalid: string;
|
|
240
|
-
paypalPaymentHasAlreadyBeenCompleted: string;
|
|
241
|
-
paypalRefundIsNotAllowedAfterPartialRefund: string;
|
|
242
|
-
paypalBuyerAccountCantBeTheSameAsTheSellerAccount: string;
|
|
243
|
-
paypalAuthorizationAmountLimitExceeded: string;
|
|
244
|
-
paypalAuthorizationCountLimitExceeded: string;
|
|
245
148
|
cardholderAuthenticationRequired: string;
|
|
246
|
-
paypalChannelInitiatedBillingNotEnabledForYourAccount: string;
|
|
247
|
-
additionalAuthorizationRequired: string;
|
|
248
|
-
incorrectPin: string;
|
|
249
|
-
pinTryExceeded: string;
|
|
250
149
|
offlineIssuerDeclined: string;
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
closedCard: string;
|
|
255
|
-
processorNetworkUnavailableTryAgain: string;
|
|
150
|
+
cardReportedAsLostOrStolen: string;
|
|
151
|
+
invalidSecurePaymentData: string;
|
|
152
|
+
declined: string;
|
|
256
153
|
errorText: string;
|
|
257
154
|
venmoClosed: string;
|
|
258
155
|
paypalClosed: string;
|
|
259
|
-
applePayClosed: string;
|
|
260
156
|
paypalPopupClosed: string;
|
|
157
|
+
applePayClosed: string;
|
|
261
158
|
};
|
|
262
159
|
}
|
|
263
160
|
|
|
@@ -589,7 +486,7 @@ export declare interface PayNextConfig {
|
|
|
589
486
|
translate?: DeepPartial<CheckoutTranslate>;
|
|
590
487
|
locale?: Locale;
|
|
591
488
|
onCheckoutComplete?: (result: PaymentResult) => void;
|
|
592
|
-
onCheckoutFail?: (error:
|
|
489
|
+
onCheckoutFail?: (error: unknown) => void;
|
|
593
490
|
}
|
|
594
491
|
|
|
595
492
|
declare class PayPalService {
|