The event parameter contains the shippingContact attribute. Access this attribute using the event parameter, for example,
var myShippingContact = event.shippingContact;
The onshippingcontactselected function must respond by calling completeShippingContactSelection before the 30 second timeout, after which a message appears stating that the payment could not be completed.
Before the user authorizes the transaction, you receive redacted shipping contact information in a callback event. The redacted information includes only the necessary data for completing transaction tasks, such as calculating taxes or shipping costs.