You are here

function commerce_stripe_test_commerce_stripe_metadata in Commerce Stripe 7

Same name and namespace in other branches
  1. 7.3 tests/commerce_stripe_test.module \commerce_stripe_test_commerce_stripe_metadata()

Implements hook_commerce_stripe_metadata().

File

tests/commerce_stripe_test.module, line 10
This file contains the testing code for this module

Code

function commerce_stripe_test_commerce_stripe_metadata($order) {
  return array(
    'order_number' => $order->order_number,
    'whatever' => 'test',
  );
}