Know the Card Type -- JPos

View: New views
6 Messages — Rating Filter:   Alert me  

Know the Card Type -- JPos

by Bhaktu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Experts,

I am a new for JPos. I am working on a task where I have to integrate the existing payment app with MSR Device. I am able to populate the following fields:
- Name On Card
- Card Number
- Expiry Date
from Mag Stripe reader( ID TECH). But I am not clear how to resolve the following issues:
1- Which Card it is? (VISA, Discover, AMEX, Master.....)
2- Swapped Card is Debit or Credit? Because we accept on Credit Card.

Please help me....


Re: Know the Card Type -- JPos

by Mark Salter-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bhaktu wrote:
> Hi Experts,
Please ask this question on the jpos-users mailing list @ google groups.

This mailing list is for development of jpos, not applications of it 8).

>
> I am a new for JPos. I am working on a task where I have to integrate the existing payment app with MSR Device. I am able to populate the following fields:
> - Name On Card
> - Card Number
> - Expiry Date
> from Mag Stripe reader( ID TECH). But I am not clear how to resolve the following issues:
> 1- Which Card it is? (VISA, Discover, AMEX, Master.....)
> 2- Swapped Card is Debit or Credit? Because we accept on Credit Card.
>
> Please help me....
>
>


--
Mark

Re: Know the Card Type -- JPos

by Mark Salter-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bhaktu wrote:
> Hi Experts,
As this question has been waiting to post for a number of days - yahoo
email notification off?  I will answer here.

>
> I am a new for JPos. I am working on a task where I have to integrate the existing payment app with MSR Device. I am able to populate the following fields:
> - Name On Card
> - Card Number
> - Expiry Date
> from Mag Stripe reader( ID TECH). But I am not clear how to resolve the following issues:
> 1- Which Card it is? (VISA, Discover, AMEX, Master.....)
You need a BIN table from each of the schemes to know for sure.  People
often think the 4=Visa 5=MasterCard, but this is not an accurate test.

As an acquirer, you will be firing your requests into the scheme
directly or via another interface, you might not need to know?  But it
will depend on how you talk to the scheme network.

> 2- Swapped Card is Debit or Credit? Because we accept on Credit Card.
Not sure there is a hard and fast way.  I thought of the Extended
Service code (3 digits following expiry date in track), but only because
for debit, the second character *should* be 2 or 4.  I think the same
detail will be in the BIN table...

Can I ask why do you not want to accept Debit cards?

--
Mark

Re: Know the Card Type -- JPos

by Bhaktu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Mark thanks for your explanation!! We do accept debit card, but problem when user select payment method as Credit Card and swipe debit card instead of credit then I have to show message like 'Please use credit card for this payment as Payment method is Credit Card', something like that....

I hope it will be clear to you now,

Thanks for the help.

Thanks!
Bhagat

--- In jpos-dev@..., Mark Salter <marksalter@...> wrote:

>
> Bhaktu wrote:
> > Hi Experts,
> As this question has been waiting to post for a number of days - yahoo
> email notification off?  I will answer here.
>
> >
> > I am a new for JPos. I am working on a task where I have to integrate the existing payment app with MSR Device. I am able to populate the following fields:
> > - Name On Card
> > - Card Number
> > - Expiry Date
> > from Mag Stripe reader( ID TECH). But I am not clear how to resolve the following issues:
> > 1- Which Card it is? (VISA, Discover, AMEX, Master.....)
> You need a BIN table from each of the schemes to know for sure.  People
> often think the 4=Visa 5=MasterCard, but this is not an accurate test.
>
> As an acquirer, you will be firing your requests into the scheme
> directly or via another interface, you might not need to know?  But it
> will depend on how you talk to the scheme network.
>
> > 2- Swapped Card is Debit or Credit? Because we accept on Credit Card.
> Not sure there is a hard and fast way.  I thought of the Extended
> Service code (3 digits following expiry date in track), but only because
> for debit, the second character *should* be 2 or 4.  I think the same
> detail will be in the BIN table...
>
> Can I ask why do you not want to accept Debit cards?
>
> --
> Mark
>



Re: Re: Know the Card Type -- JPos

by Mark Salter-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bhaktu wrote:
> Hi Mark thanks for your explanation!! We do accept debit card, but
> problem when user select payment method as Credit Card and swipe
> debit card instead of credit then I have to show message like 'Please
> use credit card for this payment as Payment method is Credit Card',
> something like that....
>
> I hope it will be clear to you now,

Ok, the detail from your acquiring network/scheme - in the form of a
table of all BINs (first 6 digits of PAN) combined with indicators like
credit/debit is what you need.

Speak to your network supplier or scheme if going direct, I'm sure they
will be able to help you.


--
Mark

Re: Know the Card Type -- JPos

by Bhaktu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you Mark. I appreciate it.

Thanks!
Bhagat

--- In jpos-dev@..., Mark Salter <marksalter@...> wrote:

>
> Bhaktu wrote:
> > Hi Mark thanks for your explanation!! We do accept debit card, but
> > problem when user select payment method as Credit Card and swipe
> > debit card instead of credit then I have to show message like 'Please
> > use credit card for this payment as Payment method is Credit Card',
> > something like that....
> >
> > I hope it will be clear to you now,
>
> Ok, the detail from your acquiring network/scheme - in the form of a
> table of all BINs (first 6 digits of PAN) combined with indicators like
> credit/debit is what you need.
>
> Speak to your network supplier or scheme if going direct, I'm sure they
> will be able to help you.
>
>
> --
> Mark
>