function hook_commerce_stripe_pi_metadata in Commerce Stripe Payment Intent 7
Add information to the metadata sent to Stripe.
1 function implements hook_commerce_stripe_pi_metadata()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
1 invocation of hook_commerce_stripe_pi_metadata()
- commerce_stripe_pi_add_metadata in ./
commerce_stripe_pi.module - Adds a metadata key to an existing information array.
File
- ./
commerce_stripe_pi.api.php, line 11 - This code is never called, it's just information about to use the hooks.
Code
function hook_commerce_stripe_pi_metadata($order) {
return array(
'order_number' => $order->order_number,
);
}