@htmlbricks/hb-page-checkout 0.68.1 → 0.68.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/main.iife.js +1 -1
- package/main.iife.js.map +1 -1
- package/manifest.json +132 -2
- package/package.json +1 -1
package/manifest.json
CHANGED
|
@@ -434,9 +434,139 @@
|
|
|
434
434
|
]
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"name": "withShipments",
|
|
440
|
+
"description": "Checkout with selectable shipping lines.",
|
|
441
|
+
"data": {
|
|
442
|
+
"shipments": [
|
|
443
|
+
{
|
|
444
|
+
"id": "eco",
|
|
445
|
+
"label": "Economy",
|
|
446
|
+
"price": 4.99,
|
|
447
|
+
"currency": "EUR",
|
|
448
|
+
"available": true,
|
|
449
|
+
"standard": true,
|
|
450
|
+
"selected": true,
|
|
451
|
+
"arriveDate": "2026-04-05T00:00:00.000Z"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"id": "express",
|
|
455
|
+
"label": "Express",
|
|
456
|
+
"price": 12.5,
|
|
457
|
+
"currency": "EUR",
|
|
458
|
+
"available": true,
|
|
459
|
+
"arriveDate": "2026-03-28T00:00:00.000Z"
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
"user": {
|
|
463
|
+
"fullName": "Ada Lovelace",
|
|
464
|
+
"addressWithNumber": "12 Engine St",
|
|
465
|
+
"city": "London",
|
|
466
|
+
"nationality": "GB",
|
|
467
|
+
"zip": "E1 6AN"
|
|
468
|
+
},
|
|
469
|
+
"gateways": [
|
|
470
|
+
{
|
|
471
|
+
"id": "paypal",
|
|
472
|
+
"label": "bbbb",
|
|
473
|
+
"paypalid": "test"
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
"payment": {
|
|
477
|
+
"countryCode": "EU",
|
|
478
|
+
"merchantName": "Demo Shop",
|
|
479
|
+
"currencyCode": "EUR",
|
|
480
|
+
"total": 64.99,
|
|
481
|
+
"shipmentFee": 4.99,
|
|
482
|
+
"items": [
|
|
483
|
+
{
|
|
484
|
+
"id": "sku-a",
|
|
485
|
+
"name": "Widget",
|
|
486
|
+
"unitaryPrice": 29,
|
|
487
|
+
"taxPercentage": 22,
|
|
488
|
+
"quantity": 1
|
|
489
|
+
}
|
|
490
|
+
]
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"name": "minimalCart",
|
|
496
|
+
"description": "Single line item and PayPal only.",
|
|
497
|
+
"data": {
|
|
498
|
+
"shipments": [],
|
|
499
|
+
"user": {
|
|
500
|
+
"fullName": "Test User",
|
|
501
|
+
"city": "Milan",
|
|
502
|
+
"zip": "20100"
|
|
503
|
+
},
|
|
504
|
+
"gateways": [
|
|
505
|
+
{
|
|
506
|
+
"id": "paypal",
|
|
507
|
+
"label": "bbbb",
|
|
508
|
+
"paypalid": "test"
|
|
509
|
+
}
|
|
510
|
+
],
|
|
511
|
+
"payment": {
|
|
512
|
+
"countryCode": "IT",
|
|
513
|
+
"merchantName": "Acme",
|
|
514
|
+
"currencyCode": "EUR",
|
|
515
|
+
"total": 9.99,
|
|
516
|
+
"items": [
|
|
517
|
+
{
|
|
518
|
+
"id": "only",
|
|
519
|
+
"name": "Sticker pack",
|
|
520
|
+
"unitaryPrice": 9.99,
|
|
521
|
+
"taxPercentage": 22
|
|
522
|
+
}
|
|
523
|
+
]
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "completed",
|
|
529
|
+
"description": "Payment step marked complete.",
|
|
530
|
+
"data": {
|
|
531
|
+
"completed": "yes",
|
|
532
|
+
"shipments": [],
|
|
533
|
+
"user": {
|
|
534
|
+
"fullName": "Done Buyer",
|
|
535
|
+
"addressWithNumber": "1 Success Rd",
|
|
536
|
+
"city": "Rome",
|
|
537
|
+
"zip": "00100"
|
|
538
|
+
},
|
|
539
|
+
"gateways": [
|
|
540
|
+
{
|
|
541
|
+
"id": "paypal",
|
|
542
|
+
"label": "bbbb",
|
|
543
|
+
"paypalid": "test"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"id": "google",
|
|
547
|
+
"label": "GooglePay",
|
|
548
|
+
"gatewayId": "example",
|
|
549
|
+
"gatewayMerchantId": "exampleGatewayMerchantId"
|
|
550
|
+
}
|
|
551
|
+
],
|
|
552
|
+
"payment": {
|
|
553
|
+
"countryCode": "IT",
|
|
554
|
+
"merchantName": "tizio",
|
|
555
|
+
"currencyCode": "EU",
|
|
556
|
+
"total": 100,
|
|
557
|
+
"items": [
|
|
558
|
+
{
|
|
559
|
+
"unitaryPrice": 2,
|
|
560
|
+
"taxPercentage": 3,
|
|
561
|
+
"name": "testitem",
|
|
562
|
+
"id": "testitem"
|
|
563
|
+
}
|
|
564
|
+
]
|
|
565
|
+
}
|
|
566
|
+
}
|
|
437
567
|
}
|
|
438
568
|
],
|
|
439
|
-
"iifeIntegrity": "sha384-
|
|
569
|
+
"iifeIntegrity": "sha384-2xCCQsBIcroQuwA44c3CebvuUiB17AuOlJUhL4JzZT+fPsL0+xgnRLLprl/1z3mP",
|
|
440
570
|
"dependencies": [
|
|
441
571
|
{
|
|
442
572
|
"name": "hb-checkout-shopping-cart",
|
|
@@ -727,5 +857,5 @@
|
|
|
727
857
|
"size": {},
|
|
728
858
|
"iifePath": "main.iife.js",
|
|
729
859
|
"repoName": "@htmlbricks/hb-page-checkout",
|
|
730
|
-
"version": "0.68.
|
|
860
|
+
"version": "0.68.2"
|
|
731
861
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-page-checkout",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.2",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "Checkout page layout that embeds the payment flow and shopping cart: left column uses hb-checkout (user, shipments, gateways, payment) and right column uses hb-checkout-shopping-cart. Recomputes line totals, tax, shipment fee, and payment total from JSON props; updates shipment selection internally and forwards paymentCompleted and saveUser to the host.",
|
|
6
6
|
"licenses": [
|