tf-checkout-react 1.4.10 → 1.4.12

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.
@@ -4261,7 +4261,7 @@ var PaymentContainer = function PaymentContainer(_ref) {
4261
4261
  return currencyNormalizerCreator(createFixedFloatNormalizer(2)(parseFloat(value)), currency);
4262
4262
  }
4263
4263
  }, {
4264
- label: 'Pay Now (incl. 10% fee)',
4264
+ label: 'Pay Now',
4265
4265
  id: 'pay_now',
4266
4266
  normalizer: function normalizer(value, currency) {
4267
4267
  return currencyNormalizerCreator(createFixedFloatNormalizer(2)(parseFloat(value)), currency);
@@ -8285,7 +8285,9 @@ var TicketsSection$1 = function TicketsSection(props) {
8285
8285
  className: "ticketPrice"
8286
8286
  }, "Price:", React__default.createElement("span", {
8287
8287
  className: "ticketPrice-value"
8288
- }, currencySymbol + " " + finalPrice)), !_isEmpty(selectedTicketData.ticket_type_deposit) && React__default.createElement("div", {
8288
+ }, currencySymbol + " " + finalPrice), React__default.createElement("span", {
8289
+ className: "fees"
8290
+ }, selectedTicketData.fee_included ? ' (incl. Fees)' : ' (excl. Fees)')), !_isEmpty(selectedTicketData.ticket_type_deposit) && React__default.createElement("div", {
8289
8291
  className: "ticketDeposit"
8290
8292
  }, "Deposit:", React__default.createElement("span", {
8291
8293
  className: "ticketPrice-value"
@@ -8547,7 +8549,7 @@ var SeatMapContainer = function SeatMapContainer(props) {
8547
8549
  }, []);
8548
8550
  var handleSeatReservation = /*#__PURE__*/function () {
8549
8551
  var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(eventId, tierId, seatId) {
8550
- var reservationData, relations, _keys2, firstItem;
8552
+ var reservationData, relations, _keys2, firstItem, _error$response, _error$response$data;
8551
8553
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
8552
8554
  while (1) switch (_context3.prev = _context3.next) {
8553
8555
  case 0:
@@ -8572,7 +8574,7 @@ var SeatMapContainer = function SeatMapContainer(props) {
8572
8574
  case 15:
8573
8575
  _context3.prev = 15;
8574
8576
  _context3.t0 = _context3["catch"](1);
8575
- setError('Something went wrong');
8577
+ setError((_context3.t0 == null ? void 0 : (_error$response = _context3.t0.response) == null ? void 0 : (_error$response$data = _error$response.data) == null ? void 0 : _error$response$data.message) === 'Selected seat is not available' ? 'No more of this ticket type are available right now - they’re either sold out or in people’s shopping carts. Try refreshing the page!' : 'Something went wrong');
8576
8578
  case 18:
8577
8579
  _context3.prev = 18;
8578
8580
  setIsReserving(false);