summit-registration-lite 6.0.0 → 6.0.1
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/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2652,6 +2652,7 @@ const StripeForm = ({
|
|
|
2652
2652
|
|
|
2653
2653
|
|
|
2654
2654
|
|
|
2655
|
+
|
|
2655
2656
|
const stripe_component_StripeProvider = ({
|
|
2656
2657
|
userProfile,
|
|
2657
2658
|
reservation,
|
|
@@ -2740,7 +2741,7 @@ const stripe_component_StripeProvider = ({
|
|
|
2740
2741
|
amount: reservation?.amount_in_cents,
|
|
2741
2742
|
appearance: stripeStyle
|
|
2742
2743
|
};
|
|
2743
|
-
return reservation ? /*#__PURE__*/external_react_default().createElement(react_stripe_js_namespaceObject.Elements, {
|
|
2744
|
+
return reservation && !(0,utils/* isFreeOrder */.yk)(reservation) && !(0,utils/* isPrePaidOrder */.xm)(reservation) ? /*#__PURE__*/external_react_default().createElement(react_stripe_js_namespaceObject.Elements, {
|
|
2744
2745
|
stripe: stripePromise,
|
|
2745
2746
|
options: options
|
|
2746
2747
|
}, /*#__PURE__*/external_react_default().createElement(stripe_form, {
|