stripe-android
stripe-android copied to clipboard
Capture the GooglePay billing details in the PaymentIntent
Summary
When a payment is made using google pay (in the awesome new payment sheet), the associated billing details from google are not being shown in the payment intent or captured charge on stripe.
Code being used
PaymentSheet.Configuration configuration = new PaymentSheet.Configuration(companyName);
configuration.setCustomer(new PaymentSheet.CustomerConfiguration(customer, ephemeralKey));
configuration.setGooglePay(new PaymentSheet.GooglePayConfiguration(PaymentSheet.GooglePayConfiguration.Environment.Test, "AU"));
paymentSheet.presentWithPaymentIntent(paymentIntent, configuration);
Any tips or suggestions would go a long way.
Hi @haid45, currently we don't request the billing details from Google Pay when using Payment Sheet. We'll discuss the changes needed to allow this use case and get back to you.