Transmitting shipping details
The merchant can transmit the buyer's shipping details (e-mail address, civil status, phone number, etc.). To trigger one or several actions depending on the buyer's country, the field vads_ship_to_country must be transmitted via your payment form.
These data will be visible in the Back Office by consulting the transaction details (Shipping tab).
- Use the fields required for your use case (see chapter Generating a payment form of the Payment Form Implementation Guide available here ) to create your payment form.
- Use the optional fields presented below according to your requirements.These fields will be sent back with the response and will include the value transmitted in the form.
Table 1. Field list - Shipping details Field name Description vads_ship_to_status Status (PRIVATE: for private clients / COMPANY for companies). vads_ship_to_name Deprecated Buyer's last name. Use vads_ship_to_first_name and vads_ship_to_last_name. vads_ship_to_first_name First name. vads_ship_to_last_name Last name. vads_ship_to_legal_name Legal name vads_ship_to_phone_num Phone number. vads_ship_to_street_number Street number. vads_ship_to_street Postal address. vads_ship_to_street2 Second line of the address. vads_ship_to_district District. vads_ship_to_zip Zip code. vads_ship_to_city City. vads_ship_to_state State / Region. vads_ship_to_country Country code in compliance with the ISO 3166 standard (required to trigger one or several actions if the profile Shipping country control is enabled).
- Compute the value of the signature field using all the fields of your form starting with vads_ (see chapter Computing the signature of the Payment Form Implementation Guide available here )).