File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
apps/frontend/src/components/billing Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -139,21 +139,24 @@ const StripeInputs: FC<{
139139 const [ ready , setReady ] = useState ( false ) ;
140140 return (
141141 < >
142+ { /*<div>*/ }
143+ { /* <h4 className="mb-[32px] text-[24px] font-[700]">*/ }
144+ { /* {checkout.type === 'loading'*/ }
145+ { /* ? ''*/ }
146+ { /* : t('billing_billing_address', 'Billing Address')}*/ }
147+ { /* </h4>*/ }
148+ { /* <BillingAddressElement />*/ }
149+ { /*</div>*/ }
142150 < div >
143151 < h4 className = "mb-[32px] text-[24px] font-[700]" >
144- { checkout . type === 'loading'
145- ? ''
146- : t ( 'billing_billing_address' , 'Billing Address' ) }
147- </ h4 >
148- < BillingAddressElement />
149- </ div >
150- < div >
151- < h4 className = "mt-[40px] mb-[32px] text-[24px] font-[700]" >
152152 { checkout . type === 'loading' ? '' : t ( 'billing_payment' , 'Payment' ) }
153153 </ h4 >
154154 < PaymentElement
155155 id = "payment-element"
156- options = { { layout : 'tabs' } }
156+ options = { {
157+ fields : { billingDetails : { address : 'if_required' } } ,
158+ layout : 'tabs' ,
159+ } }
157160 onReady = { ( ) => setReady ( true ) }
158161 />
159162 { ready && < PriceBreakdown /> }
You can’t perform that action at this time.
0 commit comments