function commerce_stripe_commerce_stripe_metadata in Commerce Stripe 7
Same name and namespace in other branches
- 7.3 commerce_stripe.module \commerce_stripe_commerce_stripe_metadata()
Implement hook_commerce_stripe_metadata and add our defaults.
File
- ./
commerce_stripe.module, line 1205 - This module provides Stripe (http://stripe.com/) payment gateway integration to Commerce. Commerce Stripe offers a PCI-compliant way to process payments straight from you Commerce shop.
Code
function commerce_stripe_commerce_stripe_metadata($order) {
return array(
'order_id' => $order->order_id,
'order_number' => $order->order_number,
'uid' => $order->uid,
);
}