I figured that maybe PDT was outdated, so I installed PayPalExpressCheckout by nopCommerce, set it up and everything, but not even sandbox mode works! I get the error:
Error passing cart to PayPal
10403: Maximum amount (MaxAmount) is invalid.
{"Token":null,"Timestamp":"2019-11-05T23:37:43Z","TimestampSpecified":true,"Ack":1,"CorrelationID":"f575a70aa531d","Errors":[{"ShortMessage":"Transaction refused because of an invalid argument. See additional error messages for details.","LongMessage":"Maximum amount (MaxAmount) is invalid.","ErrorCode":"10403","SeverityCode":1,"ErrorParameters":null}],"Version":"98.0","Build":"53803583","Any":null}
I added a log to see what values were being generated in GetMaxAmount:
cartTotal: 84.00, toAdd: 0, currencyCode: USD
I have SSL configured correctly, Force SSL is on, taxes are set up (fixed tax rate plugin with 0% set).
What can I check? What could I be doing wrong?
Tested on versions: 4.20 vanilla, 4.30 latest vanilla (Nov 5), 4.30 customized. None of them work.
Thank you.