paypal / android-checkout-sdk

Apache License 2.0
77 stars 38 forks source link

OnShippingChange not returning the FirstName and LastName #201

Open psandeepkumar-concentrix opened 1 year ago

psandeepkumar-concentrix commented 1 year ago

Describe the Bug/Feature onShippingChange callback from shippingChangeData?.shippingAddress not returning the firstName and lastName. Fields that are present in the Add New Shipping Address.

Describe alternatives you've considered I was not able to find an explicit way to retrieve the firstName, lastName from Address<- OnShippingChange { // call back} , is it available?If not, is it possible to include it?

mahmoud-turki commented 1 year ago

Hi @psandeepkumar-concentrix thank you for reaching out! We are looking into adding fullName:String? to shippingChangeData?.shippingAddress?.fullName in the upcoming release. I will keep you posted as soon as it's available 👍

mahmoud-turki commented 1 year ago

Hi @psandeepkumar-concentrix we have a privacy concerns/complaint from exposing the fullName during the XO experience but you should be able to get all the info you need as part of getDetails request on an approved order.

Let me know if you have any additional concerns otherwise I will go ahead and close the ticket :)