Jump to content

PayPal configuration - no buying history - no order is registered


Recommended Posts

Hi!
I am testing your software in order to create an on line shop.
I am having troubles with paypal. I have created sandbox accounts of the seller and the buyer.
To configure prestashop, I have introduced the seller email address and configure the paypal preferences as it is shown.

Everything seems to be right, I enter in the particular paypal web , I pay as a partiular but when I return to the prestashop portal, there are no history of the things that the user has bought.

I register as the administrator but there are no orders there.

Could you help me with this problem?

Thank you in advance,

Miguel

Link to comment
Share on other sites

The most common problem with the paypal module is that when using Sandbox mode, the orders are not showing up on the shop.

The reason for that is the paypal module is currently set up to create orders only if the response it gets from the paypal site is "Completed", however when running in Sanbox mode, paypal send a response of "Pending".

I have read some documentation about changing the sandbox account to send a "Completed" response, but even after trying that, payments still appeared as pending.



In order to fix that, make the following change in /modules/paypal/validation.php line #80, it will allow for an order with a "Pending" status to go through, but only in sandbox mode



elseif ($_POST['payment_status'] != 'Completed')



Should be changed to

elseif ($_POST['payment_status'] != 'Completed' && (!Configuration::get('PAYPAL_SANDBOX') || $_POST['payment_status'] != 'Pending'))



For other paypal problems, check out http://www.presto-changeo.com/content/10-fixing-paypal-problems

Link to comment
Share on other sites

  • 1 month later...
i am using 1.3.0 alpha 1.
I have no url because I am doing local testing.


Sorry, I have not tried 1.3 yet because it is alpha.

You really shouldn't use anything but a stable release unless you are just testing or playing around.
Link to comment
Share on other sites

In my case I'm using the 1.2.5 (from october 2009)
and here is the url: http://www.espace-montres.com

Thanks!

PS: I've done what is written here: http://www.prestashop.com/wiki/PayPal_et_PrestaShop/


Can you make a test product for $1 (or you currency), send me a link to it, along with FTP and BackOffice access and I will take a quick look.

Send it to my email please.
Link to comment
Share on other sites

  • 4 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...