tf-checkout-react 1.6.1 → 1.6.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.
@@ -4888,7 +4888,9 @@ var CheckoutForm = function CheckoutForm(_ref) {
4888
4888
  _context.next = 7;
4889
4889
  break;
4890
4890
  }
4891
- setStripeError('Please enter your zip code.');
4891
+ setStripeError({
4892
+ message: 'Please enter your zip code.'
4893
+ });
4892
4894
  handleSetLoading(false);
4893
4895
  return _context.abrupt("return");
4894
4896
  case 7:
@@ -4945,7 +4947,7 @@ var CheckoutForm = function CheckoutForm(_ref) {
4945
4947
  _context.next = 26;
4946
4948
  break;
4947
4949
  }
4948
- setStripeError(paymentMethodReq.error.message || null);
4950
+ setStripeError(paymentMethodReq.error || null);
4949
4951
  handleSetLoading(false);
4950
4952
  return _context.abrupt("return");
4951
4953
  case 26: