SHARE
TWEET

Kalamazoo Michigan Payment Condition

MrJoshMiller Feb 8th, 2013 111 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. { "commerce_payment_commerce_payment_example" : {
  2.     "LABEL" : "Example payment",
  3.     "PLUGIN" : "reaction rule",
  4.     "REQUIRES" : [ "commerce_order", "commerce_payment" ],
  5.     "ON" : [ "commerce_payment_methods" ],
  6.     "IF" : [
  7.       { "commerce_order_compare_address" : {
  8.           "commerce_order" : [ "commerce_order" ],
  9.           "address_field" : "commerce_customer_billing|commerce_customer_address",
  10.           "address_component" : "administrative_area",
  11.           "value" : "MI"
  12.         }
  13.       },
  14.       { "commerce_order_compare_address" : {
  15.           "commerce_order" : [ "commerce_order" ],
  16.           "address_field" : "commerce_customer_billing|commerce_customer_address",
  17.           "address_component" : "locality",
  18.           "value" : "Kalamazoo"
  19.         }
  20.       }
  21.     ],
  22.     "DO" : [
  23.       { "commerce_payment_enable_commerce_payment_example" : {
  24.           "commerce_order" : [ "commerce-order" ],
  25.           "payment_method" : "commerce_payment_example"
  26.         }
  27.       }
  28.     ]
  29.   }
  30. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top