News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Cart not diverting to PayPal redirect to home page

Started by PaulLye, March 11, 2020, 22:21:42 PM

Previous topic - Next topic

jjk

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

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

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

PaulLye

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

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

PaulLye


Jörgen

Quote from: PaulLye on March 11, 2020, 22:21:42 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

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

PaulLye

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

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

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

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation