VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: Stephen Roberts on December 05, 2011, 21:43:28 PM

Title: Payment plugin with credit card name
Post by: Stephen Roberts 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?
Title: Re: Payment plugin with credit card name
Post by: jenkinhill on December 05, 2011, 22:52:46 PM
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.
Title: Re: Payment plugin with credit card name
Post by: alatak on December 08, 2011, 09:20:02 AM
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.