#newtreyes
1 messages · Page 1 of 1 (latest)
Hey
@silent gyro Hello, Sir
Yep looks like the PaymentMethod type that you are dealing with is requiring phone and you aren't passing that per the error
This may be a problem on my side. It looks as if it's asking for the phone
which I am not providing
Yes!!!
Now, qq: previously we were using the Card Element
and the Card Element didn't require the phone
Do we need to request the phone now to use the Payment Element?
Hmmm that should not require phone....
Is this the standard flow or are you using deferred-intent?
Deferred Intent
This is the PoC we are working on. At this point, the user has entered all the required info and we are about to create the payment method and then process the payment.
That isn't Address Element is it?
It is not
Cool, one sec.
That's the Payment Element. The rest of the fields are ours.
Okay yeah to me this is a bug. You shouldn't need phone so we shouldn't error there. I'll file that. That said, try doing fields: { billingDetails: { email: 'never', address: { postalCode: 'never', country: 'never' } } },
👍