Advertisement
jigneshkaila

Authorize Order request and response log

Nov 17th, 2023
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.45 KB | None | 0 0
  1. 2023-11-17T05:48:30+00:00 INFO Action: Authorize Order
  2. 2023-11-17T05:48:30+00:00 INFO Request URL: https://api-m.sandbox.paypal.com/v2/checkout/orders/1CN041966M020771N/authorize
  3. 2023-11-17T05:48:30+00:00 INFO Response Headers: Array
  4. (
  5. [paypal-debug-id] => 9fb13ab9aa64d
  6. )
  7.  
  8. 2023-11-17T05:48:30+00:00 INFO Response Body: Array
  9. (
  10. [id] => 1CN041966M020771N
  11. [intent] => AUTHORIZE
  12. [status] => COMPLETED
  13. [payment_source] => Array
  14. (
  15. [paypal] => Array
  16. (
  17. [email_address] => kcppdevelopers@gmail.com
  18. [account_id] => K75H4EE58B5FL
  19. [account_status] => VERIFIED
  20. [name] => Array
  21. (
  22. [given_name] => jignesh
  23. [surname] => kaila
  24. )
  25.  
  26. [phone_number] => Array
  27. (
  28. [national_number] => 4088488897
  29. )
  30.  
  31. [address] => Array
  32. (
  33. [country_code] => US
  34. )
  35.  
  36. )
  37.  
  38. )
  39.  
  40. [purchase_units] => Array
  41. (
  42. [0] => Array
  43. (
  44. [reference_id] => wc_order_Y03jakhyLO2os
  45. [amount] => Array
  46. (
  47. [currency_code] => USD
  48. [value] => 100.00
  49. [breakdown] => Array
  50. (
  51. [item_total] => Array
  52. (
  53. [currency_code] => USD
  54. [value] => 100.00
  55. )
  56.  
  57. [shipping] => Array
  58. (
  59. [currency_code] => USD
  60. [value] => 0.00
  61. )
  62.  
  63. [handling] => Array
  64. (
  65. [currency_code] => USD
  66. [value] => 0.00
  67. )
  68.  
  69. [insurance] => Array
  70. (
  71. [currency_code] => USD
  72. [value] => 0.00
  73. )
  74.  
  75. [shipping_discount] => Array
  76. (
  77. [currency_code] => USD
  78. [value] => 0.00
  79. )
  80.  
  81. )
  82.  
  83. )
  84.  
  85. [payee] => Array
  86. (
  87. [email_address] => angelleye-smart-button@gmail.com
  88. [merchant_id] => EYQ22WLX6GNLY
  89. )
  90.  
  91. [description] => Belt
  92. [custom_id] => WC-PPCP-fmmkeb603
  93. [invoice_id] => WC-PPCP-fmmkeb603
  94. [items] => Array
  95. (
  96. [0] => Array
  97. (
  98. [name] => Belt
  99. [unit_amount] => Array
  100. (
  101. [currency_code] => USD
  102. [value] => 100.00
  103. )
  104.  
  105. [tax] => Array
  106. (
  107. [currency_code] => USD
  108. [value] => 0.00
  109. )
  110.  
  111. [quantity] => 1
  112. [sku] => woo-belt
  113. )
  114.  
  115. )
  116.  
  117. [shipping] => Array
  118. (
  119. [name] => Array
  120. (
  121. [full_name] => jignesh kaila
  122. )
  123.  
  124. )
  125.  
  126. [payments] => Array
  127. (
  128. [authorizations] => Array
  129. (
  130. [0] => Array
  131. (
  132. [status] => CREATED
  133. [id] => 52H871804T3313822
  134. [amount] => Array
  135. (
  136. [currency_code] => USD
  137. [value] => 100.00
  138. )
  139.  
  140. [invoice_id] => WC-PPCP-fmmkeb603
  141. [custom_id] => WC-PPCP-fmmkeb603
  142. [seller_protection] => Array
  143. (
  144. [status] => ELIGIBLE
  145. [dispute_categories] => Array
  146. (
  147. [0] => ITEM_NOT_RECEIVED
  148. [1] => UNAUTHORIZED_TRANSACTION
  149. )
  150.  
  151. )
  152.  
  153. [expiration_time] => 2023-12-16T05:48:28Z
  154. [links] => Array
  155. (
  156. [0] => Array
  157. (
  158. [href] => https://api.sandbox.paypal.com/v2/payments/authorizations/52H871804T3313822
  159. [rel] => self
  160. [method] => GET
  161. )
  162.  
  163. [1] => Array
  164. (
  165. [href] => https://api.sandbox.paypal.com/v2/payments/authorizations/52H871804T3313822/capture
  166. [rel] => capture
  167. [method] => POST
  168. )
  169.  
  170. [2] => Array
  171. (
  172. [href] => https://api.sandbox.paypal.com/v2/payments/authorizations/52H871804T3313822/void
  173. [rel] => void
  174. [method] => POST
  175. )
  176.  
  177. [3] => Array
  178. (
  179. [href] => https://api.sandbox.paypal.com/v2/checkout/orders/1CN041966M020771N
  180. [rel] => up
  181. [method] => GET
  182. )
  183.  
  184. )
  185.  
  186. [create_time] => 2023-11-17T05:48:28Z
  187. [update_time] => 2023-11-17T05:48:28Z
  188. )
  189.  
  190. )
  191.  
  192. )
  193.  
  194. )
  195.  
  196. )
  197.  
  198. [payer] => Array
  199. (
  200. [name] => Array
  201. (
  202. [given_name] => jignesh
  203. [surname] => kaila
  204. )
  205.  
  206. [email_address] => kcppdevelopers@gmail.com
  207. [payer_id] => K75H4EE58B5FL
  208. [phone] => Array
  209. (
  210. [phone_number] => Array
  211. (
  212. [national_number] => 4088488897
  213. )
  214.  
  215. )
  216.  
  217. [address] => Array
  218. (
  219. [country_code] => US
  220. )
  221.  
  222. )
  223.  
  224. [create_time] => 2023-11-17T05:45:34Z
  225. [update_time] => 2023-11-17T05:48:28Z
  226. [links] => Array
  227. (
  228. [0] => Array
  229. (
  230. [href] => https://api.sandbox.paypal.com/v2/checkout/orders/1CN041966M020771N
  231. [rel] => self
  232. [method] => GET
  233. )
  234.  
  235. )
  236.  
  237. )
  238.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement