Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----- NEW POST REQUEST AT 2017-05-18 09:37:39
- [Debug] $data: array(23) {
- ["order_number"]=>
- string(5) "34382"
- ["amount"]=>
- string(4) "7935"
- ["checkout_cielo_order_number"]=>
- string(32) "c9580ec8ee81452cbc3f49020df1bf80"
- ["created_date"]=>
- string(19) "18/05/2017 06:37:32"
- ["customer_name"]=>
- string(11) "Maria Silva"
- ["customer_phone"]=>
- string(10) "1158445492"
- ["customer_email"]=>
- string(24) "gisellefast@yahoo.com.br"
- ["shipping_type"]=>
- string(1) "2"
- ["shipping_name"]=>
- string(74) "Prazo de entrega de até 21 dias úteis após a confirmação do pagamento"
- ["shipping_price"]=>
- string(4) "1035"
- ["shipping_address_zipcode"]=>
- string(8) "05760040"
- ["shipping_address_district"]=>
- string(17) "Jardim Faria Lima"
- ["shipping_address_city"]=>
- string(10) "São Paulo"
- ["shipping_address_state"]=>
- string(2) "SP"
- ["shipping_address_line1"]=>
- string(29) "Rua Doutor Carlos Motta Pinto"
- ["shipping_address_number"]=>
- string(2) "30"
- ["payment_method_type"]=>
- string(1) "1"
- ["payment_method_brand"]=>
- string(1) "1"
- ["payment_installments"]=>
- string(1) "1"
- ["payment_antifraudresult"]=>
- string(1) "1"
- ["payment_status"]=>
- string(1) "2"
- ["tid"]=>
- string(20) "10261937776FNRM438MB"
- ["test_transaction"]=>
- string(5) "False"
- }
- [Debug] $order: object(WC_Order)#9913 (14) {
- ["order_type"]=>
- string(6) "simple"
- ["id"]=>
- int(34382)
- ["post"]=>
- object(WP_Post)#9914 (24) {
- ["ID"]=>
- int(34382)
- ["post_author"]=>
- string(1) "1"
- ["post_date"]=>
- string(19) "2017-05-18 06:35:37"
- ["post_date_gmt"]=>
- string(19) "2017-05-18 09:35:37"
- ["post_content"]=>
- string(0) ""
- ["post_title"]=>
- string(38) "Order – maio 18, 2017 @ 06:35 AM"
- ["post_excerpt"]=>
- string(0) ""
- ["post_status"]=>
- string(10) "wc-pending"
- ["comment_status"]=>
- string(4) "open"
- ["ping_status"]=>
- string(6) "closed"
- ["post_password"]=>
- string(19) "order_591d6ae9686cb"
- ["post_name"]=>
- string(34) "pedido-18-de-may-de-2017-as-093535"
- ["to_ping"]=>
- string(0) ""
- ["pinged"]=>
- string(0) ""
- ["post_modified"]=>
- string(19) "2017-05-18 06:35:37"
- ["post_modified_gmt"]=>
- string(19) "2017-05-18 09:35:37"
- ["post_content_filtered"]=>
- string(0) ""
- ["post_parent"]=>
- int(0)
- ["guid"]=>
- string(56) "http://www.amigodez.com.br/?post_type=shop_order&p=34382"
- ["menu_order"]=>
- int(0)
- ["post_type"]=>
- string(10) "shop_order"
- ["post_mime_type"]=>
- string(0) ""
- ["comment_count"]=>
- string(1) "0"
- ["filter"]=>
- string(3) "raw"
- }
- ["order_date"]=>
- string(19) "2017-05-18 06:35:37"
- ["modified_date"]=>
- string(19) "2017-05-18 06:35:37"
- ["customer_message"]=>
- string(0) ""
- ["customer_note"]=>
- string(0) ""
- ["post_status"]=>
- string(10) "wc-pending"
- ["prices_include_tax"]=>
- bool(false)
- ["tax_display_cart"]=>
- string(4) "excl"
- ["display_totals_ex_tax"]=>
- bool(true)
- ["display_cart_ex_tax"]=>
- bool(true)
- ["formatted_billing_address":protected]=>
- string(0) ""
- ["formatted_shipping_address":protected]=>
- string(0) ""
- }
- [Debug] Is object => true, type => object | 7935 === 7935 => false | 34382 === 34382 => true
- [Info] Invalid status change.
- [Error] Cielo Request Failure.
- ----- END REQUEST
- ----- NEW POST REQUEST AT 2017-05-18 19:09:31
- [Debug] $data: array(23) {
- ["order_number"]=>
- string(5) "34382"
- ["amount"]=>
- string(4) "7935"
- ["checkout_cielo_order_number"]=>
- string(32) "c9580ec8ee81452cbc3f49020df1bf80"
- ["created_date"]=>
- string(19) "18/05/2017 06:37:32"
- ["customer_name"]=>
- string(11) "Maria Silva"
- ["customer_phone"]=>
- string(10) "1158445492"
- ["customer_email"]=>
- string(24) "gisellefast@yahoo.com.br"
- ["shipping_type"]=>
- string(1) "2"
- ["shipping_name"]=>
- string(74) "Prazo de entrega de até 21 dias úteis após a confirmação do pagamento"
- ["shipping_price"]=>
- string(4) "1035"
- ["shipping_address_zipcode"]=>
- string(8) "05760040"
- ["shipping_address_district"]=>
- string(17) "Jardim Faria Lima"
- ["shipping_address_city"]=>
- string(10) "São Paulo"
- ["shipping_address_state"]=>
- string(2) "SP"
- ["shipping_address_line1"]=>
- string(29) "Rua Doutor Carlos Motta Pinto"
- ["shipping_address_number"]=>
- string(2) "30"
- ["payment_method_type"]=>
- string(1) "1"
- ["payment_method_brand"]=>
- string(1) "1"
- ["payment_installments"]=>
- string(1) "1"
- ["payment_antifraudresult"]=>
- string(1) "1"
- ["payment_status"]=>
- string(1) "2"
- ["tid"]=>
- string(20) "10261937776FNRM438MB"
- ["test_transaction"]=>
- string(5) "False"
- }
- [Debug] $order: object(WC_Order)#9913 (14) {
- ["order_type"]=>
- string(6) "simple"
- ["id"]=>
- int(34382)
- ["post"]=>
- object(WP_Post)#9914 (24) {
- ["ID"]=>
- int(34382)
- ["post_author"]=>
- string(1) "1"
- ["post_date"]=>
- string(19) "2017-05-18 06:35:37"
- ["post_date_gmt"]=>
- string(19) "2017-05-18 09:35:37"
- ["post_content"]=>
- string(0) ""
- ["post_title"]=>
- string(38) "Order – maio 18, 2017 @ 06:35 AM"
- ["post_excerpt"]=>
- string(0) ""
- ["post_status"]=>
- string(10) "wc-pending"
- ["comment_status"]=>
- string(4) "open"
- ["ping_status"]=>
- string(6) "closed"
- ["post_password"]=>
- string(19) "order_591d6ae9686cb"
- ["post_name"]=>
- string(34) "pedido-18-de-may-de-2017-as-093535"
- ["to_ping"]=>
- string(0) ""
- ["pinged"]=>
- string(0) ""
- ["post_modified"]=>
- string(19) "2017-05-18 06:35:37"
- ["post_modified_gmt"]=>
- string(19) "2017-05-18 09:35:37"
- ["post_content_filtered"]=>
- string(0) ""
- ["post_parent"]=>
- int(0)
- ["guid"]=>
- string(56) "http://www.amigodez.com.br/?post_type=shop_order&p=34382"
- ["menu_order"]=>
- int(0)
- ["post_type"]=>
- string(10) "shop_order"
- ["post_mime_type"]=>
- string(0) ""
- ["comment_count"]=>
- string(1) "0"
- ["filter"]=>
- string(3) "raw"
- }
- ["order_date"]=>
- string(19) "2017-05-18 06:35:37"
- ["modified_date"]=>
- string(19) "2017-05-18 06:35:37"
- ["customer_message"]=>
- string(0) ""
- ["customer_note"]=>
- string(0) ""
- ["post_status"]=>
- string(10) "wc-pending"
- ["prices_include_tax"]=>
- bool(false)
- ["tax_display_cart"]=>
- string(4) "excl"
- ["display_totals_ex_tax"]=>
- bool(true)
- ["display_cart_ex_tax"]=>
- bool(true)
- ["formatted_billing_address":protected]=>
- string(0) ""
- ["formatted_shipping_address":protected]=>
- string(0) ""
- }
- [Debug] Is object => true, type => object | 7935 == 7935 => false | 34382 === 34382 => true
- [Info] Received status change for order 34382
- ----- END REQUEST
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement