News:

Support the VirtueMart project and become a member

Main Menu

Payment plugin with credit card name

Started by Stephen Roberts, December 05, 2011, 21:43:28 PM

Previous topic - Next topic

Stephen Roberts

I'm building a payment plugin right now (similar to Authorize.net) that processes credit cards. The VirtueMartCart does not have a field for the name on the credit card (cc_name). I tried setting cc_name, but after checkout, cc_name is wiped since it's not inherently part of the cart. At this point it looks like I'll have to use the billing name as the name on the card for processing, but isn't it bad to assume that the name on the card matches the name on the billing address? Shouldn't there be a field for the name on the credit card?
Sell downloadable (virtual) products in VirtueMart 2 and deliver downloads via local server, Amazon S3, and more! http://www.digitollsoftware.com

jenkinhill

Quote from: stephenroberts on December 05, 2011, 21:43:28 PM
Shouldn't there be a field for the name on the credit card?

Yes, that is a requirement - at least in the UK.
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

alatak

Hi,

QuoteThe VirtueMartCart does not have a field for the name on the credit card (cc_name).
The payment plugin should save in the session the fields (credit card name, and credit card number). It does need to be in the cart.