“issue”: “Cannot construct instance of `com.paypal.platform.payments
Bought the premium version but seems not to work – i have tried with all plugins deactivated except this and the premium add on and with a default theme and there’s no difference.
The checkout button appears but when i click a paypal window flashes up then disappears and I see this error in console:
Uncaught Error: Request to post https://www.paypal.com/v1/payments/payment failed with 400 error. Correlation id: f615459131caa
{
"name": "VALIDATION_ERROR",
"message": "Invalid request - see details",
"debug_id": "f615459131caa",
"information_link": "https://developer.paypal.com/docs/api/payments/#errors",
"details": [
{
"field": "/transactions/0/amount",
"location": "body",
"issue": "Cannot construct instance of <code>com.paypal.platform.payments.model.rest.common.Amount</code>, problem: INVALID_CURRENCY_AMOUNT_FORMAT"
}
]
}
at XMLHttpRequest.<anonymous> (checkout.js:2504:35)
at Object._RECEIVE_MESSAGE_TYPE.<computed> [as postrobot_message_response] (checkout.js:6484:27)
at receiveMessage (checkout.js:6520:60)
at messageListener (checkout.js:6542:9)
at Object._RECEIVE_MESSAGE_TYPE.<computed> [as postrobot_message_response] (checkout.js:6484:27)
at receiveMessage (checkout.js:6520:60)
at messageListener (checkout.js:6542:9)
Expand
Please help to get this working…
If it doesn’t work, how to request a refund?
Regards,
Matt
NB - posted this a week ago on the WP support forum but didn't get a reply
https://wordpress.org/support/topic/issue-cannot-construct-instance-of-com-paypal-platform-payments/
Hello – looking for some help with this now after a week…