Friday, April 19, 2024
Text Size

Suspension of plugins development

Important information - October 2023

We have taken the difficult decision to suspend development, before further decision and arrangements for our customers.
 

You need to be a subscriber in order to receive support. We provide free documentation for our extensions, accessible for everyone to read. If you want to ask a pre-sales question, you don't have to be a subscriber. Just use the Contact Us link at the top or footer of the site.

Subscribe

Please make sure that your question is not answered in the documentation, or in the tickets below before submitting a ticket for support. It will save you time!

#110 – Card number non valid

Posted in ‘Stripe for VirtueMart’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Monday, 05 March 2018 17:30 GMT
faby
 Hello,
i'm using VirtueMart 3.0.12 and latest version of your stripe plugin. I'm in test mode and on localhost to setup and try all but when i try to use the plugin i have errors and some string encoded are as value of input text of cvv and credit card number.
You can check in the attachment.

How can i fix these?
Monday, 05 March 2018 18:00 GMT
herve
Hello Fabio,

Thank you for using our plugin for VirtueMart.

It looks like a server configuration issue. I've seen that before for a client. You should try with another payment method that also have credit card input form: Authorize.net, and Paypal Payment Pro (select the option in the default VM paypal method). You will then confirm or not if it is a configuration problem.

To look at some common errors in the browser, open the JavaScript console:
https://webmasters.stackexchange.com/questions/8525/how-do-i-open-the-javascript-console-in-different-browsers
Then you may see a plain explanation of what is going wrong. Otherwise report it here.

To enable VirtueMart debug, go to VirtueMart > Configuration > Shop (tab), and in the Advanced Settings section,
- set Enable debugging messages to For all,
- PHP Developer mode to For all,
- and, depending of your VirtueMart version, tick the Enable debugging of methods, to have only the shipment and payment methods debug.

Then the VitueMart Debug messages should be displayed at the top of the main content, also in the front end, depending on your template position for system-message-container.

Please let me know what you find.

Kind regards,
Hervé
 
Monday, 05 March 2018 18:23 GMT
faby
Hello,
no error in consolle and i have this in debug



vmdebug PHP 5.4

vmdebug Show All Errors

vmdebug my lfbs

vmdebug $siteLang: it-IT self::$vmlangSef: it self::$_jpConfig->lang it_it DefLang it_it

vmdebug vmTime: time to load config: 0.00780510902404785

vmdebug Start used Ram 14.25M

vmdebug Going to set pw fields unrequired

vmdebug Created new cart

vmdebug getVendorId normal shopper

vmdebug Created new Calculator Instance

vmdebug shipmentmethod La spedizione è gratuita e assicurata con corriere = TRUE for variable weight = 0 Reason: is lower than the set 9999

vmdebug shipmentmethod La spedizione è gratuita e assicurata con corriere = TRUE for variable order amount = 565 Reason: no boundary conditions set

vmdebug shipmentmethod La spedizione è gratuita e assicurata con corriere = TRUE for variable zip = 66023 Reason: is lower than the set 99999

vmdebug shipmentmethod La spedizione è gratuita e assicurata con corriere = TRUE for variable virtuemart_country_id = 105, Reason: Countries in rule or none set

vmdebug vmTime: Time consumed for shipment/payment plugins: 0.162621974945068

vmdebug vmTime: vm view Finished task : 0.299114942550659

vmdebug End used Ram 25.5M

vmdebug Peak memory peak 25.5M


Key folder in safepath unaccessible
Monday, 05 March 2018 18:25 GMT
faby
I attach the screen with some warnings.
I can't try with Authorize.net, and Paypal Payment Pro since i haven't accounts
Monday, 05 March 2018 18:28 GMT
faby
The attachment
Tuesday, 06 March 2018 10:21 GMT
herve
Ciao Fabio,

This is clearly related to VirtueMart, not the Stripe plugin. It may depend on which combination of versions you are using (VirtueMart, Joomla, PHP, ...) and maybe your host set up.

First, please check and fix the error in the debug message:
Key folder in safepath unaccessible 

From the VM panel > Configuration > Templates, check the Safe Path field, and the message and suggestion at the top of the page.

Check if the Safe Path error and PHP warning (mcrypt_encrypt() key of size 0...) are gone. If not, then step two, check the server logs about the mcrypt() error, and maybe other errors that could be related, and contact your hosting provider for details. Some of them disable or tweak the PHP libraries for their own needs.

Also, you can google and look at the VM forum. There is clearly a bug that was fixed between PHP 5.4 and 5.6, and the mcrypt() behaviour is different from a VirtueMart version to another, see https://forum.virtuemart.net/index.php?topic=133436.0.

If there is no reason to keep an out of date PHP 5.4, I strongly suggest to update to at least the latest PHP 5.6. And same with every extension and components used for the website.

Please let me know how it goes.
Kind regards,
Hervé
 
Wednesday, 07 March 2018 11:23 GMT
faby
Ok i haven't 5.4 as php versione but 5.6. Howewer on production server the system works without problems.
Now i have another problem with paypment name which is not displayed in order details, invoice, email...how can i fix this?
Wednesday, 07 March 2018 11:57 GMT
herve
Ciao Fabio,

That's fine if you want to keep PHP 5.4, at least you are aware of the possible problems.

So is it working as expected in the card fileds now?

Regarding the issue "The payment method description is left blank on the customer confirmation email", it is a hard one, and I've contacted directly a few VM devs after my post on the forum there http://forum.virtuemart.net/index.php?topic=133563.0

It happens with the payment method Authorize.net, included in the default VirtueMart install. I am not better than their developers, and neither of us succeeded to track this bug down. Hopefully it will be fixed soon in a release.

Kind regards,
Hervé
 
Wednesday, 07 March 2018 12:05 GMT
faby
I'm not running 5.4 but vm said that either i'm using 5.6 or 7.x! it's strange.
Howewer yes now all is ok.

About the problem of blank method NAME i'm debbuing it and i found that for stripe the function plgVmOnShowOrderFEPayment is not fired since stripe plugin is not imported as others.
The only vmpayment plugin processed are: klarna, standard, paypal! WTF!! Why?? Have u some ideas about that?
Wednesday, 07 March 2018 12:12 GMT
herve
Maybe check if it is enabled in Extensions > Plugins.
Or try to re-install, the existing settings are NOT overwritten.
 
Wednesday, 07 March 2018 12:23 GMT
faby
It's enabled and i have noticed that the same is with Authorize.net.

SELECT vm.* FROM `#__virtuemart_shipmentmethods` AS vm, #__extensions AS j WHERE vm.`virtuemart_shipmentmethod_id` = "1" AND vm.shipment_jplugin_id = j.extension_id AND vm.published = 1 AND j.element = "weight_countries"
SELECT vm.* FROM `#__virtuemart_paymentmethods` AS vm, #__extensions AS j WHERE vm.`virtuemart_paymentmethod_id` = "6" AND vm.payment_jplugin_id = j.extension_id AND vm.published = 1 AND j.element = "klarna"
SELECT vm.* FROM `#__virtuemart_paymentmethods` AS vm, #__extensions AS j WHERE vm.`virtuemart_paymentmethod_id` = "6" AND vm.payment_jplugin_id = j.extension_id AND vm.published = 1 AND j.element = "paypal"
SELECT vm.* FROM `#__virtuemart_paymentmethods` AS vm, #__extensions AS j WHERE vm.`virtuemart_paymentmethod_id` = "6" AND vm.payment_jplugin_id = j.extension_id AND vm.published = 1 AND j.element = "standard"
SELECT vm.* FROM `#__virtuemart_paymentmethods` AS vm, #__extensions AS j WHERE vm.`virtuemart_paymentmethod_id` = "6" AND vm.payment_jplugin_id = j.extension_id AND vm.published = 1 AND j.element = "skrill"

both stripe and authorize.net are not listed in these queries as u can see...it's very strange as imporPlugin method not consider these 2 payment methods
Wednesday, 07 March 2018 15:27 GMT
faby
ok i have fixed this issue. I don't know why VM doesn't take some payments. I have no time to investigate it but i think is a bug of VM.
Anyway...i have made these modification and now is ok in order details in frontend in email and in invoice:

FILE components\com_virtuemart\views\orders\view.html.php
at line 110 after
$this->payment_name='';

i have added
$model = VmModel::getModel('paymentmethod');
                        $payments = $model->getPayments();

                        foreach($payments as $payment) {

                            if($payment->virtuemart_paymentmethod_id == $orderDetails['details']['BT']->virtuemart_paymentmethod_id) $this->payment_name = $payment->payment_name;
                        }

---------------------------------------------------
FILE components\com_virtuemart\views\invoice\view.html.php at AFTER line 246 in
if (empty($orderDetails['paymentName']) ) {
statement i have added
$model = VmModel::getModel('paymentmethod');
                    $payments = $model->getPayments();

                    foreach($payments as $payment) {

                        if($payment->virtuemart_paymentmethod_id == $orderDetails['details']['BT']->virtuemart_paymentmethod_id) $orderDetails['paymentName'] = $payment->payment_name;
                    }

Wednesday, 07 March 2018 16:49 GMT
herve
Well, I'm sorry, I'm working on a website new template and customisation, so my head is not into plugin events and workflow at the moment.

If it works for you that's the most important. Thank you for sharing your debug and code modification, I will look more into it when I'm back working at this bug.

Please let me know if you need any further assistance with Stripe. And also once the whole setup is working as expected.

Kind regards,
Hervé
 
Monday, 09 April 2018 14:05 IST
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
Thursday, 12 April 2018 21:51 IST
herve
Ciao Fabio,

The version 2.2.2 has been officially released now!
https://www.puma-it.ie/en/joomla-virtuemart-extensions/downloads/download-stripe-for-virtuemart/file/stripe-payment-plugin-2-2-2

Small fixes, and the full set of restrictions, like in Paypal, is now there, with the Italian language package ;-)

I will really appreciate if you could take 3 minutes to post a rating and a review at the Joomla! Extensions Directory (JED), please
https://extensions.joomla.org/extensions/extension/extension-specific/virtuemart-extensions/stripe-for-virtuemart

Thank you for using our Stripe plugin for VirtueMart.

Kind regards,
Hervé
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Hours

Our opening hours are Monday to Friday 09:30 – 17:30 Irish Time (GMT). See our local time.
The ticket system is closed on weekends and outsides these days: you can neither file new tickets or reply to existing ones.

Popular Joomla Posts

Stripe for Joomla & VirtueMart: SCA and PSD 2, Questions and Answers

With the Strong Customer Authentication (SCA) deadline falling on Saturday, 14 September 2019, we received a lot of questions...

Reviews for Stripe for VirtueMart

star starstarstar star 
Functionality

Once you go through the documentation and try out the settings (and don't forget to test it with a "test item", it works like a dream.

Ease of use

Very easy to use, though a little play with the settings may be needed to get an understanding of the system. And you need a stripe account.

Support

Best support ever. Hervé has been very patient and kind and helped me greatly when the Stripe plugin no longer spoke with the new updates.

Documentation

Documentation is very good. You do need a Stripe account, and you need a little "try out" time to get it all in place.

Value for money

Yes, very much value for money. The plugin, Hervé's support, the easy for the customers to use it. It is all worth it.

I used this to: I use it for my IMRF Bookshop: imrfbookshop(.)org. People can now pay by credit/debit card, Paypal (different plugin) and they can request an invoice and pay by bank transfer.
Owner's reply: Thanks a Million for your excellent review! This means a lot to me. And on a early Tuesday morning, you not only you made my day, but you made my whole week! Please accept my sincere gratitude for your feedback and for your trust in my services.
star starstarstarstar 
Functionality

I particularly liked that test and live config is entered once, and a radio button to switch between modes

Ease of use

Straight forward to setup in the backend and easy for customers to use on the frontend.

Support

Issues created by an upgrade to Virtuemart were dealt with in a timely manner by the developer.

Documentation

Good documentation library that uses screen shots to clearly show configurations

Value for money

Yes. There are different subscription options, depending on your requirements.

I used this to: Selling various items of merchandise for a sailing club through Virtuemart.
Owner's reply: Thank you so much Lee! I am very grateful for your review and support!

Easy

15 February 2019
star starstarstarhalf star 
Functionality

Covers all what I need

Ease of use

Very simple installation and very simple tu use it

Support

Excellent !

Documentation

Nearly good

Value for money

Sure !

Owner's reply: I am really thankful for your review on the JED ! Our Documentation has been improved now, also with the addition of Styling and CSS help. Soon it will be available in several languages!
star starstarstarstar 
Functionality

Excellent, very easy to integrate and works well with the OPC we use from Virtueplanet.

Ease of use

Customer simply sees a neat credit card form

Support

Excellent, fast and comprehensive

Documentation

Simple to follow

Value for money

Very competitively priced, license is simple - use on as many domains as you like

I used this to: Multiple ecommerce websites
Owner's reply: Thanks a million Sharkey Consulting! I am very appreciative of your support!
star starstarstarstar 
Functionality

Excellent - does everything we need

Ease of use

Very easy to use, configuration is easy

Support

Excellent - 200 out of 100 if I could :) Herve helped with any queries super quickly

Documentation

We didn't need to use it - the online help was perfect

Value for money

Excellent value, great extension for our needs

I used this to: Selling academic residential conferences
Owner's reply: Thanks a million David! I am very grateful for your appreciation!
star starstarstarstar 
Functionality

It works good and easy with OPC.

Ease of use

Very easy to install.

Support

I had a problem and it was solved fast.

Documentation

Enough

Value for money

good

I used this to: VM shop
Owner's reply: ¡Muchas gracias! I really appreciate your feedback!
star starstarstarstar 
Functionality

Works perfectly.

Ease of use

Very easy to use.

Support

Great support! There were some issues with the template we are using, but Hervé was very helpful and competent to find a solution!

Documentation
Value for money

Absolutely worth the money.

I used this to: An Italian online tea shop.
Owner's reply: Thank you very much for your great review, It means a lot to me!
star starstarstarstar 
Functionality

Functioned perfectly

Ease of use

Easy to use.

Support

Excellent support. Herve installed. Worked perfectly the first time.

Documentation

Easy to understand

Value for money

Worth more... great value.

I used this to: Our Shopping Cart Products on our Website
star starstarstarstar 

This plugin is great! At first I couldn't get it to work with my install of joomla and virtuemart--but the great tech support from Puma-it (Herve) did real right by me, helping me to quickly resolve the problem and get this up and working on my site. Thanks Herve for your great Code and keep up the great work!

Owner's reply: Thank you Sethtc for sharing your review on my plugin and support services! That is the first review, so I feel very proud. Serving our customers as best as we can is rewarding, I know it!