Select Payment Method View Being Shown When Only One Payment Method Setup

Started by paulmorrislrd, January 28, 2015, 18:18:22 PM

Previous topic - Next topic

paulmorrislrd

Hi,

JOOMLA VERSION: 2.5.28
PHP VERSION:5.5.20
VIRTUEMART VERSION:2.6.14

we are using the Secure Trading "VM Payment - Secure Trading Payment Pages" to handle payment on our site. We only have one Payment Method set up in the VirtueMart admin, which uses this plugin and payment method. However, in our cart when we hit "Proceed to Checkout" a screen is being shown asking the user to "Select the payment method" with only one in the list pre-selected - this is of course the one we have in there.

It wasn't doing this this morning. It was going straight to the Payment Page with Secure Trading and just taking the single Payment Method as the merchant to use for payment. What's worse is that when we hit "Save" on that select payment page it just gets stuck in a loop and can never recover. Saving takes you back to the cart page. Hitting proceed takes you to the select payment page and so on and so on in that horrible loop.

As far as we can tell nothing has changed back-end, it just seems to have started doing this. We have tried removing the payment method and adding. Disabling the plugin and reenabling. Changing the order ID of the payment method from 0 to 1, and 1 to 0 etc. We've made sure that "Enable automatic selected payment?" is ticked in the configuration. Nothing changes this horrible loop.

Any ideas?

GJC Web Design

afraid I have no ideas apart from the old adage that code can't write its self..  something has changed...

updates?, new ext.? look at file dates etc etc-- ask 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

paulmorrislrd

Quote from: GJC Web Design on January 28, 2015, 18:57:04 PM
afraid I have no ideas apart from the old adage that code can't write its self..  something has changed...

updates?, new ext.? look at file dates etc etc-- ask the host

I happen to agree with you. Unfortunately, it's my remote web developer who has developed the site (i'm a mobile app developer so this code base is entirely foreign to me). All I know is that it worked, then he made some changes to the plugin to be able to extract the "authcode" from the redirect notification that comes back from the Payment Provider, and then it suddenly doesn't work. He swears no changes have been made but I don't even know where to begin looking in this huge file structure and he's gone awol.


GJC Web Design

hard to believe changes to the payment plugin return (the functions in the payment plugins are all separate) could cause this

but

if that is the time that this started then draw your own conclusion...

needs debugging.. cart.php, vmsplugins.php and the payment plugin
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

paulmorrislrd

The problem was solved at 2am in the morning by deleting the Secure Trading Plugin and re-installing. Effectively the equivalent of turning it off and turning it back on.

Have a new problem now but this whole Joomla and VirtueMart thing has beaten me down.

GJC Web Design

Quotedeleting the Secure Trading Plugin and re-installing

so putting it back how it was before your developer got at it?
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