VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: rajshan on November 22, 2013, 07:15:37 AM

Title: Fake Credit Card
Post by: rajshan on November 22, 2013, 07:15:37 AM
Hi, If we give fake credit card in checkout page it is processing to payment and give confirmed status but i am expecting the rejection status. How to do that in coding or virtuemart configuration menu. Please give me the solution for this.

VISA
Fake credit card no: 4000000000000002
cvv 123



Thanks,
Raj Shan
Title: Re: Fake Credit Card
Post by: GJC Web Design on November 22, 2013, 11:24:18 AM
versions etc?
payment gateway and plugin?
Title: Re: Fake Credit Card
Post by: rajshan on November 22, 2013, 11:46:17 AM
Hi,

Joomla version : 2.5
virtuemart : 2.0.2
Plugin : I have created the new API plugin for virtuemart. The problem is, I need not to accept the face credit card. Now i have faced the problem, which i submit test fake credit card no it is accepting and give the confirmed status but i need to display the rejection status.

My doubt is "How to restrict the fake credit cards in API plugin with virtuemart and where i have to change the code?"

Thanks,
Raj Shan
Title: Re: Fake Credit Card
Post by: GJC Web Design on November 22, 2013, 11:59:40 AM
your VM is so out of date - !

if you wrote your own api then it isn't likely that anyone can help you code it..

you would have to just use standard validation techniques in what ever form your using to collect the info