What data is passed along to Token of Trust by default with WooCommerce?

As of the time of this writing - this is what is passed to Token of Trust by default:


$order_verification_data = [

'appTransactionId' => $tot_transaction_id,

'person' => [

'givenName' => $order->get_shipping_first_name(),

'familyName' => $order->get_shipping_last_name(),

'email' => $order->get_billing_email(),

'location' => [

'countryCode' => $order->get_shipping_country(),

"line1" => $order->get_shipping_address_1(),

'line2' => $order->get_shipping_address_2(),

'locality' => $order->get_shipping_city(),

'regionCode' => $order->get_shipping_state(),

'postalCode' => $order->get_shipping_postcode()

]

]

];


These settings can be overridden by overriding the tot_override_order_verification_data hook which is described below.

How do I find the appTransactionId?

(tot_transaction_id)

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us