stripe-android icon indicating copy to clipboard operation
stripe-android copied to clipboard

Capture the GooglePay billing details in the PaymentIntent

Open haid45 opened this issue 2 years ago • 1 comments

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.

haid45 avatar Oct 01 '21 12:10 haid45

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.

brnunes-stripe avatar Oct 05 '21 20:10 brnunes-stripe