Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.30 KB | None | 0 0
  1. protected $validFields = array(
  2. //order
  3. "MERCHANT" => array("type" => "single", "paramName" => "merchantId", "required" => true),
  4. "ORDER_REF" => array("type" => "single", "required" => true),
  5. "ORDER_DATE" => array("type" => "single", "required" => true),
  6. "ORDER_PNAME" => array("type" => "product", "paramName" => "name"),
  7. "ORDER_PCODE" => array("type" => "product", "paramName" => "code"),
  8. "ORDER_PINFO" => array("type" => "product", "paramName" => "info"),
  9. "ORDER_PRICE" => array("type" => "product", "paramName" => "price", "required" => true),
  10. "ORDER_QTY" => array("type" => "product", "paramName" => "qty", "required" => true),
  11. "ORDER_VAT" => array("type" => "product", "default" => "0", "paramName" => "vat", "required" => true),
  12. "PRICES_CURRENCY" => array("type" => "single", "default" => "HUF", "required" => true),
  13. "ORDER_SHIPPING" => array("type" => "single", "default" => "0"),
  14. "DISCOUNT" => array("type" => "single", "default" => "0"),
  15. "PAY_METHOD" => array("type" => "single", "default" => "CCVISAMC", "required" => true),
  16. "LANGUAGE" => array("type" => "single", "default" => "HU"),
  17. "ORDER_TIMEOUT" => array("type" => "single", "default" => "300"),
  18. "TIMEOUT_URL" => array("type" => "single", "required" => true),
  19. "BACK_REF" => array("type" => "single", "required" => true),
  20. "LU_ENABLE_TOKEN" => array("type" => "single", "required" => false),
  21. "LU_TOKEN_TYPE" => array("type" => "single", "required" => false),
  22.  
  23. //billing
  24. "BILL_FNAME" => array("type" => "single", "required" => true),
  25. "BILL_LNAME" => array("type" => "single", "required" => true),
  26. "BILL_COMPANY" => array("type" => "single"),
  27. "BILL_FISCALCODE" => array("type" => "single"),
  28. "BILL_EMAIL" => array("type" => "single", "required" => true),
  29. "BILL_PHONE" => array("type" => "single", "required" => true),
  30. "BILL_FAX" => array("type" => "single"),
  31. "BILL_ADDRESS" => array("type" => "single", "required" => true),
  32. "BILL_ADDRESS2" => array("type" => "single"),
  33. "BILL_ZIPCODE" => array("type" => "single", "required" => true),
  34. "BILL_CITY" => array("type" => "single", "required" => true),
  35. "BILL_STATE" => array("type" => "single", "required" => true),
  36. "BILL_COUNTRYCODE" => array("type" => "single", "required" => true),
  37.  
  38. //delivery
  39. "DELIVERY_FNAME" => array("type" => "single", "required" => true),
  40. "DELIVERY_LNAME" => array("type" => "single", "required" => true),
  41. "DELIVERY_COMPANY" => array("type" => "single"),
  42. "DELIVERY_EMAIL" => array("type" => "single"),
  43. "DELIVERY_PHONE" => array("type" => "single", "required" => true),
  44. "DELIVERY_ADDRESS" => array("type" => "single", "required" => true),
  45. "DELIVERY_ADDRESS2" => array("type" => "single"),
  46. "DELIVERY_ZIPCODE" => array("type" => "single", "required" => true),
  47. "DELIVERY_CITY" => array("type" => "single", "required" => true),
  48. "DELIVERY_STATE" => array("type" => "single", "required" => true),
  49. "DELIVERY_COUNTRYCODE" => array("type" => "single", "required" => true),
  50. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement