Recurring payment failed. Reason: Request is not well-formed
-
Hello,
I am having an issue with one renewal order, it keeps generating the error: Recurring payment failed. Reason: Request is not well-formed, syntactically incorrect, or violates schema.
In the logs I have the following message:
2025-01-23T16:52:29+00:00 Error API error: Array
(
[url] => https://api-m.paypal.com/v2/checkout/orders/7B665706WM850635A/capture
[method] => POST
[http_status] => 400
[request] => Array
(
[payment_source] => PaymentPlugins\PayPalSDK\PaymentSource Object
(
[_values:protected] => Array
(
[token] => PaymentPlugins\PayPalSDK\Token Object
(
[_values:protected] => Array
(
[id] =>
[type] => BILLING_AGREEMENT
)
[mappings:protected] => Array
(
)
[index:PaymentPlugins\PayPalSDK\AbstractObject:private] =>
[patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] =>
)
)
[mappings:protected] => Array
(
)
[index:PaymentPlugins\PayPalSDK\AbstractObject:private] =>
[patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] =>
)
)
[error] => Array
(
[name] => INVALID_REQUEST
[message] => Request is not well-formed, syntactically incorrect, or violates schema.
[debug_id] => 7984621e78663
[details] => Array
(
[0] => Array
(
[field] => /payment_source/token/id
[value] =>
[location] => body
[issue] => INVALID_STRING_LENGTH
[description] => The value of a field is either too short or too long.
)
)
[links] => Array
(
[0] => Array
(
[href] => https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH
[rel] => information_link
[encType] => application/json
)
)
)
)Best regards.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.