| paypal_post_request | {\"CURLOPT_URL\":\"https:\/\/api-m.paypal.com\/v2\/checkout\/orders\",\"CURLOPT_RETURNTRANSFER\":1,\"CURLOPT_POST\":1,\"CURLOPT_POSTFIELDS\":\"{\\"intent\\":\\"CAPTURE\\",\\"application_context\\":{\\"return_url\\":\\"https:\\\/\\\/www.allpencilsdown.com\\\/api\\\/doPayment\\",\\"cancel_url\\":\\"https:\\\/\\\/www.allpencilsdown.com\\\/api\\\/cancelPayment\\"},\\"purchase_units\\":[{\\"reference_id\\":67450898,\\"payee\\":{\\"email_address\\":\\"george@allpencilsdown.com\\"},\\"amount\\":{\\"currency_code\\":\\"USD\\",\\"value\\":395},\\"platform_fees\\":{\\"payee\\":{\\"email_address\\":\\"george@allpencilsdown.com\\"},\\"amount\\":{\\"currency_code\\":\\"USD\\",\\"value\\":3.08499999999999996447286321199499070644378662109375}},\\"payment_instruction\\":{\\"disbursement_mode\\":\\"INSTANT\\"}}]}\",\"headers\":\"[\\"Content-Type: application\\\/json\\",\\"Authorization: Bearer A21AAN2Hbbtox7-nlIq95M0CrVgZnfOCGn8S5P6tulr53Mvjcccb8O95iHnTvoI-WYefOeQLM1c7ZiOL2t7nCyH02EPfGjZPg\\",\\"Content-Length: 540\\"]\"} |
| paypal_response | {\"id\":\"5EV85937ER216632D\",\"status\":\"COMPLETED\",\"payment_source\":{\"paypal\":{\"email_address\":\"esharley@realtysouth.com\",\"account_id\":\"34QNGXA73DJQC\",\"account_status\":\"VERIFIED\",\"name\":{\"given_name\":\"Ellen\",\"surname\":\"Sharley\"},\"address\":{\"country_code\":\"US\"}}},\"purchase_units\":[{\"reference_id\":\"67450898\",\"shipping\":{\"name\":{\"full_name\":\"Ellen Sharley\"},\"address\":{\"address_line_1\":\"2116 English Village Lane\",\"admin_area_2\":\"Birmingham\",\"admin_area_1\":\"AL\",\"postal_code\":\"35223\",\"country_code\":\"US\"}},\"payments\":{\"captures\":[{\"id\":\"9D643966EC799424D\",\"status\":\"COMPLETED\",\"amount\":{\"currency_code\":\"USD\",\"value\":\"395.00\"},\"final_capture\":true,\"seller_protection\":{\"status\":\"ELIGIBLE\",\"dispute_categories\":[\"UNAUTHORIZED_TRANSACTION\"]},\"seller_receivable_breakdown\":{\"gross_amount\":{\"currency_code\":\"USD\",\"value\":\"395.00\"},\"paypal_fee\":{\"currency_code\":\"USD\",\"value\":\"14.28\"},\"net_amount\":{\"currency_code\":\"USD\",\"value\":\"380.72\"}},\"links\":[{\"href\":\"https:\/\/api.paypal.com\/v2\/payments\/captures\/9D643966EC799424D\",\"rel\":\"self\",\"method\":\"GET\"},{\"href\":\"https:\/\/api.paypal.com\/v2\/payments\/captures\/9D643966EC799424D\/refund\",\"rel\":\"refund\",\"method\":\"POST\"},{\"href\":\"https:\/\/api.paypal.com\/v2\/checkout\/orders\/5EV85937ER216632D\",\"rel\":\"up\",\"method\":\"GET\"}],\"create_time\":\"2025-05-24T22:37:22Z\",\"update_time\":\"2025-05-24T22:37:22Z\"}]}}],\"payer\":{\"name\":{\"given_name\":\"Ellen\",\"surname\":\"Sharley\"},\"email_address\":\"esharley@realtysouth.com\",\"payer_id\":\"34QNGXA73DJQC\",\"address\":{\"country_code\":\"US\"}},\"links\":[{\"href\":\"https:\/\/api.paypal.com\/v2\/checkout\/orders\/5EV85937ER216632D\",\"rel\":\"self\",\"method\":\"GET\"}]} |