Clear creditcard details after payment

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Clear creditcard details after payment

Postby neil@.....uk » Mon Aug 27, 2012 12:23 am

Hi there, how can I clear the credit card fields after a payment in processed? It's quite a major security issue on the site for anyone using a shared computer.

Once the user inputs the creditcard details and the payment is processed.... The card details remain on the form instead of being cleared. This is especially nasty for guest transactions as there is no 'log out' button to reset the form.

If navigating away from the page, and then back to the cart, the credit card details are still shown in the input boxes.
neil@.....uk
 
Posts: 7
Joined: Mon Jul 30, 2012 7:11 pm

Re: Clear creditcard details after payment

Postby admin » Mon Sep 03, 2012 7:20 pm

hello, the CC data are purely handled with virtuemart and payment plugins. Our component cannot clear the data as each of the online payment processors's plugins use different input names for the data.

You should not use browser (back/forward) buttons on any security related site. Which payment plugin are you using? The input code should include html of autocomplete="off" to prevent any data saving with autocomplete javascript or browser's internal memory.

From the point of our extension, what we can do to prevent data saving when using browser buttons - we can reload the payment html code with ajax on each page view.

Best Regards,
Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 2