Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- array(8) {
- ["order_id"]=>
- string(17) "6WN65891U3657404G"
- ["status"]=>
- string(9) "COMPLETED"
- ["intent"]=>
- string(4) "SALE"
- ["payer_info"]=>
- array(8) {
- ["email"]=>
- string(20) "tester@thekrotek.com"
- ["first_name"]=>
- string(4) "Test"
- ["last_name"]=>
- string(4) "Dude"
- ["payer_id"]=>
- string(13) "ZX9UV4FWPAJYL"
- ["phone"]=>
- string(10) "4087221776"
- ["country_code"]=>
- string(2) "US"
- ["shipping_address"]=>
- array(6) {
- ["recipient_name"]=>
- string(8) "TestTest"
- ["line1"]=>
- string(12) "Some str., 1"
- ["city"]=>
- string(9) "Some City"
- ["country_code"]=>
- string(2) "GB"
- ["postal_code"]=>
- string(6) "123456"
- ["state"]=>
- string(3) "ABN"
- }
- ["business_name"]=>
- string(12) "Test Company"
- }
- ["gross_total_amount"]=>
- array(2) {
- ["value"]=>
- string(6) "205.00"
- ["currency"]=>
- string(3) "USD"
- }
- ["purchase_units"]=>
- array(1) {
- [0]=>
- array(10) {
- ["reference_id"]=>
- string(18) "seller_8_order_231"
- ["description"]=>
- string(15) "Beta Seller 231"
- ["amount"]=>
- array(3) {
- ["currency"]=>
- string(3) "USD"
- ["details"]=>
- array(6) {
- ["subtotal"]=>
- string(6) "200.00"
- ["shipping"]=>
- string(4) "5.00"
- ["tax"]=>
- string(4) "0.00"
- ["handling_fee"]=>
- string(4) "0.00"
- ["shipping_discount"]=>
- string(4) "0.00"
- ["insurance"]=>
- string(4) "0.00"
- }
- ["total"]=>
- string(6) "205.00"
- }
- ["payee"]=>
- array(2) {
- ["email"]=>
- string(15) "beta@seller.com"
- ["merchant_id"]=>
- string(13) "84RS6226DYWHG"
- }
- ["items"]=>
- array(1) {
- [0]=>
- array(9) {
- ["name"]=>
- string(4) "iMac"
- ["description"]=>
- string(127) "Just when you thought iMac had everything, now thereĀ“s even more. More powerful Intel Core 2 Duo processors. And more memory.."
- ["price"]=>
- string(6) "200.00"
- ["currency"]=>
- string(3) "USD"
- ["tax"]=>
- string(4) "0.00"
- ["quantity"]=>
- int(1)
- ["supplementary_data"]=>
- array(0) {
- }
- ["postback_data"]=>
- array(0) {
- }
- ["item_option_selections"]=>
- array(0) {
- }
- }
- }
- ["shipping_address"]=>
- array(6) {
- ["recipient_name"]=>
- string(8) "TestTest"
- ["line1"]=>
- string(12) "Some str., 1"
- ["city"]=>
- string(9) "Some City"
- ["country_code"]=>
- string(2) "GB"
- ["postal_code"]=>
- string(6) "123456"
- ["state"]=>
- string(3) "ABN"
- }
- ["partner_fee_details"]=>
- array(2) {
- ["receiver"]=>
- array(2) {
- ["email"]=>
- string(20) "partner@business.com"
- ["merchant_id"]=>
- string(13) "BC5XTPF7JLP5Y"
- }
- ["amount"]=>
- array(2) {
- ["value"]=>
- string(5) "10.00"
- ["currency"]=>
- string(3) "USD"
- }
- }
- ["payment_summary"]=>
- array(1) {
- ["sales"]=>
- array(1) {
- [0]=>
- array(7) {
- ["id"]=>
- string(17) "4XU62478CF720183V"
- ["amount"]=>
- array(3) {
- ["currency"]=>
- string(3) "USD"
- ["details"]=>
- array(6) {
- ["subtotal"]=>
- string(6) "200.00"
- ["shipping"]=>
- string(4) "5.00"
- ["tax"]=>
- string(4) "0.00"
- ["handling_fee"]=>
- string(4) "0.00"
- ["shipping_discount"]=>
- string(4) "0.00"
- ["insurance"]=>
- string(4) "0.00"
- }
- ["total"]=>
- string(6) "205.00"
- }
- ["transaction_fee"]=>
- array(2) {
- ["value"]=>
- string(4) "6.25"
- ["currency"]=>
- string(3) "USD"
- }
- ["status"]=>
- string(9) "COMPLETED"
- ["create_time"]=>
- string(20) "2018-08-04T09:16:51Z"
- ["update_time"]=>
- string(20) "2018-08-04T09:16:51Z"
- ["links"]=>
- array(3) {
- [0]=>
- array(3) {
- ["href"]=>
- string(65) "https://api.sandbox.paypal.com/v1/payments/sale/4XU62478CF720183V"
- ["rel"]=>
- string(4) "self"
- ["method"]=>
- string(3) "GET"
- }
- [1]=>
- array(3) {
- ["href"]=>
- string(72) "https://api.sandbox.paypal.com/v1/payments/sale/4XU62478CF720183V/refund"
- ["rel"]=>
- string(6) "refund"
- ["method"]=>
- string(4) "POST"
- }
- [2]=>
- array(3) {
- ["href"]=>
- string(81) "https://api.sandbox.paypal.com/v1/payments/payment/PAYID-LNSW6AQ43C44474E8388280V"
- ["rel"]=>
- string(14) "parent_payment"
- ["method"]=>
- string(3) "GET"
- }
- }
- }
- }
- }
- ["invoice_number"]=>
- string(13) "SELLERINV-231"
- ["status"]=>
- string(8) "CAPTURED"
- }
- }
- ["create_time"]=>
- string(20) "2018-08-04T09:16:53Z"
- ["links"]=>
- array(1) {
- [0]=>
- array(3) {
- ["href"]=>
- string(67) "https://api.sandbox.paypal.com/v1/checkout/orders/6WN65891U3657404G"
- ["rel"]=>
- string(4) "self"
- ["method"]=>
- string(3) "GET"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement