Advertisement
jigneshkaila

Update Order request and response log

Nov 16th, 2023
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. 2023-11-17T05:48:26+00:00 INFO Action: Update Order
  2. 2023-11-17T05:48:26+00:00 INFO Request URL: https://api-m.sandbox.paypal.com/v2/checkout/orders/1CN041966M020771N
  3. 2023-11-17T05:48:26+00:00 INFO Request Body: Array
  4. (
  5. [0] => Array
  6. (
  7. [op] => replace
  8. [path] => /purchase_units/@reference_id=='wc_order_Y03jakhyLO2os'
  9. [value] => Array
  10. (
  11. [reference_id] => wc_order_Y03jakhyLO2os
  12. [soft_descriptor] => PPCP
  13. [amount] => Array
  14. (
  15. [currency_code] => USD
  16. [value] => 100.00
  17. [breakdown] => Array
  18. (
  19. [item_total] => Array
  20. (
  21. [currency_code] => USD
  22. [value] => 100.00
  23. )
  24.  
  25. )
  26.  
  27. )
  28.  
  29. [invoice_id] => WC-PPCP-fmmkeb603
  30. [custom_id] => WC-PPCP-fmmkeb603
  31. [payee] => Array
  32. (
  33. [merchant_id] => EYQ22WLX6GNLY
  34. )
  35.  
  36. [items] => Array
  37. (
  38. [0] => Array
  39. (
  40. [name] => Belt
  41. [sku] => woo-belt
  42. [category] => PHYSICAL_GOODS
  43. [quantity] => 1
  44. [unit_amount] => Array
  45. (
  46. [currency_code] => USD
  47. [value] => 100.00
  48. )
  49.  
  50. )
  51.  
  52. )
  53.  
  54. )
  55.  
  56. )
  57.  
  58. [1] => Array
  59. (
  60. [op] => replace
  61. [path] => /intent
  62. [value] => AUTHORIZE
  63. )
  64.  
  65. )
  66.  
  67. 2023-11-17T05:48:26+00:00 INFO Response Headers: Array
  68. (
  69. [paypal-debug-id] => bd1c05f3303d0
  70. )
  71.  
  72. 2023-11-17T05:48:26+00:00 INFO Response Body: Array
  73. (
  74. [status] => 1
  75. [body] =>
  76. [headers] => Array
  77. (
  78. [paypal-debug-id] => bd1c05f3303d0
  79. )
  80.  
  81. [statusCode] => 204
  82. )
  83.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement