simonlav Posted August 5, 2014 Share Posted August 5, 2014 Hi, We are using prestashop 1.5.6 and paypal usa,canada 1.3.6. We use the standard mode of paypal. 1) We have problems with the return url which cause major issue for statistics and user experience. No customer is returning to the order-confirmation page as it should. They are returned to guest-tracking instead. We have been trying to figure that our for weeks. 2) Also, while we are at it, paypal write "your order" on the bill when there is more than 1 product in the cart. Is there a way to have Paypal detailling the order? Thanks for your help! Link to comment Share on other sites More sharing options...
bellini13 Posted August 5, 2014 Share Posted August 5, 2014 for #1, are you sure you are not checking out as a guest user? for #2, when there is a discount/voucher in the cart, then only a single line item is sent to Paypal, which is the "order total". It would include products and shipping less any discounts. when there are no discounts/vouchers, then each product is sent to Paypal as an individual line item Link to comment Share on other sites More sharing options...
simonlav Posted August 5, 2014 Author Share Posted August 5, 2014 1) yes we do. We have removed the authentification form, but i don't understand the logic behind this behavior? We still want the order confirmation for everyone, no? 2) you are right. Is there a way to change that and show all product? Link to comment Share on other sites More sharing options...
bellini13 Posted August 5, 2014 Share Posted August 5, 2014 1) So if you have removed the authentication form, then I have to assume you are using guests. Guests get an order confirmation page that includes "order tracking", they do not get an order history page. 2) not easily, no. The problem lies in the discount. Let's say you have a $10 discount, on a $100 order with 3 products. Do you spread the $10 discount across the 3 products and reduce their prices? Or do you send the full dollar amount of each product, and then include a negative discount line item (not even sure how Paypal supports that). Link to comment Share on other sites More sharing options...
simonlav Posted August 13, 2014 Author Share Posted August 13, 2014 1) Yes, all the orders are guest orders, but why are the guest not redirecter to controller=order-confirmation? That should be the default confirmation page for everybody, no? That page shows cart summary and include the analytics code. 2) Ok, I will live with that behavior Link to comment Share on other sites More sharing options...
bellini13 Posted August 13, 2014 Share Posted August 13, 2014 1) This is just the way PS was designed. The order confirmation controller has the following code, which detects if the customer is a guest, and then redirects to guest-tracking /* check if the cart has been made by a Guest customer, for redirect link */ if (Cart::isGuestCartByCartId($this->id_cart)) { $is_guest = true; $redirectLink = 'index.php?controller=guest-tracking'; } else $redirectLink = 'index.php?controller=history'; if ($is_guest) { $customer = new Customer((int)$order->id_customer); $redirectLink .= '&id_order='.$order->reference.'&email='.urlencode($customer->email); } I suppose you could try to comment that code out, and see what happens. 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