#rohan09

1 messages · Page 1 of 1 (latest)

inland haloBOT
warm shoal
#

Hello! Give me a few minutes to find it

trim cove
#

Sure thanks

warm shoal
#

Before 20.23.0 I don't think there's a way to force the android library to pull from the default billing details you pass in on configuration - the only thing I can think of would be to update the PaymentMethod server-side (https://stripe.com/docs/api/payment_methods/update) or just rely on the PaymentSheet to only collect the required billing details + populate the defaults depending on the payment method type

trim cove
#

@warm shoal

  • But then why defaultBillingDetails is present in the configuration, there has to be some use of it below 20.23.0 and there has to be some way of utilizing that field and sending in the payment intent

  • Initializing the payment method server side requires to add card details and this is a privacy concern
    Is there a way on server-side or client-side to add billing details to a payment intent or is there a way to add billing details to the payment method object before attempting payment if so how do we do this.

the steps we're using:
create payment intent - server
create payment sheet - client (using client secret)