Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
760
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.78 KB | None | 0 0
  1. ----- NEW POST REQUEST AT 2017-05-18 09:37:39
  2. [Debug] $data: array(23) {
  3. ["order_number"]=>
  4. string(5) "34382"
  5. ["amount"]=>
  6. string(4) "7935"
  7. ["checkout_cielo_order_number"]=>
  8. string(32) "c9580ec8ee81452cbc3f49020df1bf80"
  9. ["created_date"]=>
  10. string(19) "18/05/2017 06:37:32"
  11. ["customer_name"]=>
  12. string(11) "Maria Silva"
  13. ["customer_phone"]=>
  14. string(10) "1158445492"
  15. ["customer_email"]=>
  16. string(24) "gisellefast@yahoo.com.br"
  17. ["shipping_type"]=>
  18. string(1) "2"
  19. ["shipping_name"]=>
  20. string(74) "Prazo de entrega de até 21 dias úteis após a confirmação do pagamento"
  21. ["shipping_price"]=>
  22. string(4) "1035"
  23. ["shipping_address_zipcode"]=>
  24. string(8) "05760040"
  25. ["shipping_address_district"]=>
  26. string(17) "Jardim Faria Lima"
  27. ["shipping_address_city"]=>
  28. string(10) "São Paulo"
  29. ["shipping_address_state"]=>
  30. string(2) "SP"
  31. ["shipping_address_line1"]=>
  32. string(29) "Rua Doutor Carlos Motta Pinto"
  33. ["shipping_address_number"]=>
  34. string(2) "30"
  35. ["payment_method_type"]=>
  36. string(1) "1"
  37. ["payment_method_brand"]=>
  38. string(1) "1"
  39. ["payment_installments"]=>
  40. string(1) "1"
  41. ["payment_antifraudresult"]=>
  42. string(1) "1"
  43. ["payment_status"]=>
  44. string(1) "2"
  45. ["tid"]=>
  46. string(20) "10261937776FNRM438MB"
  47. ["test_transaction"]=>
  48. string(5) "False"
  49. }
  50.  
  51. [Debug] $order: object(WC_Order)#9913 (14) {
  52. ["order_type"]=>
  53. string(6) "simple"
  54. ["id"]=>
  55. int(34382)
  56. ["post"]=>
  57. object(WP_Post)#9914 (24) {
  58. ["ID"]=>
  59. int(34382)
  60. ["post_author"]=>
  61. string(1) "1"
  62. ["post_date"]=>
  63. string(19) "2017-05-18 06:35:37"
  64. ["post_date_gmt"]=>
  65. string(19) "2017-05-18 09:35:37"
  66. ["post_content"]=>
  67. string(0) ""
  68. ["post_title"]=>
  69. string(38) "Order – maio 18, 2017 @ 06:35 AM"
  70. ["post_excerpt"]=>
  71. string(0) ""
  72. ["post_status"]=>
  73. string(10) "wc-pending"
  74. ["comment_status"]=>
  75. string(4) "open"
  76. ["ping_status"]=>
  77. string(6) "closed"
  78. ["post_password"]=>
  79. string(19) "order_591d6ae9686cb"
  80. ["post_name"]=>
  81. string(34) "pedido-18-de-may-de-2017-as-093535"
  82. ["to_ping"]=>
  83. string(0) ""
  84. ["pinged"]=>
  85. string(0) ""
  86. ["post_modified"]=>
  87. string(19) "2017-05-18 06:35:37"
  88. ["post_modified_gmt"]=>
  89. string(19) "2017-05-18 09:35:37"
  90. ["post_content_filtered"]=>
  91. string(0) ""
  92. ["post_parent"]=>
  93. int(0)
  94. ["guid"]=>
  95. string(56) "http://www.amigodez.com.br/?post_type=shop_order&p=34382"
  96. ["menu_order"]=>
  97. int(0)
  98. ["post_type"]=>
  99. string(10) "shop_order"
  100. ["post_mime_type"]=>
  101. string(0) ""
  102. ["comment_count"]=>
  103. string(1) "0"
  104. ["filter"]=>
  105. string(3) "raw"
  106. }
  107. ["order_date"]=>
  108. string(19) "2017-05-18 06:35:37"
  109. ["modified_date"]=>
  110. string(19) "2017-05-18 06:35:37"
  111. ["customer_message"]=>
  112. string(0) ""
  113. ["customer_note"]=>
  114. string(0) ""
  115. ["post_status"]=>
  116. string(10) "wc-pending"
  117. ["prices_include_tax"]=>
  118. bool(false)
  119. ["tax_display_cart"]=>
  120. string(4) "excl"
  121. ["display_totals_ex_tax"]=>
  122. bool(true)
  123. ["display_cart_ex_tax"]=>
  124. bool(true)
  125. ["formatted_billing_address":protected]=>
  126. string(0) ""
  127. ["formatted_shipping_address":protected]=>
  128. string(0) ""
  129. }
  130.  
  131. [Debug] Is object => true, type => object | 7935 === 7935 => false | 34382 === 34382 => true
  132. [Info] Invalid status change.
  133. [Error] Cielo Request Failure.
  134. ----- END REQUEST
  135. ----- NEW POST REQUEST AT 2017-05-18 19:09:31
  136. [Debug] $data: array(23) {
  137. ["order_number"]=>
  138. string(5) "34382"
  139. ["amount"]=>
  140. string(4) "7935"
  141. ["checkout_cielo_order_number"]=>
  142. string(32) "c9580ec8ee81452cbc3f49020df1bf80"
  143. ["created_date"]=>
  144. string(19) "18/05/2017 06:37:32"
  145. ["customer_name"]=>
  146. string(11) "Maria Silva"
  147. ["customer_phone"]=>
  148. string(10) "1158445492"
  149. ["customer_email"]=>
  150. string(24) "gisellefast@yahoo.com.br"
  151. ["shipping_type"]=>
  152. string(1) "2"
  153. ["shipping_name"]=>
  154. string(74) "Prazo de entrega de até 21 dias úteis após a confirmação do pagamento"
  155. ["shipping_price"]=>
  156. string(4) "1035"
  157. ["shipping_address_zipcode"]=>
  158. string(8) "05760040"
  159. ["shipping_address_district"]=>
  160. string(17) "Jardim Faria Lima"
  161. ["shipping_address_city"]=>
  162. string(10) "São Paulo"
  163. ["shipping_address_state"]=>
  164. string(2) "SP"
  165. ["shipping_address_line1"]=>
  166. string(29) "Rua Doutor Carlos Motta Pinto"
  167. ["shipping_address_number"]=>
  168. string(2) "30"
  169. ["payment_method_type"]=>
  170. string(1) "1"
  171. ["payment_method_brand"]=>
  172. string(1) "1"
  173. ["payment_installments"]=>
  174. string(1) "1"
  175. ["payment_antifraudresult"]=>
  176. string(1) "1"
  177. ["payment_status"]=>
  178. string(1) "2"
  179. ["tid"]=>
  180. string(20) "10261937776FNRM438MB"
  181. ["test_transaction"]=>
  182. string(5) "False"
  183. }
  184.  
  185. [Debug] $order: object(WC_Order)#9913 (14) {
  186. ["order_type"]=>
  187. string(6) "simple"
  188. ["id"]=>
  189. int(34382)
  190. ["post"]=>
  191. object(WP_Post)#9914 (24) {
  192. ["ID"]=>
  193. int(34382)
  194. ["post_author"]=>
  195. string(1) "1"
  196. ["post_date"]=>
  197. string(19) "2017-05-18 06:35:37"
  198. ["post_date_gmt"]=>
  199. string(19) "2017-05-18 09:35:37"
  200. ["post_content"]=>
  201. string(0) ""
  202. ["post_title"]=>
  203. string(38) "Order – maio 18, 2017 @ 06:35 AM"
  204. ["post_excerpt"]=>
  205. string(0) ""
  206. ["post_status"]=>
  207. string(10) "wc-pending"
  208. ["comment_status"]=>
  209. string(4) "open"
  210. ["ping_status"]=>
  211. string(6) "closed"
  212. ["post_password"]=>
  213. string(19) "order_591d6ae9686cb"
  214. ["post_name"]=>
  215. string(34) "pedido-18-de-may-de-2017-as-093535"
  216. ["to_ping"]=>
  217. string(0) ""
  218. ["pinged"]=>
  219. string(0) ""
  220. ["post_modified"]=>
  221. string(19) "2017-05-18 06:35:37"
  222. ["post_modified_gmt"]=>
  223. string(19) "2017-05-18 09:35:37"
  224. ["post_content_filtered"]=>
  225. string(0) ""
  226. ["post_parent"]=>
  227. int(0)
  228. ["guid"]=>
  229. string(56) "http://www.amigodez.com.br/?post_type=shop_order&p=34382"
  230. ["menu_order"]=>
  231. int(0)
  232. ["post_type"]=>
  233. string(10) "shop_order"
  234. ["post_mime_type"]=>
  235. string(0) ""
  236. ["comment_count"]=>
  237. string(1) "0"
  238. ["filter"]=>
  239. string(3) "raw"
  240. }
  241. ["order_date"]=>
  242. string(19) "2017-05-18 06:35:37"
  243. ["modified_date"]=>
  244. string(19) "2017-05-18 06:35:37"
  245. ["customer_message"]=>
  246. string(0) ""
  247. ["customer_note"]=>
  248. string(0) ""
  249. ["post_status"]=>
  250. string(10) "wc-pending"
  251. ["prices_include_tax"]=>
  252. bool(false)
  253. ["tax_display_cart"]=>
  254. string(4) "excl"
  255. ["display_totals_ex_tax"]=>
  256. bool(true)
  257. ["display_cart_ex_tax"]=>
  258. bool(true)
  259. ["formatted_billing_address":protected]=>
  260. string(0) ""
  261. ["formatted_shipping_address":protected]=>
  262. string(0) ""
  263. }
  264.  
  265. [Debug] Is object => true, type => object | 7935 == 7935 => false | 34382 === 34382 => true
  266. [Info] Received status change for order 34382
  267. ----- END REQUEST
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement