i'm using PayPal Smart Payment Buttons . When i want to check out I get this error: The requested action could not be performed, semantically incorrect, or failed business validation.
i have business PayPal account. how can i solve it?
When i want to check out I get this error: The requested action could not be performed, semantically incorrect, or failed business validation.
You didn’t list the full error from the log.
It is most likely a rounding problem since your country may have VAT. The error is already reported here: https://www.nopcommerce.com/en/boards/topic/90441/paypal-smart-payment-buttons-plugin-rounding-problem
What you could do is make sure your product prices including VAT is rounded to x.05 and you’ll have less chance of any rounding issues. This may not work 100% of the time as your shipping cost may vary. Again if you have fixed prices shipping round the fees to x.05.
Nop 4.4 has an admin configuration for rounding. Hope this helps.
[quote=jayc] When i want to check out I get this error: The requested action could not be performed, semantically incorrect, or failed business validation.
You didn’t list the full error from the log.
System.AggregateException: One or more errors occurred. ({"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='d728e07e-50ea-4c86-b2b6-3084698f7475'/payee","location":"body","issue":"PAYEE_ACCOUNT_RESTRICTED","description":"The merchant account is restricted."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"f5a49a9d1f0f2","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-PAYEE_ACCOUNT_RESTRICTED","rel":"information_link","method":"GET"}]}) ---> PayPalHttp.HttpException: {"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='d728e07e-50ea-4c86-b2b6-3084698f7475'/payee","location":"body","issue":"PAYEE_ACCOUNT_RESTRICTED","description":"The merchant account is restricted."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"f5a49a9d1f0f2","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-PAYEE_ACCOUNT_RESTRICTED","rel":"information_link","method":"GET"}]} 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() at Nop.Plugin.Payments.PayPalSmartPaymentButtons.Services.ServiceManager.HandleFunction[TResult](PayPalSmartPaymentButtonsSettings settings, Func`1 function)