dazlia Posted August 7, 2013 Share Posted August 7, 2013 (edited) Guys, Right, i have a prestoshop site and ive got the paypal module installed. Ive gone through the process of setting up the API etc so thats all working in 'live mode', although if i checkout and try to login using the same email it says i cant becuase the sellers email address is also the same as the buyers email. So, i then logged into paypals sandbox using my main paypal account. Inside the sandbox i setup another paypal account with a brand new email address. I then enabled TEST mode inside the paypal module. As soon as i enable 'live mode' in the module and try to checkout using paypal i get the following :- Please try to contact the merchant: PayPal response: TIMESTAMP -> 2013-08-07T21:19:48Z L_ERRORCODE0 -> 10002 L_SHORTMESSAGE0 -> Security error L_LONGMESSAGE0 -> Security header is not valid L_SEVERITYCODE0 -> Error Now, I know this has been discussed on this forum previously but nobody has been able to answer any of the previous threads. So theres your challenge (Vekia.........where ARE you mate?) Does anyone know why it works in LIVE mode (although it still wont let me login using the 2nd sandbox paypal account) and doesnt bring up the above error? But yet as soon as i enable test mode i get the above error as soon as i checkout using paypal? must be something simple surely? the reason I wanted to use SANDBOX is so that I could test a full transaction from start to finish. I assume you should be able to login using your sandbox paypal account and make a payment which isnt a real transaction? Appreciate any input guys and thanks Edited August 8, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 7, 2013 Share Posted August 7, 2013 Hello! When you are in sandbox mode are you still using your Production credentials? The PayPal Sandbox and Production environments each use different sets of API credentials. Be sure to use the correct set of credentials. You can get your test credentials in your PayPal Account Details. Hope this helps! Link to comment Share on other sites More sharing options...
vekia Posted August 7, 2013 Share Posted August 7, 2013 hello Here I am i agree with Benjamin, while you're working in "sandbox" mode you have to to use different token etc. 1 Link to comment Share on other sites More sharing options...
dazlia Posted August 7, 2013 Author Share Posted August 7, 2013 Hi guys, Yes Id thought of that Yes you are right, the API credentials that are currently in the module ARE from my original paypal account. The problem is.......when i click on the "Get my API credentials" and try to login using my paypal sandbox account, it wont let me? It's like that account doesnt exist? Or am i missing something here? lol Here look at this guys to show you what im seeing inside sandbox.See notes on the image Link to comment Share on other sites More sharing options...
dazlia Posted August 7, 2013 Author Share Posted August 7, 2013 is there another way to get my API credentials WITHOUT using the button inside the module configuration please? Just going to try that just out of curiosity thats all. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 7, 2013 Share Posted August 7, 2013 Hey, I would follow this guide given by PayPal. it should help too, https://developer.paypal.com/webapps/developer/docs/classic/lifecycle/ug_sandbox/#credentials Keep us posted! Link to comment Share on other sites More sharing options...
dazlia Posted August 7, 2013 Author Share Posted August 7, 2013 guys, with regards having to use new API credentials for the sandbox account, are you sure thats right? The only reason I wanted a sandbox account was so that I could pretend i was a customer, add an item to my basket and then go through the paypal checkout and login to paypal using the sandbox paypal account that id set up and then make a payment from that sandbox account into my actual paypal account to see if it worked. Again, am i missing the point here? Link to comment Share on other sites More sharing options...
dazlia Posted August 7, 2013 Author Share Posted August 7, 2013 Thansk for that Ben but like i said mate (having thought about it) I dont want to accept payments INTO the sandbox account.........i want to be able to login (as if i was a customer) and pay using that paypal sandbox account. So surely i dont need to alter the API credentials inside the module do i? Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 7, 2013 Share Posted August 7, 2013 Hi, no problem. I hope I can help clear things up. You can not use your Production API Credentials for if Sandbox mode is active to test an order. You will need to have Test Sandbox API credentials. You wont be accepting payments, but on a sandbox account, it will seem like it. You need Test Sandbox API Credentials, and I believe in order to have that you need to have a Developer account with PayPal Link to comment Share on other sites More sharing options...
vekia Posted August 8, 2013 Share Posted August 8, 2013 take a look here: http://www.geekality.net/2010/09/24/getting-started-with-paypal-sandbox/ i remember that i created my first working sandbox with this tut Link to comment Share on other sites More sharing options...
dazlia Posted August 8, 2013 Author Share Posted August 8, 2013 Right guys, im slowly getting there!!! Bare with me PLEASE Ok, so, ive setup both a developer account and also paypal sandbox account. Inside my 'developer' site I have 3 accounts now following advice from this site https://developer.paypal.com/webapps/developer/docs/classic/lifecycle/ug_sandbox/#manage you can see the accounts i have here :- The paullewis-facilitator accounts is automatically created for you when you setup a sandbox premier or personal account. So, the API credentials I am now using in my shop are the ones for my sandbox business account ([email protected] and I have TEST mode enabled in my module and its now working! It's stopped bringing up that timestamp error that it was before. So, I add a few items to my cart and i go through the checkout process until i get to 'pay by paypal' and I click that. It then takes me to the paypal login screen where i can login using an existing account or as a guest. If I choose to login using my PREMIER account (paul16442@gmail) it then asks me to 'Link a card' and unless I put in some legitimate card detaisl it wont let me proceed. If i choose to pay as a guest instead then everything is cool, becuase i obviously dont need to login using paypal account at all so thats fine. To be honest, I'm a bit lost now gentleman I'm not sure, despite setting everything up, how i go about goign through my checkout process, loging into a paypal account and making a fake payment into my facilitator paypal account as though i was a guess. any ideas please? sorry lads, all this is totally new to me and its the first time ive used prestashop so its taking some organising! Link to comment Share on other sites More sharing options...
dazlia Posted August 8, 2013 Author Share Posted August 8, 2013 (edited) Update guys! FINALLY! I think ive got it working! YEEEEEEE HAAAAAAAAAA! lol (see below though pls) I've just setup a new sandbox account and set it up as a 'Personal' / 'buyer' account and added a fake balance of £5000. I then went to my shop, went through the checkout process and it worked. I then checked my sandbox notifications for my main account and can see the notification to tell me that someone made a payment. I also checked the balance of the paypal account i used to make the payment and the balance of £5000 had been reduced by £21.99 as if they had paid using that account. So, I have only one question right now guys! lol The paypal account I used to pay for the goods has a paypal balance of £5000. BUT when i login (at the end of the checkout) I only have the option to "pay using paypal balance". In other words I cant pay by credit card, despite the fact that if i click on 'profile' for the account i used to pay with.....it does have a credit card associated with it. although its obviously a bogus one that was added automatically. So how can i get it so that when i pay using this sandbox account, it also gives me the option to pay using card? Thanks again for being patient guys, really appreciate the work you put into helping others out Edited August 8, 2013 by dazlia (see edit history) 1 Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 8, 2013 Share Posted August 8, 2013 Update guys! FINALLY! I think ive got it working! YEEEEEEE HAAAAAAAAAA! lol (see below though pls) I've just setup a new sandbox account and set it up as a 'Personal' / 'buyer' account and added a fake balance of £5000. I then went to my shop, went through the checkout process and it worked. I then checked my sandbox notifications for my main account and can see the notification to tell me that someone made a payment. I also checked the balance of the paypal account i used to make the payment and the balance of £5000 had been reduced by £21.99 as if they had paid using that account. So, I have only one question right now guys! lol The paypal account I used to pay for the goods has a paypal balance of £5000. BUT when i login (at the end of the checkout) I only have the option to "pay using paypal balance". In other words I cant pay by credit card, despite the fact that if i click on 'profile' for the account i used to pay with.....it does have a credit card associated with it. although its obviously a bogus one that was added automatically. So how can i get it so that when i pay using this sandbox account, it also gives me the option to pay using card? Thanks again for being patient guys, really appreciate the work you put into helping others out What PayPal version are you using? If you are using the PayPal for USA UK and Canada then you may need to select a different setting for your configuration. Link to comment Share on other sites More sharing options...
dazlia Posted August 8, 2013 Author Share Posted August 8, 2013 Hi mate, "what version of paypal are you using" ?? you mean which module am i using? It's the free paypal module that i have installed through the backoffice mate. Its version 1.5 prestashop Link to comment Share on other sites More sharing options...
vekia Posted August 8, 2013 Share Posted August 8, 2013 i think that we can mark this thread as [solved] and change the topic a bit, we have a nice step by step tutorial here related to creating own paypal sandbox for test purposes in prestashop don't you think Benjamin? Link to comment Share on other sites More sharing options...
dazlia Posted August 8, 2013 Author Share Posted August 8, 2013 Yes mark it as solved i guess Vekia since the issue i am now having is nothing to do with sandbox. Just for the record though that tutorial didnt work for me mate. All the links in it are dead Link to comment Share on other sites More sharing options...
vekia Posted August 8, 2013 Share Posted August 8, 2013 done. If you have any other problems issues etc. just want to say that we are here to fix them feel free to create new threads, we will try to help with pleasure best regards Link to comment Share on other sites More sharing options...
Guest locen Posted June 1, 2016 Share Posted June 1, 2016 (edited) Hi, in sandbox mode is it possible that i receive "awaiting paypal payment"? paypal version 3.10.9 shop version 1.6.0.9 thanks Edited June 1, 2016 by locen (see edit history) Link to comment Share on other sites More sharing options...
jimmy.cohen Posted November 16, 2016 Share Posted November 16, 2016 bonjour,je suis bloqué depuis plusieurs jours avec un problème Paypal.j'ai intégré le module PayPal v3.11.1 sur mon site développé avec prestashop 1.6.1.5je suis en mode test sous localhost , j'ai créé les comptes fictifs perso et business sur la sandbox.j'ai renseigné les codes API du compte businessmais quand j'effectue un achat avec Paypal j'ai le message suivant :Error occurred:Veuillez contacter le marchant:<b>PayPal response:</b>je suis sous Apache/2.2.29 (Unix) mod_wsgi/3.5 Python/2.7.10 PHP/7.0.0 mod_ssl/2.2.29 OpenSSL/0.9.8zg DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.22.0est ce que quelqu'un pourrait me venir en aide.merci bcp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now