OnShippingAddressChange() function does not provide shipping addresses lines

wild-harts
New Community Member

Hi, 

I noticed that when using OnShippingAddressChange() function, the shipping address that can be accessed through the passed "data" variable to this function does not have the shipping lines (line1 & line2). 

However, I need these lines to be able to calculate the tax. Tax can not be only calculated based on city, state, zip code. Since Tax depends on the county the customer is from, then it is impossible to calculate tax accurately without knowing the address lines. Is there any other way to get the address lines?

Thanks

Login to Me Too
1 REPLY 1

Kavyar
Moderator
Moderator

Good day @wild-harts 

 

Thank you for posting to the PayPal community.

 

I kindly suggest that you create an MTS ticket via the following URL -  https://www.paypal-support.com/s/?language=en_US . It is important to provide detailed information and error details when submitting the ticket.

 

Sincerely,

Kavya

PayPal MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.