1👍
In stripe, you can get rid of frequently asked billing address
, by
- use
customer
field while creating sessions. This custom field expects a stripecustomer_id
likecus_xxxxxxxxxxxxx
which is created as per this doc creation of customer object. - You should add the address against the customer object created.
- Once this
customer_id
is used in the session object, you won’t find the form asking for the billing address. - If you follow the above steps, make sure you don’t use both
customer
andcustomer_email
while creating a session. Either of them should be passed. But passingcustomer_email
will again provoke you to fill the address, so go withcustomer
Source:stackexchange.com