allowsPaymentMethodsRequiringShippingAddress
fun allowsPaymentMethodsRequiringShippingAddress(allowsPaymentMethodsRequiringShippingAddress: Boolean): <Error class: unknown class>
If true
, allows payment methods that require a shipping address, like Afterpay and Affirm. Defaults to false
.
Note: The payment element considers this property true
if shipping
details are present on the PaymentIntent/SetupIntent when loaded.