#rohan09
1 messages · Page 1 of 1 (latest)
Hello! Give me a few minutes to find it
Sure thanks
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@warm shoal
-
But then why
defaultBillingDetailsis present in the configuration, there has to be some use of it below20.23.0and 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)