VirtueMart Payment Method Not functioning Joomla 2.5, VM 2.0.20b

Started by KWinston, September 25, 2014, 21:54:23 PM

Previous topic - Next topic

KWinston

The payment method in our shopping cart no longer prompts for a payment method. Here is the message:  "We are sorry, no payment method matches the characteristics of your order. Please ."

Nothing was changed in the Payment Method nor in the Shopping Cart to account for this issue. No changes were made and it was working perfectly, but now it is not.

Site Store: https://www.i-balllive.com/index.php?option=com_virtuemart&view=cart&Itemid=329


I appreciate your help with this very much. Thank You in advance.

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

KWinston

Joomla Version 2.5.9
VM Version 2.0.20b

Update found.  Cannot update. Here is the message:  JInstaller: :Install: Cannot find XML setup file

Please advise.  I am a Joomla rookie helping someone out.

jenkinhill

http://forum.virtuemart.net/index.php?topic=123808

Test the updates first on a backup copy of the site, as if any template overrides are used they may need editing. Note also you must be using a minimum of PHP5.3.10 and preferably PHP4+
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

KWinston

Thank you for your reply.  You are indeed correct in that the needed updates to VM 2.0.20b were not done.  I am working with this company trying to get their online store functioning again.  The previous site manager was negligent in not making needed updates.  have some, but not a lot of experience with Joomla 2.5 or VirtueMart.  Perhaps you can help by answering these questions.

1.  With the xml files missing, how can I update?  Is it even possible? Can they be restored?
2.  Everything else in VirtueMArt appears to be working perfectly, it is only the prompt to enter payment method.
3.  Is there a short-term workaround I can use to get the payment methods up and running in version 2.0.20b?

I really appreciate you and your help. I seem to have inherited a bag of rocks from the previous admin.  The company who owns the website does basketball sprts training for inner city kids, and it is registration time. 

Any assistance is very much appreciated.

GJC Web Design

1. you MUST update on a clone of the site - if not and it goes wrong you have a broken site with a huge effort to recover it

2. Don't use the Live updater thing!!! It never works

3. D/L the zip http://dev.virtuemart.net/attachments/download/786/com_virtuemart.2.6.10_extract_first.zip - unpack - and istall both zips from the normal Joomla installer

4. then start testing your payment options
turn on the VM debug to try and see why the payment isn't offered

it is normally a wrong filtering in the payment plugin - try setting everything to Available to all and 0

you don't say WHAT 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

KWinston

Thank you for this. I will get right on it and report back.  Your prompt reply is very much appreciated.

KWinston


you don't say WHAT payment plugin?
[/quote]

All transactions are going through the Authorize.net plugin.

Thanks!

KWinston

Quote from: GJC Web Design on September 26, 2014, 23:23:20 PM
3. D/L the zip http://dev.virtuemart.net/attachments/download/786/com_virtuemart.2.6.10_extract_first.zip - unpack - and istall both zips from the normal Joomla installer

4. then start testing your payment options
turn on the VM debug to try and see why the payment isn't offered

it is normally a wrong filtering in the payment plugin - try setting everything to Available to all and 0

you don't say WHAT payment plugin?

I was able to install the update to VM 2.6.1 because of our kind assistance.  Thank you very much.

RE: Testing payment options:

1.  I went to the site after the update and nothing changed.  Still no Payment Method Prompt.
2.  They are using the authorize.net plugin
3.  Not sure where to go to turn on debug and what to look for.
4.  Not sure where to go for plugin filtering. I am not seeing that option in the plugin itself.

Thank you again.

GJC Web Design

the authorize.net plug bundled with VM?

forget debug - that plugin has no debug

the only thing it checks for is shopper group and country

that is the filtering I am talking about

make sure its published, countries available for all and shopper groups  - field empty

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

KWinston

Quote from: GJC Web Design on September 27, 2014, 01:45:03 AM
the authorize.net plug bundled with VM?

forget debug - that plugin has no debug

the only thing it checks for is shopper group and country

that is the filtering I am talking about

make sure its published, countries available for all and shopper groups  - field empty

Yes. It is the authorize.net plugin bundled with VM. Published available for all with shopper groups field empty.

Shopping Cart has the Bill to/ Ship to fields- all correct.
Shipment Information- No Shipping Information Required. (As it should with this product)
Payment Method: We are sorry, no payment method matches the characteristics of your order. Please .

Which "characteristics of the order" is this referring to?  No Payment Method prompt like it did before. A shopper was prompted to select their payment method and continue to check-out.

I am really at a loss.  I updated to VM 2.6.10 an the issue remains.  I haven't a clue where to begin to look for this.  You help is very much appreciated.  Thank you for taking the time to assist me.

GJC Web Design

the only check by the std Authorize plug is country and amount value in cart (assuming it passed the shopper group check handled by the core vmpsplugin)
in the function protected function checkConditions

plugins/vmpayment/authorizenet/authorizenet.php line 270 you could try

protected function checkConditions ($cart, $method, $cart_prices)
   {
               //add this here
                   return TRUE;
              //add this here


      $this->convert_condition_amount($method);
      $amount = $this->getCartAmount($cart_prices);

to see what happens - it may be because you don't require an address?
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

KWinston

I will check this out.  I want to sincerely thank you for your help in diagnosing this issue.  It speaks very highly of you and is a huge service to others who may run into this problem.  I will get in there and check this out and let you know.  Cheers!

KWinston

Quote from: GJC Web Design on September 27, 2014, 11:47:16 AM
the only check by the std Authorize plug is country and amount value in cart (assuming it passed the shopper group check handled by the core vmpsplugin)
in the function protected function checkConditions

plugins/vmpayment/authorizenet/authorizenet.php line 270 you could try

protected function checkConditions ($cart, $method, $cart_prices)
   {
               //add this here
                   return TRUE;
              //add this here


      $this->convert_condition_amount($method);
      $amount = $this->getCartAmount($cart_prices);

to see what happens - it may be because you don't require an address?

My heartfelt thanks for your kind assistance in resolving this issue. I edited the authroize.net php files adding the //add this here
                   return TRUE;
              //add this here

and the PAYMENT METHOD fields are now visible and functioning.

I encountered a small issue upon checkout. When I click the CONFIRM PURCHASE button the page goes to:

https://www.i-balllive.com/index.php?option=com_virtuemart&view=opc&controller=opc&task=checkout

Page is completely blank.  The purchase is not being completed.

Did some research and found this previous forum post:

---------------------------------------------------------------------------
alatak
Development Team
Hero Member

Re: Blank page after Authorize.net payment

Quote
, I get a blank page instead of seeing a confirmation page. I turned on maximum errors, and it still showed blank.

Try to turn on the error report to maximum and set the VM debug option to all.
------------------------------------------------------------------------------------------

Perhaps this applies? I do not know where to go to 'Turn on the error report to maximum.'

I did set the VM debug to 'all.'

Any thoughts?

Your help is appreciated.  Cheers!



GJC Web Design

remember the
//add this here
                   return TRUE;
              //add this here
is a hack - don't forget it is there and it will need to be redone every VM update
It must be that the plugin reguires an address..

re white screen - normally the server has run out of memory

Your host will be able to tell you what the error is and what you can do about it

Cheers
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