Advertisement
jigneshkaila

Refund Order

Oct 23rd, 2023
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. 2023-10-23T09:20:55+00:00 INFO Action: Refund Order
  2. 2023-10-23T09:20:55+00:00 INFO Request URL: https://api-m.sandbox.paypal.com/v2/payments/captures/37387213GB252053C/refund
  3. 2023-10-23T09:20:55+00:00 INFO Request Body: Array
  4. (
  5. [note_to_payer] => Refund
  6. [amount] => Array
  7. (
  8. [value] => 55.00
  9. [currency_code] => USD
  10. )
  11.  
  12. [payment_instruction] => Array
  13. (
  14. [platform_fees] => Array
  15. (
  16. [0] => Array
  17. (
  18. [amount] => Array
  19. (
  20. [currency_code] => USD
  21. [value] => 0.06
  22. )
  23.  
  24. )
  25.  
  26. )
  27.  
  28. )
  29.  
  30. )
  31.  
  32.  
  33. 2023-10-23T09:20:55+00:00 INFO Response Headers: Array
  34. (
  35.  
  36. [paypal-debug-id] => 8d50a8eba2f3e
  37.  
  38. )
  39.  
  40. 2023-10-23T09:20:55+00:00 INFO Response Body: Array
  41. (
  42. [name] => UNPROCESSABLE_ENTITY
  43. [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
  44. [debug_id] => 8d50a8eba2f3e
  45. [details] => Array
  46. (
  47. [0] => Array
  48. (
  49. [issue] => PLATFORM_FEE_NOT_ENABLED
  50. [description] => The API Caller account is not setup to be able to process refunds with 'platform_fees'. Please contact your Account Manager. This feature is useful when you want to contribute a portion of the 'platform_fees' you had capture as part of the refund being processed.
  51. )
  52.  
  53. )
  54.  
  55. [links] => Array
  56. (
  57. [0] => Array
  58. (
  59. [href] => https://developer.paypal.com/docs/api/payments/v2/#error-PLATFORM_FEE_NOT_ENABLED
  60. [rel] => information_link
  61. )
  62.  
  63. )
  64.  
  65. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement