VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Tryer on November 30, 2018, 13:31:20 PM

Title: Strange Checkout Problem
Post by: Tryer on November 30, 2018, 13:31:20 PM
I am using Virtuemart v3.4.2 on a Joomla 3.9.0 site, with php7.2.

At checkout, I have only Standard Paypal set as a payment method. This works for me, as admin, but when anyone else, registered or unregistered user,  tries to checkout (ie confirm purchase) they are not directed to Paypal. They are just presented with a screen inviting input of billing details and there is no way to continue even after completion of all the fields.

Any ideas as to what might be going wrong would be very welcome.
Title: Re: Strange Checkout Problem
Post by: GJC Web Design on November 30, 2018, 13:34:10 PM
Quotethere is no way to continue even after completion of all the fields.

what does this mean?
Title: Re: Strange Checkout Problem
Post by: Tryer on November 30, 2018, 14:46:56 PM
Thanks for your reply. It means that there is no "continue" or "confirm purchase" button to click. See attached image.
Title: Re: Strange Checkout Problem
Post by: Jörgen on November 30, 2018, 15:13:21 PM
A template issue, buttons hidden by css, try protostar. Could be visible to the left of image, hard to tell.

Jörgen @ Kreativ Fotografi
Title: Re: Strange Checkout Problem
Post by: jenkinhill on November 30, 2018, 16:06:26 PM
The billing details are empty, yet marked as required. With standard Paypal you cannot proceed unless the billing details are completed.
Title: Re: Strange Checkout Problem
Post by: Tryer on November 30, 2018, 16:36:29 PM
Thanks for the comments. The template is up to date and hasn't previously caused problems - although I know there is always a first time! Is there something in Joomla 3.9 that might have upset things?

Trying protostar is easy to say but hard to do - I would have to redesign the website.

Yes, the billing details fields are empty - that is because when they are filled in and the user presses "save", the same screen returns with the fields once again empty.

Finally, if it is a template issue, why does it work OK when I, as administrator, log in and checkout?
Title: Re: Strange Checkout Problem
Post by: Jörgen on November 30, 2018, 16:54:08 PM
Quotecom_virtuemart...etc...?template=protostar

You do not have to redesign You whole site, testing checkout with protostar is easy.

When did this happen, what have You updated ?
Are PayPal settings ok ?

Jörgen @ Kreativ Fotografi
Title: Re: Strange Checkout Problem
Post by: jenkinhill on November 30, 2018, 16:54:39 PM
You don't have to redesign to use protostar. Just select it as the site template and test the checkout - that would use the default VM template system. It is just a test!

As a superadmin, presumably you are also a registered shopper, your billing details already entered and saved as store vendor.
Title: Re: Strange Checkout Problem
Post by: Tryer on November 30, 2018, 17:02:12 PM
Ok, but don't know how to do it. If I select Protostar as the default template the site no longer works in a recognizable fashion - I have tried.

It seems to me that they key issue is why it works for me, as admin, but not seemingly for anyone else.
Title: Re: Strange Checkout Problem
Post by: Tryer on November 30, 2018, 17:15:30 PM
I dont' know exactly when this happened. I wondered whether iw as to do with the upgrade to Joomla 3.9.1, which is why I restored the site to Joomla 3.9.0 - but no difference. I have also reloaded Virtuemart, although that also made no difference.
Title: Re: Strange Checkout Problem
Post by: GJC Web Design on November 30, 2018, 18:10:24 PM
QuoteIt means that there is no "continue" or "confirm purchase" button to click. See attached image.

what is the save button at the top?

Why don't u post the url so someone can have a look?

Rule to remember : never test your public site as an admin!  Your potential customers are not admins!
Title: Re: Strange Checkout Problem
Post by: Tryer on November 30, 2018, 18:14:14 PM
Point taken about not testing a site as admin! The url for the shop is http://www.openphotographicsociety.org/shop-and-tools/shop/all-products. Paypal is the only payment method so you can safely try to make a purchase provided you stop if you reach Paypal login.

Thanks for the reply.
Title: Re: Strange Checkout Problem
Post by: GJC Web Design on November 30, 2018, 18:53:02 PM
Your edit_address.php or edit_address_userfields.php template is broken

http://www.openphotographicsociety.org/shop-and-tools/shop/user/editaddresscartBT?template=protostar

works fine ( scroll down past the broken menu)

the bottom buttons appear and work

on your template there is an extra fieldset and the form is closed BEFORE the hidden fields are included so the form posts no where

as there appears to be no real changes in your files I would just replace your

http://www.openphotographicsociety.org/templates/jsn_tendo_pro/html/com_virtuemart/user/ files with the standard ones

Title: Re: Strange Checkout Problem
Post by: Tryer on November 30, 2018, 20:14:01 PM
Thanks very much for this invaluable lead. I have overwritten the  http://www.openphotographicsociety.org/templates/jsn_tendo_pro/html/com_virtuemart/user/ files with the standard ones as you suggested, but this seems to have made no difference. There is still no option to check out a a guest (allowed in the configuratuion), and there is no bottom "Save" button. When the billing fields are populated and the top "Save" button is clicked, the same screen returns with empty fields.
Title: Re: Strange Checkout Problem
Post by: GJC Web Design on November 30, 2018, 22:35:45 PM
Quotethere is no bottom "Save" button. When the billing fields are populated and the top "Save" button is clicked, the same screen returns with empty fields.

as I explained....

the templates must be "somewhere else" then but no one can know without some investigation..

As i showed u it works perfectly with protostar so it is YOUR template

http://www.openphotographicsociety.org/shop-and-tools/shop/user/editaddresscartBT?template=protostar
Title: Re: Strange Checkout Problem
Post by: Tryer on December 01, 2018, 09:54:00 AM
OK, I accept that this is caused by the template and will pursue the matter with the source of the template. Thankyou (all) for your help. At least I know where I am going now!

I am very grateful.
Title: Re: Strange Checkout Problem
Post by: GJC Web Design on December 01, 2018, 16:04:30 PM
Just try replacing the whole template html/com_virtuemart/ folder with the standard views
Title: Re: Strange Checkout Problem
Post by: Tryer on December 01, 2018, 16:34:34 PM
OK, I did that but still no difference. This is also of course the latest version of the template! I assume that it must be some sort of bug in the template and I have posted the problem on the Joomlashine support forum. Waiting for a reaction!

Once again, I appreciate your help and will post again when I have heard from Joomlashine - it may be a day or three!