Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

C'mon! Anybody!!!


grannystone

Recommended Posts

Posted

Is getting a partial credit card number (first four or last four digits) to show up on the orders page really that difficult???

 

I'm using the LinkPoint payment module... I'm going insane searching this forum and I got NOTHING!

zomething fishy?

Posted

If the Linkpoint module is anything like the authnet module the card number shouldn't be stored onsite at all. This is a feature.

 

And don't call me Shirley...

 

 

 

 

 

 

 

 

 

 

 

 

 

Sorry. Had to do it.

Iggy

Everything's funny but nothing's a joke...

Posted
Is getting a partial credit card number (first four or last four digits) to show up on the orders page really that difficult???

 

I'm using the LinkPoint payment module... I'm going insane searching this forum and I got NOTHING!

If you use the LinkpointMS1andMS2_1_3.zip mod, then the entire cc number shows up in admin. You can then add the clear cc number mod to add a radio button. When processing an order, check the button and click update. CC number is deleted from the DB.

 

Tim

Posted
If the Linkpoint module is anything like the authnet module the card number shouldn't be stored onsite at all. This is a feature.

 

And don't call me Shirley...

Sorry. Had to do it.

Iggy

 

Thanks nitz,

I'm not talking about storing the credit card number, I'm talking about having the last four digits show on the orders page in it's designated space. I know the last four are sent back from LinkPoint... The LinkPoint module obviously has buggs that haven't been worked out

zomething fishy?

Posted
If you use the LinkpointMS1andMS2_1_3.zip mod, then the entire cc number shows up in admin. You can then add the clear cc number mod to add a radio button. When processing an order, check the button and click update. CC number is deleted from the DB.

 

Tim

 

Thanks. I checked that out but it looks like that mod is for LinkPoint API... I'm using LinkPoint Basic.

zomething fishy?

Posted

Put this in your admin/orders.php where you want the cc number masked with only the last 4 numbers showing.

 

ie. XXXXXXXXXXX1234

 

 

Heres the code:

 

<tr>

<td class="main" width="20%"><?php echo ENTRY_CREDIT_CARD_NUMBER; ?> <?php

 

// BEGIN credit_card_show_last_4

// Only want to show the last 4 digits of the credit card number.

// Other digits will be represented with an 'X'.

$len = (strlen($order->info['cc_number']) - 3); $masked_cc_number = '';

for($i=1; $i<$len; $i++) {

$masked_cc_number .= 'X';

} // for

$masked_cc_number .= substr($order->info['cc_number'], $len - 1, 4);

echo $masked_cc_number

// END credit_card_show_last_4 ?>

</td>

</tr>

Posted
Put this in your admin/orders.php where you want the cc number masked with only the last 4 numbers showing.

 

ie. XXXXXXXXXXX1234

Heres the code...

 

Thanks a lot Don, I'll try this.

zomething fishy?

Posted
Put this in your admin/orders.php where you want the cc number masked with only the last 4 numbers showing.

 

ie. XXXXXXXXXXX1234

Heres the code...

 

Still no go... It made things look a bit different on the orders page, but the same info shows up as before (no CC). Correct me if I'm wrong, but I think it has to do with the info that's being returned to the cart by LinkPoint not being properly recorded in the orders page...

zomething fishy?

  • 2 weeks later...
Posted
Put this in your admin/orders.php where you want the cc number masked with only the last 4 numbers showing.

 

ie. XXXXXXXXXXX1234

Heres the code:

 

<tr>

<td class="main" width="20%"><?php echo ENTRY_CREDIT_CARD_NUMBER; ?>?<?php

 

// BEGIN credit_card_show_last_4

// Only want to show the last 4 digits of the credit card number.

// Other digits will be represented with an 'X'.

$len = (strlen($order->info['cc_number']) - 3); $masked_cc_number = '';

for($i=1; $i<$len; $i++) {

$masked_cc_number .= 'X';

} // for

$masked_cc_number .= substr($order->info['cc_number'], $len - 1, 4);

echo $masked_cc_number

// END credit_card_show_last_4 ?>

</td>

</tr>

 

So I installed the LinkPoint API payment module and the code above and it's working. Took me quite a few trials to get the last four digits of the credit card number to show up in the Notification Email, but got it working... Thanks a lot!

zomething fishy?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...