Author Topic: Payment plugin with credit card name  (Read 1812 times)

Stephen Roberts

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 142
    • SundaySchool.com
Payment plugin with credit card name
« on: December 05, 2011, 21:43:28 pm »
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

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26992
  • Always on vacation
    • Jenkin Hill Internet
Re: Payment plugin with credit card name
« Reply #1 on: December 05, 2011, 22:52:46 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

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.0.9935 on Joomla 3.8.12 PHP 7.0.31
Testing VM 3.4.0.9941 on Joomla 3.8.12

alatak

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2045
    • alatak.net
Re: Payment plugin with credit card name
« Reply #2 on: December 08, 2011, 09:20:02 am »
Hi,

Quote
The 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.