#311 PayPal Checkout 'Wobble"

Posted in ‘Technical Support / Bugs’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Chris Elliott on Wednesday, 15 October 2025 10:53 UTC

Chris Elliott

Using only the standard Paypal Standard for J2Store plugin, on occasion when a buyer reaches the Confirm Order stage, instead of seeing the Order Summary and Payment Method sectio and the "Place Order" button, we ocasionally see :

J2STORE_CHECKOUT_ERROR_PAYMENT_METHOD_NOT_SELECTED

With only one payment method available its always selected so I am puzzled why we see the message (and also why we see no language script for it in en_GB.COM_j2store.ini) - I have set as an override manually on this occasion.

Adam Melcher

Chris,

I myself have dealt with that same issue as even though it's selected, it sometimes doesn't come through in Javascript so one method to ensure you never have to run into that again (until we can issue the fix for it) is to not select PayPal as the default payment option in your Configuration settings (Cart tab) so the shopper will always have to click it to go to the next page. Having one extra click is a better alternative to the poor UX of getting that error message (in my opinion)>

Adam

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

Chris Elliott

Hi Adam

Though difficult to reproduce, I have tried your suggestion. As I only have that single payment plugin enabled, despite clearing the option in Config > Cart > Default payment method, the option is reestablished as PayPal upon save. Consequently on the cart page, the option cannot be chosen.

Chris Elliott

Hey Adam

This is still happening.

I looked at your suggestion 'to not select PayPal as the default payment option in your Configuration settings (Cart tab) so the shopper will always have to click it to go to the next page.'

but I found it impossible to 'not' select PayPal.

in my case I only have the 'Paypal Standard for J2Store'  plugin enabled and if I clear the default payment chooser and save the cart settings, Paypal is auto showing upon revisiting the cart settings. As a result the option is automatically selected in the front end.

its very frustrating to have error emails from buyers mid way through a campaign, particularly when 98% of orders have no issue.

any chance you could push this up the fix list?

I can mail you login credentials to the store if it helps you.

cheers

chris

Adam Melcher

Chris,

 

Update the credential fields so I can take a look and try to see what is going on.

 

Adam

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

System Task
System Task
The ticket information has been edited by Chris Elliott (Chris@tapiochre.co.uk).

System Task
System Task
The ticket information has been edited by Chris Elliott (Chris@tapiochre.co.uk).

Chris Elliott

Different website - updated credentials.

Chris Elliott

Hi there

I found /components/com_j2store/controllers/checkouts.php is where 'J2STORE_CHECKOUT_ERROR_PAYMENT_METHOD_NOT_SELECTED' is presented if validation fails:

// Validate if payment method has been set.
$orderpayment_type = trim($orderpayment_type);
if (($showPayment == true && !$session->has('payment_method', 'j2store')) || empty($orderpayment_type)) {
$errors[] = JText::_('J2STORE_CHECKOUT_ERROR_PAYMENT_METHOD_NOT_SELECTED');
}

if(!$errors) {

...

Looks like the $session could be the issue.

Would commenting this section or the 'if($errors)' section of code break everything or is is a way to mitogate the error and allow the payment porcess to proceed regardless of the selection of the payment methos as, in my case, we only have one enabled by default?

Just wondering!

C

 

Chris Elliott

Hey Adam, is PayPal Pro v4.0.1 a fix for the above?

Stay Updated

Subscribe for free and be the first to know about the latest features, updates, and new additions.