Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PayPal - Order confirmation page skipped, goes to order history

Featured Replies

Is there a way to have it redirect to /order-confirmation for correct conversion tracking?

Try to edit file /modules/paypal/controllers/front/expresscheckout.php and change line

Tools::redirectLink($this->context->link->getPageLink('order-confirmation', true, '&id_cart='.$cart->id.'&id_module='.$this->module->id.'&key='.$customer->secure_key));

with

Tools::redirectLink($this->context->link->getPageLink('order-confirmation', true, null, [ 'id_cart' => $cart->id, 'id_module' => $this->module->id, 'key' => $customer->secure_key ]));

  • Author

Thank you, it works! But the page has no useful content for the user. This is what I have : https://i.imgur.com/X4t7ZTx.jpg

How can I make it a little nicer and useful?

There's another bug in hookPaymentReturn. Edit file paypal.php, find method hookPaymentReturn and change the first line from

if (!$this->active || !isset($params['order']) || !$params['order'] instanceof Order) {

to

if (!$this->active || !isset($params['objOrder']) || !$params['objOrder'] instanceof Order) {

Note that all these fixes are already part of the paypal v6.0.0, see here

What is the reason paypal 6.0 is not used yet?

@datakick thank you for the information. This is really a great message and a first step for a solution for this persistent problem. Thank you thousand times!

When i change /modules/paypal/controllers/front/expresscheckout.php it works and i get a simple confirmation site (without order ID or something). When i change paypal.php additionally, i get a 500 Error without decrypted error code :(

Ah yes, already seen this and it works (copied from the Github file). Can we implement the order no. into the confirmation in any way ? Think this would be enough for most of the customers.

Thank you so much :) I am on the best way to finish my tb test shop....

@datakick said in PayPal - Order confirmation page skipped, goes to order history:

What is the reason paypal 6.0 is not used yet?

I was under the impression we were all advised not to use the 6.0 beta because it makes strange calls on every page, and other erratic behavior which I don't remember. Is this not the case?

Frankly I don't know. I remember there was a whole thread (https://forum.thirtybees.com/topic/1095/paypal-6-0-0-beta-the-final-push-for-victory) dedicated to paypal v6, but that seems to be deleted since. So that knowledge is gone forever.

I could find only one bug on github regarding v6 (redundant api calls on every page). While that's unfortunate, it's not something that should prevent using that version of the module. But I'm sure there is the reason nobody is using it. But it would be great if we have those reasons tracked as github issues, otherwise we can never fix this.

Here we need merchants help. Please test v6, if you can, and let us know what does not work. So we can finally resolve this paypal hell.

There are 2 sites in Cache:

https://webcache.googleusercontent.com/search?q=cache:BkN0CQt2f3EJ:https://forum.thirtybees.com/topic/1095/paypal-6-0-0-beta-1-the-final-push-for-victory/34+&cd=13&hl=de&ct=clnk&gl=de

https://webcache.googleusercontent.com/search?q=cache:tn9YOV1z3MAJ:https://forum.thirtybees.com/topic/1095/paypal-6-0-0-beta-the-final-push-for-victory/74%3Fpage%3D5+![cd=12&hl=de&ct=clnk&gl=de]

On 1/12/2019 at 12:54 AM, datakick said:

Frankly I don't know. I remember there was a whole thread (https://forum.thirtybees.com/topic/1095/paypal-6-0-0-beta-the-final-push-for-victory) dedicated to paypal v6, but that seems to be deleted since. So that knowledge is gone forever.

I could find only one bug on github regarding v6 (redundant api calls on every page). While that's unfortunate, it's not something that should prevent using that version of the module. But I'm sure there is the reason nobody is using it. But it would be great if we have those reasons tracked as github issues, otherwise we can never fix this.

Here we need merchants help. Please test v6, if you can, and let us know what does not work. So we can finally resolve this paypal hell.

I actually did use the v6 beta for a couple weeks last year and I don't remember having any issues, but decided to use the stable version, because, well, it's the stable version. lol

Edited by Purity

Hi, thank you for this information.  Now you are using the stable version - which one is this?  And are there the same problems as described before (from theme opener)?   thank you

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.