Rev 10876: Cart not asking for user data on checkout

Started by Alexb65, June 23, 2023, 08:58:23 AM

Previous topic - Next topic

Alexb65

Hi all
I built the version from SVN revision 10876 for development purposes.

When the user clicks the buy button on checkout and he is not registered and has not entered his data, the cart simply reloads the cart page itself with no error or messages.

Previous versions did correctely  redirect the user to let him register or enter his data

I suspect this is somehow related to changes due to the new paypal functionality

Is anyone  else experiencing the same?

Alexb65

#1
I digged a lilltle bit on this problem and discovered that change in rev 10874 is responsable

Reverting the change in file

virtuemart/components/com_virtuemart/controllers/cart.php

line 103 back to

$redirect = (isset($request['checkout']) or $task=='checkout' );

instead of

$redirect = vRequest::getCmd('redirect', null);

in Joomla 4 the registration on checkout issue goes away and the user is correctly asked to enter his data or register

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/