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.
@@ -4881,7 +4881,9 @@ var CheckoutForm = function CheckoutForm(_ref) {
4881
4881
  _context.next = 7;
4882
4882
  break;
4883
4883
  }
4884
- setStripeError('Please enter your zip code.');
4884
+ setStripeError({
4885
+ message: 'Please enter your zip code.'
4886
+ });
4885
4887
  handleSetLoading(false);
4886
4888
  return _context.abrupt("return");
4887
4889
  case 7:
@@ -4938,7 +4940,7 @@ var CheckoutForm = function CheckoutForm(_ref) {
4938
4940
  _context.next = 26;
4939
4941
  break;
4940
4942
  }
4941
- setStripeError(paymentMethodReq.error.message || null);
4943
+ setStripeError(paymentMethodReq.error || null);
4942
4944
  handleSetLoading(false);
4943
4945
  return _context.abrupt("return");
4944
4946
  case 26: