Author Topic: Cart not diverting to PayPal redirect to home page  (Read 1612 times)

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3700
  • using Matomo instead of Google Analytics
Re: Cart not diverting to PayPal redirect to home page
« Reply #15 on: March 15, 2020, 23:31:44 pm »
I'm out of ideas, too. Did you check already, if the same happens with the Beez3 or Prototype template? I guess you are using the T3 framework, but it's difficult to see what's loaded if jch-optimize is active. Maybe look into your error.logs?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

lumis

  • Jr. Member
  • **
  • Posts: 56
Re: Cart not diverting to PayPal redirect to home page
« Reply #16 on: March 16, 2020, 03:39:28 am »
I would check your old VPS php.ini settings for things like memory or max_input or whatever you might be using excess resources of. In a shared environment, you are only allocated basic resources, some of which you can manually increase via php.ini files. This may cause unexpected results, and you may now have lower limits on some settings than you did before when everything worked correctly.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9905
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Cart not diverting to PayPal redirect to home page
« Reply #17 on: March 16, 2020, 09:39:07 am »
what are the specs of your new hosting? -- I like to run VM on +256MB memory for best results
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

PaulLye

  • Beginner
  • *
  • Posts: 12
  • A beginner
Re: Cart not diverting to PayPal redirect to home page
« Reply #18 on: March 16, 2020, 10:00:01 am »
Just looking at settings of PHP ini 512M is the memory limit, max_execution_time 90, max_input_time 90, max_input_vars 1420, post_max_size 128M, upload_max_filesize 64M
The errors are attached

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27955
  • Always on vacation
    • Jenkin Hill Internet
Re: Cart not diverting to PayPal redirect to home page
« Reply #19 on: March 16, 2020, 10:51:34 am »
wp-admin  wordpress ???
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.7 10374 on Joomla 3.9.23 PHP 7.4.12

PaulLye

  • Beginner
  • *
  • Posts: 12
  • A beginner
Re: Cart not diverting to PayPal redirect to home page
« Reply #20 on: March 16, 2020, 12:04:45 pm »
Please have a look at the first post I made

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3143
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Cart not diverting to PayPal redirect to home page
« Reply #21 on: March 16, 2020, 14:32:56 pm »
Changed server (Checked with hosting and the errors are pointing to VM) When adding items to cart in VM then select payment it brings up "Please wait redirecting to PayPal" all good to this point but then diverts to home page. My site s running Joomla 3.9.16 PHP 7.3 Virtuemart 3.6.10 PayPal standard is the payment plugin. Testing this after being diverted to the home page if I delete browsing history front end then select the home page it takes me to PayPal payment page!
Has anyone experience this problem and if so how to fix?

Your first post does not explain why You have wp-admin and wordpress errors on the same URL ??

Are these errors from the correct install ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9905
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Cart not diverting to PayPal redirect to home page
« Reply #22 on: March 16, 2020, 14:57:39 pm »
I also don't think any errors will appear here .. the paypal plugin JS is trying to post a simple html form to paypal.com

You have still never answered what happens when you manually post the form from the debug
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

PaulLye

  • Beginner
  • *
  • Posts: 12
  • A beginner
Re: Cart not diverting to PayPal redirect to home page
« Reply #23 on: March 16, 2020, 22:05:02 pm »
Sorry I misunderstood. When I test the payment plugin I cannot see the error. How do you find the error loading when testing at inspect page?

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3700
  • using Matomo instead of Google Analytics
Re: Cart not diverting to PayPal redirect to home page
« Reply #24 on: March 17, 2020, 00:52:13 am »
More guesses:
Your template JD Boston claims: "JD Boston has inbuilt Virtuemart Integration that allows you to create highly functional and responsive online store". Sounds to me like it contains custom features, which might not be compatible with the latest VirtueMart version. According to the changelog of the free version it was last tested with Joomla 3.9.12 and VirtueMart 3.6.2. In case of doubt, ask the developer if it's tested with the latest VirtueMart.

In my Firefox inspector I noticed that you probably have a 'lazyload' plugin enabled. Check if switching it off helps.
Also I noticed K2 stuff, which you probably don't need. And perhaps temporarily disable the slideshow to check if it makes a difference.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

PaulLye

  • Beginner
  • *
  • Posts: 12
  • A beginner
Re: Cart not diverting to PayPal redirect to home page
« Reply #25 on: March 17, 2020, 01:29:36 am »
Thank you, I will ask the developer of JD Boston. I have tried disabling Lazyload and I had turned of K2 store neither made a difference. If I cannot sort this out soon I will start with a fresh temple and start over as I cannot afford to have the site not working.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9905
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Cart not diverting to PayPal redirect to home page
« Reply #26 on: March 17, 2020, 10:42:53 am »
I am still not clear what happens when u have Paypal debug on?

The page loads with all the relevant info and a large button to click to go further to Paypal .. does this work?
Do u go to paypal or back to the home page?

If homepage then u have some sort of redirect that is preventing u going to Paypal .. if Paypal then u have some sort of JS problem that is not submitting the form

Have u tried http://dev.virtuemart.net/attachments/1243/VirtueMart3.6.10_Joomla_3.9.13-Stable-Full_Package.zip ?
Throw it in a subfolder and see if it works..

The most suspicious part is u say it worked as a VPS and now doesn't as a shared .. so I think this points to the host
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation