disabled, but it doesn't work.
It doesn't work anywhere on the site.
In the cart, the following error came out:
Request is not well-formed, syntactically incorrect, or violates schema.
Messaggio breve
Payments.PayPalSmartPaymentButtons error:
Request is not well-formed, syntactically incorrect, or violates schema.
Messaggio completo
System.AggregateException: One or more errors occurred. ({"name":"INVALID_REQUEST","message":"Request is not well-formed, syntactically incorrect, or violates schema.","debug_id":"6b610bd3bd2f4","details":[{"field":"/payer/phone/phone_number/national_number","value":"","location":"body","issue":"INVALID_PARAMETER_SYNTAX","description":"The value of a field does not conform to the expected format."},{"field":"/payer/phone/phone_number/national_number","value":"","location":"body","issue":"INVALID_STRING_LENGTH","description":"The value of a field is either too short or too long."}],"links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX","rel":"information_link","encType":"application/json"},{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH","rel":"information_link","encType":"application/json"}]})
---> PayPalHttp.HttpException: {"name":"INVALID_REQUEST","message":"Request is not well-formed, syntactically incorrect, or violates schema.","debug_id":"6b610bd3bd2f4","details":[{"field":"/payer/phone/phone_number/national_number","value":"","location":"body","issue":"INVALID_PARAMETER_SYNTAX","description":"The value of a field does not conform to the expected format."},{"field":"/payer/phone/phone_number/national_number","value":"","location":"body","issue":"INVALID_STRING_LENGTH","description":"The value of a field is either too short or too long."}],"links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX","rel":"information_link","encType":"application/json"},{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH","rel":"information_link","encType":"application/json"}]}
at PayPalHttp.HttpClient.Execute[T](T req)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Nop.Plugin.Payments.PayPalSmartPaymentButtons.Services.ServiceManager.HandleCheckoutRequest[TRequest,TResult](PayPalSmartPaymentButtonsSettings settings, TRequest request)
at Nop.Plugin.Payments.PayPalSmartPaymentButtons.Services.ServiceManager.<>c__DisplayClass22_0.<CreateOrder>b__0()