nelsoncomics Posted July 9, 2010 Share Posted July 9, 2010 I follow the instruction step by step ( I gess ), but just I am getting the following erros using Paypal API...Can you help me ?Please refer to logs:Making new connection to 'api-3t.sandbox.paypal.com/nvp'Connect with CURL method sucessfullSending this params:METHOD=SetExpressCheckout&VERSION=53.0&PWD;=*********&USER=paypal_1278096888_biz_api1.tiendagc.com&SIGNATURE;=*********&Amt=28.3&PAYMENTACTION=Sale&ReturnUrl=http://www.tiendagc.com/modules/paypalapi/payment/submit.php?fromPayPal=1&CANCELURL=http://www.tiendagc.com/order.php&CURRENCYCODE=USD&NOSHIPPING=1&SOLUTIONTYPE=Sole&LANDINGPAGE=Billing&LOCALECODE=enSend with CURL method sucessfullPayPal response:TIMESTAMP -> 2010-07-09T02:02:57ZCORRELATIONID -> ce9ccf273705eACK -> FailureVERSION -> 53.0BUILD -> 1366358L_ERRORCODE0 -> 10002L_SHORTMESSAGE0 -> Security errorL_LONGMESSAGE0 -> Security header is not validL_SEVERITYCODE0 -> ErrorPayPal returned error Link to comment Share on other sites More sharing options...
safa Posted July 9, 2010 Share Posted July 9, 2010 I think ssl error. do you have ssl certifce?? Link to comment Share on other sites More sharing options...
nelsoncomics Posted July 9, 2010 Author Share Posted July 9, 2010 I have a SSL host. Link to comment Share on other sites More sharing options...
nelsoncomics Posted July 9, 2010 Author Share Posted July 9, 2010 I got this message from Paypal:"The most common mistake is when pasting your credentials in a space is added at the end. If that space is not removed before saving the PayPal system see's the space as a character making the credentials invalid. Also the version you should use in your code is 63.0"Ok, I've checked the spaces, none.The only thing is the code versión... I am using prestashop 1.3.1 and use some paypal code in version 53.0...What can I do?Do I have to get another code version?Where? Link to comment Share on other sites More sharing options...
safa Posted July 9, 2010 Share Posted July 9, 2010 You must registerhttp://www.prestashop.com/bug_tracker/regards Link to comment Share on other sites More sharing options...
nelsoncomics Posted July 9, 2010 Author Share Posted July 9, 2010 Thanks,I've solved it. There was a undesired dot in the API signature... Link to comment Share on other sites More sharing options...
nelsoncomics Posted July 9, 2010 Author Share Posted July 9, 2010 Ok, but I have another problems now...I've set up only one Country in Presta: Dominican Republic (ISO COUNTRY CODE = DO)I am receiving the following error from Paypal API:TIMESTAMP -> 2010-07-09T15:49:18ZCORRELATIONID -> 73835400d51c8ACK -> FailureVERSION -> 53.0BUILD -> 1366358L_ERRORCODE0 -> 10474L_SHORTMESSAGE0 -> Invalid DataL_LONGMESSAGE0 -> This transaction cannot be processed. The shipping country is not allowed by the buyer's country of residence.L_SEVERITYCODE0 -> ErrorAny leads? Link to comment Share on other sites More sharing options...
infoseek Posted November 12, 2010 Share Posted November 12, 2010 Ok, but I have another problems now...I've set up only one Country in Presta: Dominican Republic (ISO COUNTRY CODE = DO)I am receiving the following error from Paypal API:TIMESTAMP -> 2010-07-09T15:49:18ZCORRELATIONID -> 73835400d51c8ACK -> FailureVERSION -> 53.0BUILD -> 1366358L_ERRORCODE0 -> 10474L_SHORTMESSAGE0 -> Invalid DataL_LONGMESSAGE0 -> This transaction cannot be processed. The shipping country is not allowed by the buyer's country of residence.L_SEVERITYCODE0 -> ErrorAny leads? I have the same error,anybody have ideas?thx Link to comment Share on other sites More sharing options...
seldon.paul2 Posted November 28, 2010 Share Posted November 28, 2010 If happens when the country isn't U.S.A.the default country for paypal buyer is U.S.A.I have the same problem.I have only 3 hours to solve it. Link to comment Share on other sites More sharing options...
seldon.paul2 Posted November 28, 2010 Share Posted November 28, 2010 Step 1. I go back to the BO>Carrier> check all the countries in the "zone" Africa Asia Europe Oceania US_________________________________________________________________and then try again---> result the same, not working---------------------------------------------------------------------------------------------Step 2. Back Office >> Shipping >> ZonesName: USStatus: Check allowAllow or disallow shipping to this zone_________________________________________________________________and then try again---> result the same, not workingPayPal returned errorPlease refer to logs:Making new connection to 'api-3t.sandbox.paypal.com/nvp'Connect with CURL method sucessfullSending this params:METHOD=DoExpressCheckoutPayment&VERSION=53.0&PWD;=*********&USER=seller_1290744214_biz_api1.hotmail.com&SIGNATURE;=*********&TOKEN=EC-7UU28599UT6979749&PAYERID=SVTT52JKQMCLL&PAYMENTACTION=Sale&AMT=17.9&CURRENCYCODE=SGD&IPADDRESS=www.dress2trend.sg&NOTIFYURL=http://www.dress2trend.sg/modules/paypalapi/ipn.php&BUTTONSOURCE=PRESTASHOP_ECM&SHIPTONAME;=+DOE+John&SHIPTOSTREET=16,+Main+street+2nd+floor&SHIPTOCITY=Singapore&SHIPTOSTATE;=&SHIPTOCOUNTRYCODE=SG&SHIPTOZIP=082001Send with CURL method sucessfullPayPal response:TIMESTAMP -> 2010-11-28T12:18:31ZCORRELATIONID -> f92ed5154f6cbACK -> FailureVERSION -> 53.0BUILD -> 1613703L_ERRORCODE0 -> 10474L_SHORTMESSAGE0 -> Invalid DataL_LONGMESSAGE0 -> This transaction cannot be processed. The shipping country is not allowed by the buyer's country of residence.L_SEVERITYCODE0 -> Error« Back Link to comment Share on other sites More sharing options...
seldon.paul2 Posted November 28, 2010 Share Posted November 28, 2010 I think overall --- Delivery section needs some changes, so many problems - Link to comment Share on other sites More sharing options...
seldon.paul2 Posted November 28, 2010 Share Posted November 28, 2010 I think I got an idea what is the problem. There is a difference between the delivery address from the checkout sequence in the prestashop and the sandbox address for delivery.I am trying to find out what is the default address for buyer's in sandbox paypalIs there anyway to change it? I cannot find it. Link to comment Share on other sites More sharing options...
seldon.paul2 Posted November 28, 2010 Share Posted November 28, 2010 It works - The problem is [sOLVED]Must have billing and delivery address during the check out and paypal sandbox user's address should be the same.How can you see the default address for paypal sandbox buyer?Test User1 Main StSan Jose, CA 95131United StatesI created a user, With the same name, and same address. So, it shows no error but, because shop default country isn't U.S.A. so, it shows I heard it is because too different currency ------------------------------------------------------------------------------------Your order on **** is pending. Your order will be sent as soon as we receive your settlement. -----------------------------------------------------------------------------------So, the last time, I am trying to change the default country as U.S.A.Just to see the word, "complete"-----------------------------------------------------------------------------------Your order on **** is pending. Your order will be sent as soon as we receive your settlement. -----------------------------------------------------------------------------------So, one more time, I am trying to change the currency to USD.Finally, Your order on ************ is completeYour order will be sent as soon as possible.------------------------------------------------------------------------------------Finally ~~~~ ^^ I hope what I wrote step by step will help others save time.I got a lot of help so perhaps, this pays back something that I owed. 1 Link to comment Share on other sites More sharing options...
seldon.paul2 Posted November 28, 2010 Share Posted November 28, 2010 But, I do hope that instead of showing the error message, Paypal could generated some nice way of showing with html coded words. short error, long error, all these are so paypal friendly not the user friend.If the user sees this, they will be panic - those error message is showing inside the shop as if shop has the problem, when the problem is showing by paypal? I think it is paypal who must have intermediate page to express their errormessage to their sites, not inside the shop with the words that is friendly to only PAYPAL creator - SAD! Link to comment Share on other sites More sharing options...
yzlow Posted October 31, 2012 Share Posted October 31, 2012 (edited) @seldon.paul2 Thanks for posting your updates here and eventually your solution. 2 years later, this thread still proves to be of a great use, and it solved my issues with paypal as well. Edited October 31, 2012 by yzlow (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts