tf-checkout-react 1.7.32-beta.2 → 1.7.32-beta.3

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.32-beta.2",
2
+ "version": "1.7.32-beta.3",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -796,6 +796,13 @@ const BillingInfoContainer = React.memo(
796
796
  if (!_isEmpty(holderDataCapture)) {
797
797
  holder.ticket_data_capture = holderDataCapture
798
798
  }
799
+
800
+ // on-checkout only skips required fields scoped to other ticket types when the
801
+ // holder carries its ticket type; without it every ticket field is required.
802
+ const holderTicketTypeId = holderTicketTypeIds[+holderIndex]
803
+ if (holderTicketTypeId) {
804
+ holder.ticket_type_id = holderTicketTypeId
805
+ }
799
806
  })
800
807
 
801
808
  // Collect add_on_data_capture for Add-on Custom Fields