Здравствуйте, видимо я один такой несчастный, что никому нет дела и никто не реагирует... А между тем помощь нужна от спецов.
Я написал в службу поддержки Пейпал и вот что они мне ответили по первой ошибке:
Цитата:
A client has encountered a problem with the module PayPalAPI, see the report:
PayPal response:
TIMESTAMP -> 2012-08-09T12:13:23Z
L_ERRORCODE0 -> 10002
L_SHORTMESSAGE0 -> Security error
L_LONGMESSAGE0 -> Security header is not valid
L_SEVERITYCODE0 -> Err
L_ERRORCODE0 -> 10002
----------------------------------------------
The Security header not valid error is only caused for two reasons:
1) Wrong credentials
Please make sure that you've typed in your API Username, API Password and API Signature correctly. Sometimes it happens that during copy and paste there is accidentally a space added, this would trigger this error.
Please doublecheck this settings in the SDk or in the admin panel of your third party storefront.
2) Wrong Endpoint
This error would come up if you send the data to the wrong endpoint. Please make sure that you sending the live credentials and data to our live endpoint. When you want to test your store make sure that you use our testendpoint and the credentials from your sandbox testaccount.
If you are using a third party shopping cart, make sure that your store is running in test or live mode, regarding which credentials you are using.
Here is a list with our endpoints:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-co......o_api_endpointsJust in case you haven't requested the credentials yet, follow these steps:
-log in to your PayPal Account
-click on Profile
-click on Request API-Credentials
-Option 1 PayPal API,click on Set up PayPal API credentials and permissions
-option 2, click on Request API credentials
-choose Request API signature and click on Agree and Submit
-Your Credentials are displayed to you
Once you've typed in the correct credentials, your Store will start to work.
Здесь ладно - все понятно, переделал на всякий случай. Но как это объясняет выборочный характер приема оплаты? Не понял. Если уж 1 раз работает, таки должно дальше работать.
Вторая ошибка:
Цитата:
A client has encountered a problem with the module PayPalAPI, see the report:
PayPal response:
TIMESTAMP -> 2012-05-25T20:00:20Z
L_ERRORCODE0 -> 10413
L_SHORTMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details.
L_LONGMESSAGE0 -> The totals of the cart item amounts do not match order amounts.
L_SEVERITYCODE0 -> Error
PayPal returned error
и ответ:
L_ERRORCODE0 -> 10413
--------------------------------------------
Your Shop is sending:
amt "250.2"
itemamt "236.19"
shippingamt "14"
=> Unfortunately, the Total amount is incorrect. It must be "250.19"
You have to contact your Shop provider or developer to solve the Problem. This is a rounding Error
ЛЮДИ, я не столь силен в техническом языке, чтобы понять второй случай - что хотел сказать товарищ из Пейпал? Откуда он берет и как расшифровать эти циферки? ОСОБЕННО меня интересует "This is a rounding Error"...