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.
@@ -4254,7 +4254,7 @@ var PaymentContainer = function PaymentContainer(_ref) {
4254
4254
  return currencyNormalizerCreator(createFixedFloatNormalizer(2)(parseFloat(value)), currency);
4255
4255
  }
4256
4256
  }, {
4257
- label: 'Pay Now (incl. 10% fee)',
4257
+ label: 'Pay Now',
4258
4258
  id: 'pay_now',
4259
4259
  normalizer: function normalizer(value, currency) {
4260
4260
  return currencyNormalizerCreator(createFixedFloatNormalizer(2)(parseFloat(value)), currency);
@@ -8278,7 +8278,9 @@ var TicketsSection$1 = function TicketsSection(props) {
8278
8278
  className: "ticketPrice"
8279
8279
  }, "Price:", React.createElement("span", {
8280
8280
  className: "ticketPrice-value"
8281
- }, currencySymbol + " " + finalPrice)), !_isEmpty(selectedTicketData.ticket_type_deposit) && React.createElement("div", {
8281
+ }, currencySymbol + " " + finalPrice), React.createElement("span", {
8282
+ className: "fees"
8283
+ }, selectedTicketData.fee_included ? ' (incl. Fees)' : ' (excl. Fees)')), !_isEmpty(selectedTicketData.ticket_type_deposit) && React.createElement("div", {
8282
8284
  className: "ticketDeposit"
8283
8285
  }, "Deposit:", React.createElement("span", {
8284
8286
  className: "ticketPrice-value"
@@ -8540,7 +8542,7 @@ var SeatMapContainer = function SeatMapContainer(props) {
8540
8542
  }, []);
8541
8543
  var handleSeatReservation = /*#__PURE__*/function () {
8542
8544
  var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(eventId, tierId, seatId) {
8543
- var reservationData, relations, _keys2, firstItem;
8545
+ var reservationData, relations, _keys2, firstItem, _error$response, _error$response$data;
8544
8546
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
8545
8547
  while (1) switch (_context3.prev = _context3.next) {
8546
8548
  case 0:
@@ -8565,7 +8567,7 @@ var SeatMapContainer = function SeatMapContainer(props) {
8565
8567
  case 15:
8566
8568
  _context3.prev = 15;
8567
8569
  _context3.t0 = _context3["catch"](1);
8568
- setError('Something went wrong');
8570
+ 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');
8569
8571
  case 18:
8570
8572
  _context3.prev = 18;
8571
8573
  setIsReserving(false);