Pass required_shipping_contact_fields
field in apple pay session call based on business_profile
config
#4615
Labels
A-payment-methods
Area: Payment Methods
This change is required as part of the one click checkout where in which we expect apple pay to collect the shipping details from the customer and pass it in the confirm call with the payment_data.
In order for apple pay to collect the shipping details from customer we need to pass
"requiredShippingContactFields": ["postalAddress", "phone", "email"]
in the/session
call. Hence we need to have a validation in the backend that checks for the business profile config (collect_shipping_details_from_wallet_connector
) fields and pass therequired_shipping_contact_fields
to sdk.Similarly for google pay we need to pass the below mentioned fields for the shipping details.
The text was updated successfully, but these errors were encountered: