#Anton Dekhtyar-ACH
1 messages · Page 1 of 1 (latest)
hi tarzan
I don't have the answer on top of my head, let me look around for a sec
yeah readonly is not just for those fields I'm afraid
would you mind testing something for me?
could you try to pass the defaultValues and for the fields.billingDetails pass never
and let's see what happens after confirming the PI
sorry but I'm really juggling
like this?
you could directly say fields: { billingDetails: 'never'} but yeah it's the same as what you sent
fields are not rendered. "confirm" request submitting does not happen
in that case I think the best way is to use fields: { billingDetails: 'never'} and pass the billingDetails to the confirmPayment function instead of the defaultValues
but we have field address. if i add "never" to email, phone, name. and add billing details to confirmPayment. And client add adress in form. my billing_details and PaymentElemet billing details wil be merged?
Oh I see what you mean
I'm not sure to be honest
based on this Details collected by Elements will override values passed here.
so I think they merge
thanks