tf-checkout-react 1.7.18 → 1.7.19
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/tf-checkout-react.cjs.development.js +5 -1
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +5 -1
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/billing-info-container/index.tsx +4 -0
package/package.json
CHANGED
|
@@ -906,6 +906,10 @@ const BillingInfoContainer = React.memo(
|
|
|
906
906
|
)
|
|
907
907
|
setCheckoutData(checkoutDataObj)
|
|
908
908
|
setSingleCheckoutAddOns(mergedAddOns)
|
|
909
|
+
const updatedAttributes = _get(checkoutResponse, 'data.attributes', {})
|
|
910
|
+
if (updatedAttributes.additional_payment_information) {
|
|
911
|
+
setCheckoutUpdateData(updatedAttributes)
|
|
912
|
+
}
|
|
909
913
|
}
|
|
910
914
|
} catch (error) {
|
|
911
915
|
const errorMessage = _get(
|