Cart Empty for Guests returning from PayPal/Amazon

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
I have two sites running under the multi-site option for our install of nopCommerce 4.0.

When using Chrome, if a guest on the first site goes to PayPal, when they return they get a message that the cart is empty. On the second site, if they go to Paypal and return, the cart items are there.

This only happens in Chrome, and only for guest accounts.

To re-create, go to:
https://www.deepblueyachtsupply.com

And add a product to the cart. On the cart page, click the PayPal express button. Then sign into paypal and return.

To see what it should do, go to:
https://www.propellerdepot.com

And follow the same.

Anyone have any clue on why the main site does not maintain the guest cart items when returning? Machine keys are set, etc.

Thanks!
Justin
5 years ago
Are you using paypal express from which vendor ?

Thanks,
Jatin
5 years ago
It doesn't matter. I have tried the one from the nopCommerce development team, and a third party one. The one installed now is from FoxNetSoft, but again, I can switch it to the from nopCommerce and the result is the same.
5 years ago
Hi,

This should be multi-store configuration issue in Plugin. Need to check configuration and code as well..

Thank you,
Atul
5 years ago
The PayPal Express plugin developed by the nopCommerce team does not have multi store capability. However, if I install it and run it for first site, it does not work. If I run it for second site, it works. This is the same as the one currently installed that does allow multi-store.

Force SSL is set to True, but I am going to add the re-write rule on IIS to force SSL from there. Maybe that fixes it.
5 years ago
justinhof wrote:


And add a product to the cart. On the cart page, click the PayPal express button. Then sign into paypal and return.



I follow same steps and it seems working.

I added item in cart, redirect to cart page, clicked on Paypal Express button.
Sign in Paypal Popup with valid credential and click on cancel payment and redirect to store and there item still in cart.

I tried one more time,
added item in cart, redirect to cart page, clicked on Paypal Express button. Sign in Paypal Popup with valid credential and close paypal popup and refresh cart page and item still in cart page.
5 years ago
Are you using Chrome?

Other browsers work. It is only Chrome, and only for guests who visit the main site, https://www.deepblueyachtsupply.com

I just tried it again from a completely different PC on a different network, and the same issue. I will apply the rule tonight and see if that fixes it though.
5 years ago
Added the SSL rewrite rule and still no luck.

I was wrong on other browsers working though. I cannot get it to work if you click the buy button after logging in on any browser.
5 years ago
Hi,

Can you do one thing? Create a staging site same as your current website with multi-store setup and configure this payment gateway on staging with sandbox credentials.

Then test both stores. If it shows same behavior on staging then disable store on which it is working for now and re-configure plugin for store for which it is not working and then test.

As plugin you said does not support multi-store then how have you configured it for two stores under same nopCommerce installation?

I think you need to extend plugin to support multi-store features properly and then integration it in your nopCommerce website again.

But having a staging website always save us from errors that we face in production.

Willing to help.. :)

Thank you,
Atul
5 years ago
I have set up a test site. It is only the first, main site. This site has been running since version 3.2 or so.

I can have this plugin run on the main site, and use Limit to Stores to the first one. Then can use another on the second.
https://www.nopcommerce.com/p/1149/paypal-express-payment-plugin-nopcommerce-team.aspx

Or I can use this one as a multi site.
https://www.nopcommerce.com/p/2700/paypal-express-checkout-foxnetsoftcom.aspx

Looking at dev tools when the request comes back, it has the token and payerId. Just on the first site, it routes to an empty cart.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.