@paystack/checkout-js 1.20.0-dev.1 → 1.20.0-dev.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.
- package/dist/checkout.js +51 -0
- package/es/checkout.js +51 -0
- package/lib/checkout.js +51 -0
- package/package.json +1 -1
package/dist/checkout.js
CHANGED
|
@@ -18328,6 +18328,57 @@ var Paystack = (function (exports) {
|
|
|
18328
18328
|
}
|
|
18329
18329
|
};
|
|
18330
18330
|
|
|
18331
|
+
var testCards = [{
|
|
18332
|
+
type: 'bank_auth',
|
|
18333
|
+
name: 'Bank authorization',
|
|
18334
|
+
number: '4084080000000409',
|
|
18335
|
+
cvv: '000',
|
|
18336
|
+
month: '01',
|
|
18337
|
+
year: '30'
|
|
18338
|
+
}, {
|
|
18339
|
+
type: 'success',
|
|
18340
|
+
name: 'Success',
|
|
18341
|
+
number: '4084084084084081',
|
|
18342
|
+
cvv: '408',
|
|
18343
|
+
month: '12',
|
|
18344
|
+
year: '30'
|
|
18345
|
+
}, {
|
|
18346
|
+
type: 'declined',
|
|
18347
|
+
name: 'Declined',
|
|
18348
|
+
number: '4084080000005408',
|
|
18349
|
+
cvv: '001',
|
|
18350
|
+
month: '12',
|
|
18351
|
+
year: '30'
|
|
18352
|
+
}, {
|
|
18353
|
+
type: 'pin',
|
|
18354
|
+
name: 'Pin only validation',
|
|
18355
|
+
number: '507850785078507812',
|
|
18356
|
+
cvv: '884',
|
|
18357
|
+
month: '01',
|
|
18358
|
+
year: '30'
|
|
18359
|
+
}, {
|
|
18360
|
+
type: 'pin+otp',
|
|
18361
|
+
name: 'Pin and OTP validation',
|
|
18362
|
+
number: '5060666666666666666',
|
|
18363
|
+
cvv: '123',
|
|
18364
|
+
month: '01',
|
|
18365
|
+
year: '30'
|
|
18366
|
+
}, {
|
|
18367
|
+
type: 'pin+phone+otp',
|
|
18368
|
+
name: 'Pin, phone and OTP validation',
|
|
18369
|
+
number: '507850785078507812',
|
|
18370
|
+
cvv: '884',
|
|
18371
|
+
month: '01',
|
|
18372
|
+
year: '30'
|
|
18373
|
+
}, {
|
|
18374
|
+
type: 'default',
|
|
18375
|
+
name: 'No validation',
|
|
18376
|
+
number: '4084084084084081',
|
|
18377
|
+
cvv: '408',
|
|
18378
|
+
month: '01',
|
|
18379
|
+
year: '30'
|
|
18380
|
+
}];
|
|
18381
|
+
|
|
18331
18382
|
cardValidator.creditCardType.addCard({
|
|
18332
18383
|
niceType: 'Verve',
|
|
18333
18384
|
type: 'verve',
|
package/es/checkout.js
CHANGED
|
@@ -18325,6 +18325,57 @@ var Card$2 = {
|
|
|
18325
18325
|
}
|
|
18326
18326
|
};
|
|
18327
18327
|
|
|
18328
|
+
var testCards = [{
|
|
18329
|
+
type: 'bank_auth',
|
|
18330
|
+
name: 'Bank authorization',
|
|
18331
|
+
number: '4084080000000409',
|
|
18332
|
+
cvv: '000',
|
|
18333
|
+
month: '01',
|
|
18334
|
+
year: '30'
|
|
18335
|
+
}, {
|
|
18336
|
+
type: 'success',
|
|
18337
|
+
name: 'Success',
|
|
18338
|
+
number: '4084084084084081',
|
|
18339
|
+
cvv: '408',
|
|
18340
|
+
month: '12',
|
|
18341
|
+
year: '30'
|
|
18342
|
+
}, {
|
|
18343
|
+
type: 'declined',
|
|
18344
|
+
name: 'Declined',
|
|
18345
|
+
number: '4084080000005408',
|
|
18346
|
+
cvv: '001',
|
|
18347
|
+
month: '12',
|
|
18348
|
+
year: '30'
|
|
18349
|
+
}, {
|
|
18350
|
+
type: 'pin',
|
|
18351
|
+
name: 'Pin only validation',
|
|
18352
|
+
number: '507850785078507812',
|
|
18353
|
+
cvv: '884',
|
|
18354
|
+
month: '01',
|
|
18355
|
+
year: '30'
|
|
18356
|
+
}, {
|
|
18357
|
+
type: 'pin+otp',
|
|
18358
|
+
name: 'Pin and OTP validation',
|
|
18359
|
+
number: '5060666666666666666',
|
|
18360
|
+
cvv: '123',
|
|
18361
|
+
month: '01',
|
|
18362
|
+
year: '30'
|
|
18363
|
+
}, {
|
|
18364
|
+
type: 'pin+phone+otp',
|
|
18365
|
+
name: 'Pin, phone and OTP validation',
|
|
18366
|
+
number: '507850785078507812',
|
|
18367
|
+
cvv: '884',
|
|
18368
|
+
month: '01',
|
|
18369
|
+
year: '30'
|
|
18370
|
+
}, {
|
|
18371
|
+
type: 'default',
|
|
18372
|
+
name: 'No validation',
|
|
18373
|
+
number: '4084084084084081',
|
|
18374
|
+
cvv: '408',
|
|
18375
|
+
month: '01',
|
|
18376
|
+
year: '30'
|
|
18377
|
+
}];
|
|
18378
|
+
|
|
18328
18379
|
cardValidator.creditCardType.addCard({
|
|
18329
18380
|
niceType: 'Verve',
|
|
18330
18381
|
type: 'verve',
|
package/lib/checkout.js
CHANGED
|
@@ -18329,6 +18329,57 @@ var Card$2 = {
|
|
|
18329
18329
|
}
|
|
18330
18330
|
};
|
|
18331
18331
|
|
|
18332
|
+
var testCards = [{
|
|
18333
|
+
type: 'bank_auth',
|
|
18334
|
+
name: 'Bank authorization',
|
|
18335
|
+
number: '4084080000000409',
|
|
18336
|
+
cvv: '000',
|
|
18337
|
+
month: '01',
|
|
18338
|
+
year: '30'
|
|
18339
|
+
}, {
|
|
18340
|
+
type: 'success',
|
|
18341
|
+
name: 'Success',
|
|
18342
|
+
number: '4084084084084081',
|
|
18343
|
+
cvv: '408',
|
|
18344
|
+
month: '12',
|
|
18345
|
+
year: '30'
|
|
18346
|
+
}, {
|
|
18347
|
+
type: 'declined',
|
|
18348
|
+
name: 'Declined',
|
|
18349
|
+
number: '4084080000005408',
|
|
18350
|
+
cvv: '001',
|
|
18351
|
+
month: '12',
|
|
18352
|
+
year: '30'
|
|
18353
|
+
}, {
|
|
18354
|
+
type: 'pin',
|
|
18355
|
+
name: 'Pin only validation',
|
|
18356
|
+
number: '507850785078507812',
|
|
18357
|
+
cvv: '884',
|
|
18358
|
+
month: '01',
|
|
18359
|
+
year: '30'
|
|
18360
|
+
}, {
|
|
18361
|
+
type: 'pin+otp',
|
|
18362
|
+
name: 'Pin and OTP validation',
|
|
18363
|
+
number: '5060666666666666666',
|
|
18364
|
+
cvv: '123',
|
|
18365
|
+
month: '01',
|
|
18366
|
+
year: '30'
|
|
18367
|
+
}, {
|
|
18368
|
+
type: 'pin+phone+otp',
|
|
18369
|
+
name: 'Pin, phone and OTP validation',
|
|
18370
|
+
number: '507850785078507812',
|
|
18371
|
+
cvv: '884',
|
|
18372
|
+
month: '01',
|
|
18373
|
+
year: '30'
|
|
18374
|
+
}, {
|
|
18375
|
+
type: 'default',
|
|
18376
|
+
name: 'No validation',
|
|
18377
|
+
number: '4084084084084081',
|
|
18378
|
+
cvv: '408',
|
|
18379
|
+
month: '01',
|
|
18380
|
+
year: '30'
|
|
18381
|
+
}];
|
|
18382
|
+
|
|
18332
18383
|
cardValidator.creditCardType.addCard({
|
|
18333
18384
|
niceType: 'Verve',
|
|
18334
18385
|
type: 'verve',
|