See full credit card number in email

  • Posts: 234
  • Thank you received: 4
11 years 10 months ago #83578

Hello

I have been playing around with the email settings and I want it to show the full card number in the email which I receive. I tried changing the following line

echo "<br/>".JText::_('END_OF_CREDIT_CARD_NUMBER').' : '.substr($data->credit_card_info->cc_number,8);

so that at the end it changed from ,8); to ,16); this was far too simple and thus didn't work. I read in another post that changing the Credit card plugin was needed to get the full credit card number. Could someone please point me in the right direction.

Yours
Iain

Merry Christmas HikaShop.

Please Log in or Create an account to join the conversation.

  • Posts: 234
  • Thank you received: 4
11 years 10 months ago #83752

Oh and how do I get it so that new orders coming through have the customers email address listed.

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 234
  • Thank you received: 4
11 years 10 months ago #83811

Is there a list of the column headers so that I can also include other things in the e-mail. I would like to add how the customer wanted the goods to be posted, carrier, collect, first class.

Yours
Iain

Please Log in or Create an account to join the conversation.

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 10 months ago #84210

Hi,

1/ "substr" function remove characters. So by growing the values, you would displayed less characters.

2/ I do not understand your question

3/ A column headers ?!
I think you want to use some "order custom fields" for your "posted, carrier, collect, first class" information.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 234
  • Thank you received: 4
11 years 10 months ago #84325

It was the fact that I would like to add more information to the e-mails. For example, it doesn't say how the customer would like the parcel shipped (i have several options (next day, carrier, tracked..), give their full address... I have a couple of options for shipping but since the e-mail doesn't give

but only give the cost value. I have to check each order in Joomla back end.

I was hoping, rather than trouble you guys, but there would be a list of all of the codes used in the emails.

order_payment_method
credit_card_info
cc_number
CUSTOMER_PAID_WITH_CREDIT_CARD
Shipping_method

Where I could find what information to put in the email so that it would be able to add in the extra info I am looking for myself. At present I only know what information there is available based on what is already in the current emails.

Iain

Please Log in or Create an account to join the conversation.

  • Posts: 234
  • Thank you received: 4
11 years 10 months ago #84486

I think a good example would be at present on the checkout and in the emails it only shows part of the customers address. How can I get it to show all of the address. I am getting quite a few people saying "did you get my full address".

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 82796
  • Thank you received: 13357
  • MODERATOR
11 years 10 months ago #85192

Hi,

The address is shown based on the address_template view files tags. If the address is not complete, it means that some of the tags are missing in there for your address fields. You can edit the address_template view files via the menu display->Views.

The shipping method is indeed not displayed on the email. You can add it like that:
www.hikashop.com/en/forum/4-how-to/42647...d-name-on-email.html

The following user(s) said Thank You: mad-q

Please Log in or Create an account to join the conversation.

  • Posts: 234
  • Thank you received: 4
11 years 10 months ago #85373

Many Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum