Advertisement
thekrotek

Untitled

Aug 4th, 2018
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 6.04 KB | None | 0 0
  1. array(8) {
  2.   ["order_id"]=>
  3.   string(17) "6WN65891U3657404G"
  4.   ["status"]=>
  5.   string(9) "COMPLETED"
  6.   ["intent"]=>
  7.   string(4) "SALE"
  8.   ["payer_info"]=>
  9.   array(8) {
  10.     ["email"]=>
  11.     string(20) "tester@thekrotek.com"
  12.     ["first_name"]=>
  13.     string(4) "Test"
  14.     ["last_name"]=>
  15.     string(4) "Dude"
  16.     ["payer_id"]=>
  17.     string(13) "ZX9UV4FWPAJYL"
  18.     ["phone"]=>
  19.     string(10) "4087221776"
  20.     ["country_code"]=>
  21.     string(2) "US"
  22.     ["shipping_address"]=>
  23.     array(6) {
  24.       ["recipient_name"]=>
  25.       string(8) "TestTest"
  26.       ["line1"]=>
  27.       string(12) "Some str., 1"
  28.       ["city"]=>
  29.       string(9) "Some City"
  30.       ["country_code"]=>
  31.       string(2) "GB"
  32.       ["postal_code"]=>
  33.       string(6) "123456"
  34.       ["state"]=>
  35.       string(3) "ABN"
  36.     }
  37.     ["business_name"]=>
  38.     string(12) "Test Company"
  39.   }
  40.   ["gross_total_amount"]=>
  41.   array(2) {
  42.     ["value"]=>
  43.     string(6) "205.00"
  44.     ["currency"]=>
  45.     string(3) "USD"
  46.   }
  47.   ["purchase_units"]=>
  48.   array(1) {
  49.     [0]=>
  50.     array(10) {
  51.       ["reference_id"]=>
  52.       string(18) "seller_8_order_231"
  53.       ["description"]=>
  54.       string(15) "Beta Seller 231"
  55.       ["amount"]=>
  56.       array(3) {
  57.         ["currency"]=>
  58.         string(3) "USD"
  59.         ["details"]=>
  60.         array(6) {
  61.           ["subtotal"]=>
  62.           string(6) "200.00"
  63.           ["shipping"]=>
  64.           string(4) "5.00"
  65.           ["tax"]=>
  66.           string(4) "0.00"
  67.           ["handling_fee"]=>
  68.           string(4) "0.00"
  69.           ["shipping_discount"]=>
  70.           string(4) "0.00"
  71.           ["insurance"]=>
  72.           string(4) "0.00"
  73.         }
  74.         ["total"]=>
  75.         string(6) "205.00"
  76.       }
  77.       ["payee"]=>
  78.       array(2) {
  79.         ["email"]=>
  80.         string(15) "beta@seller.com"
  81.         ["merchant_id"]=>
  82.         string(13) "84RS6226DYWHG"
  83.       }
  84.       ["items"]=>
  85.       array(1) {
  86.         [0]=>
  87.         array(9) {
  88.           ["name"]=>
  89.           string(4) "iMac"
  90.           ["description"]=>
  91.           string(127) "Just when you thought iMac had everything, now thereĀ“s even more. More powerful Intel Core 2 Duo processors. And more memory.."
  92.           ["price"]=>
  93.           string(6) "200.00"
  94.           ["currency"]=>
  95.           string(3) "USD"
  96.           ["tax"]=>
  97.           string(4) "0.00"
  98.           ["quantity"]=>
  99.           int(1)
  100.           ["supplementary_data"]=>
  101.           array(0) {
  102.           }
  103.           ["postback_data"]=>
  104.           array(0) {
  105.           }
  106.           ["item_option_selections"]=>
  107.           array(0) {
  108.           }
  109.         }
  110.       }
  111.       ["shipping_address"]=>
  112.       array(6) {
  113.         ["recipient_name"]=>
  114.         string(8) "TestTest"
  115.         ["line1"]=>
  116.         string(12) "Some str., 1"
  117.         ["city"]=>
  118.         string(9) "Some City"
  119.         ["country_code"]=>
  120.         string(2) "GB"
  121.         ["postal_code"]=>
  122.         string(6) "123456"
  123.         ["state"]=>
  124.         string(3) "ABN"
  125.       }
  126.       ["partner_fee_details"]=>
  127.       array(2) {
  128.         ["receiver"]=>
  129.         array(2) {
  130.           ["email"]=>
  131.           string(20) "partner@business.com"
  132.           ["merchant_id"]=>
  133.           string(13) "BC5XTPF7JLP5Y"
  134.         }
  135.         ["amount"]=>
  136.         array(2) {
  137.           ["value"]=>
  138.           string(5) "10.00"
  139.           ["currency"]=>
  140.           string(3) "USD"
  141.         }
  142.       }
  143.       ["payment_summary"]=>
  144.       array(1) {
  145.         ["sales"]=>
  146.         array(1) {
  147.           [0]=>
  148.           array(7) {
  149.             ["id"]=>
  150.             string(17) "4XU62478CF720183V"
  151.             ["amount"]=>
  152.             array(3) {
  153.               ["currency"]=>
  154.               string(3) "USD"
  155.               ["details"]=>
  156.               array(6) {
  157.                 ["subtotal"]=>
  158.                 string(6) "200.00"
  159.                 ["shipping"]=>
  160.                 string(4) "5.00"
  161.                 ["tax"]=>
  162.                 string(4) "0.00"
  163.                 ["handling_fee"]=>
  164.                 string(4) "0.00"
  165.                 ["shipping_discount"]=>
  166.                 string(4) "0.00"
  167.                 ["insurance"]=>
  168.                 string(4) "0.00"
  169.               }
  170.               ["total"]=>
  171.               string(6) "205.00"
  172.             }
  173.             ["transaction_fee"]=>
  174.             array(2) {
  175.               ["value"]=>
  176.               string(4) "6.25"
  177.               ["currency"]=>
  178.               string(3) "USD"
  179.             }
  180.             ["status"]=>
  181.             string(9) "COMPLETED"
  182.             ["create_time"]=>
  183.             string(20) "2018-08-04T09:16:51Z"
  184.             ["update_time"]=>
  185.             string(20) "2018-08-04T09:16:51Z"
  186.             ["links"]=>
  187.             array(3) {
  188.               [0]=>
  189.               array(3) {
  190.                 ["href"]=>
  191.                 string(65) "https://api.sandbox.paypal.com/v1/payments/sale/4XU62478CF720183V"
  192.                 ["rel"]=>
  193.                 string(4) "self"
  194.                 ["method"]=>
  195.                 string(3) "GET"
  196.               }
  197.               [1]=>
  198.               array(3) {
  199.                 ["href"]=>
  200.                 string(72) "https://api.sandbox.paypal.com/v1/payments/sale/4XU62478CF720183V/refund"
  201.                 ["rel"]=>
  202.                 string(6) "refund"
  203.                 ["method"]=>
  204.                 string(4) "POST"
  205.               }
  206.               [2]=>
  207.               array(3) {
  208.                 ["href"]=>
  209.                 string(81) "https://api.sandbox.paypal.com/v1/payments/payment/PAYID-LNSW6AQ43C44474E8388280V"
  210.                 ["rel"]=>
  211.                 string(14) "parent_payment"
  212.                 ["method"]=>
  213.                 string(3) "GET"
  214.               }
  215.             }
  216.           }
  217.         }
  218.       }
  219.       ["invoice_number"]=>
  220.       string(13) "SELLERINV-231"
  221.       ["status"]=>
  222.       string(8) "CAPTURED"
  223.     }
  224.   }
  225.   ["create_time"]=>
  226.   string(20) "2018-08-04T09:16:53Z"
  227.   ["links"]=>
  228.   array(1) {
  229.     [0]=>
  230.     array(3) {
  231.       ["href"]=>
  232.       string(67) "https://api.sandbox.paypal.com/v1/checkout/orders/6WN65891U3657404G"
  233.       ["rel"]=>
  234.       string(4) "self"
  235.       ["method"]=>
  236.       string(3) "GET"
  237.     }
  238.   }
  239. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement