Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / YourPay/LinkPoint - Credit Card kind or type?

YourPay/LinkPoint - Credit Card kind or type?

Locked

Views: 2,304

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
12 Jul 2006, 1:07 PM
#1
rickyirvine avatar

rickyirvine

New Zenner

Join Date:
Jun 2006
Posts:
6
Plugin Contributions:
0

YourPay/LinkPoint - Credit Card kind or type?

Forgive me if this has been discussed already. But I couldn't find anything, and I'm in a bit of a "pinch" with a client.

We're running ZenCart 1.3.0.2 running our YourPay account through the 1.3 LinkPoint/YourPay payment module.

Here's what they are telling me they really want/need: user option to select what kind of credit card they are using, and then they also need that info sent to them with either the first or last 4 digits of the credit card.

I really need help figuring this out a.s.a.p. Please and thank you!

12 Jul 2006, 1:17 PM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: YourPay/LinkPoint - Credit Card kind or type?

Zen cart was setup as a smart system,
it knows based on the first 4 numbers what kind of card it is,

and with an automatic gateway these numbers are not stored at all.

Im curious to know why your client wants or needs these things?

12 Jul 2006, 2:20 PM
#3
rickyirvine avatar

rickyirvine

New Zenner

Join Date:
Jun 2006
Posts:
6
Plugin Contributions:
0

Re: YourPay/LinkPoint - Credit Card kind or type?

I've noticed that it recognizes the card type by the numbers, so I wasn't worried about it. Yet, our client said they need it. Why, I don't know. They mentioned something about processing...beats me.

Is there a way to see the first or last 4 digits at all, though?

12 Jul 2006, 6:13 PM
#4
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: YourPay/LinkPoint - Credit Card kind or type?

it puts the type of card on the invoice,
and no zen cart dosnt store the numbers when the order goes to linkpoint,

12 Jul 2006, 6:21 PM
#5
rickyirvine avatar

rickyirvine

New Zenner

Join Date:
Jun 2006
Posts:
6
Plugin Contributions:
0

Re: YourPay/LinkPoint - Credit Card kind or type?

Oh, if only it did put the type of card on the invoice, that would be splendid! How do I do that? It now only says Payment Type: Credit Card.

14 Jul 2006, 8:49 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: YourPay/LinkPoint - Credit Card kind or type?

You could try editing your order class file to include the CC type on the confirmation email:
in v1.3.0.2, includes/classes/order.php
line 921
change:

      $email_order .= $GLOBALS[$payment_class]->title . "\n\n";

to:```php
$email_order .= $GLOBALS[$payment_class]->title . ' ' . $this->info['cc_type'] . "\n\n";




For the HTML emails, change line 931 from:```php
    $html_msg['PAYMENT_METHOD_DETAIL'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->title : PAYMENT_METHOD_GV );
```to:```php
    $html_msg['PAYMENT_METHOD_DETAIL'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->title . $this->info['cc_type'] : PAYMENT_METHOD_GV );