Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2023-10-23T09:20:55+00:00 INFO Action: Refund Order
- 2023-10-23T09:20:55+00:00 INFO Request URL: https://api-m.sandbox.paypal.com/v2/payments/captures/37387213GB252053C/refund
- 2023-10-23T09:20:55+00:00 INFO Request Body: Array
- (
- [note_to_payer] => Refund
- [amount] => Array
- (
- [value] => 55.00
- [currency_code] => USD
- )
- [payment_instruction] => Array
- (
- [platform_fees] => Array
- (
- [0] => Array
- (
- [amount] => Array
- (
- [currency_code] => USD
- [value] => 0.06
- )
- )
- )
- )
- )
- 2023-10-23T09:20:55+00:00 INFO Response Headers: Array
- (
- [paypal-debug-id] => 8d50a8eba2f3e
- )
- 2023-10-23T09:20:55+00:00 INFO Response Body: Array
- (
- [name] => UNPROCESSABLE_ENTITY
- [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
- [debug_id] => 8d50a8eba2f3e
- [details] => Array
- (
- [0] => Array
- (
- [issue] => PLATFORM_FEE_NOT_ENABLED
- [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.
- )
- )
- [links] => Array
- (
- [0] => Array
- (
- [href] => https://developer.paypal.com/docs/api/payments/v2/#error-PLATFORM_FEE_NOT_ENABLED
- [rel] => information_link
- )
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement