#frs
1 messages · Page 1 of 1 (latest)
setup_future_usage allows saving payment method during payment. And yes, it's similar to setup intent. You may refer to the doc here for more information: https://stripe.com/docs/payments/save-during-payment
Awesome thank
while you're here, how do i remove the country select option in elements?
Got this from the docs
Do you mean you would like to remove entire country field in Payment Element?
yes
The country field is for billing information. During Payment Element creation, you can either set billing information with:
fields.billingDetailstonever-> all billing details such as name, address and country won't be collected; ORfields.billingDetails.address.countrytonever-> only country won't be collected
Okay thank you
No problem! Happy to help 😄