[Skip to main content](#vessel-content)

#   Add cc info to email from auhorize.net

##

- **[bennyallen](/forum/user/14135-bennyallen "View bennyallen's Profile")**
- [![bennyallen's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14135-bennyallen "View bennyallen's Profile") Topic Author
- [ Offline](/forum/user/14135-bennyallen)

Less More

- Posts: 4
- Thank you received: 0
-
-

13 years 6 months ago [\#97084](#97084) by [bennyallen](/forum/user/14135-bennyallen "View bennyallen's Profile")  *[Add cc info to email from auhorize.net](/forum/4-how-to/79872-add-cc-info-to-email-from-auhorize-net#97084 "Hi, first at all, congratulations for hikashop. it's a powerful component!  Here is the tech info: Joomla! 3.0.2 Stable Php version 5.3.23 HikaShop Essential 2.1.0  I am using authorize.net plugin for payments. I've attached a screen capture with settings.  I chose AIM method, so that credit card info is typed on joomla page.  The problem is i need to send in admin notification mail (i think... order&#95;admin&#95;notification.html.php) the last 4 digits (xxxx-xxxx-xxxx-0000) from credit card and type of card (visa, mastercard...)  I expend a lot of time, and i search forum and documentation but i can not get response.  Please, i need it ASAP.  Thanks")* was created by *[bennyallen](/forum/user/14135-bennyallen "View bennyallen's Profile")*

Hi, first at all, congratulations for hikashop. it's a powerful component!

Here is the tech info:
Joomla! 3.0.2 Stable
Php version 5.3.23
HikaShop Essential 2.1.0

I am using authorize.net plugin for payments. I've attached a screen capture with settings.
[ ![screen.png](/forum/attachment/9416) ](/forum/attachment/9416 "screen.png")

I chose AIM method, so that credit card info is typed on joomla page.

The problem is i need to send in admin notification mail (i think... order_admin_notification.html.php)
the last 4 digits (xxxx-xxxx-xxxx-0000) from credit card and type of card (visa, mastercard...)

I expend a lot of time, and i search forum and documentation but i can not get response.

Please, i need it ASAP.

Thanks

- [ ![screen.png](/forum/attachment/9416) ](/forum/attachment/9416 "screen.png") [ ](/forum/attachment/9416?download=1 "screen.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5ODcyLWFkZC1jYy1pbmZvLXRvLWVtYWlsLWZyb20tYXVob3JpemUtbmV0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14264
-
-

13 years 6 months ago [\#97190](#97190) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add cc info to email from auhorize.net](/forum/4-how-to/79872-add-cc-info-to-email-from-auhorize-net#97190 "Hi, first at all, congratulations for hikashop. it's a powerful component!  Here is the tech info: Joomla! 3.0.2 Stable Php version 5.3.23 HikaShop Essential 2.1.0  I am using authorize.net plugin for payments. I've attached a screen capture with settings.  I chose AIM method, so that credit card info is typed on joomla page.  The problem is i need to send in admin notification mail (i think... order&#95;admin&#95;notification.html.php) the last 4 digits (xxxx-xxxx-xxxx-0000) from credit card and type of card (visa, mastercard...)  I expend a lot of time, and i search forum and documentation but i can not get response.  Please, i need it ASAP.  Thanks")*

Hi,

You can display the credit card number like that with the code: Code:

xxxx-xxxx-xxxx-&lt;?php $app = JFactory::getApplication(); echo substr($app-&gt;getUserState( HIKASHOP_COMPONENT.'.cc_number'),-4); ?&gt;

in the order admin notification that you can edit via the menu System-&gt;Emails in the Business edition.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5ODcyLWFkZC1jYy1pbmZvLXRvLWVtYWlsLWZyb20tYXVob3JpemUtbmV0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bennyallen](/forum/user/14135-bennyallen "View bennyallen's Profile")**
- [![bennyallen's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14135-bennyallen "View bennyallen's Profile") Topic Author
- [ Offline](/forum/user/14135-bennyallen)

Less More

- Posts: 4
- Thank you received: 0
-
-

13 years 6 months ago [\#97211](#97211) by [bennyallen](/forum/user/14135-bennyallen "View bennyallen's Profile")  Replied by *[bennyallen](/forum/user/14135-bennyallen "View bennyallen's Profile")* on topic *[Add cc info to email from auhorize.net](/forum/4-how-to/79872-add-cc-info-to-email-from-auhorize-net#97211 "Hi, first at all, congratulations for hikashop. it's a powerful component!  Here is the tech info: Joomla! 3.0.2 Stable Php version 5.3.23 HikaShop Essential 2.1.0  I am using authorize.net plugin for payments. I've attached a screen capture with settings.  I chose AIM method, so that credit card info is typed on joomla page.  The problem is i need to send in admin notification mail (i think... order&#95;admin&#95;notification.html.php) the last 4 digits (xxxx-xxxx-xxxx-0000) from credit card and type of card (visa, mastercard...)  I expend a lot of time, and i search forum and documentation but i can not get response.  Please, i need it ASAP.  Thanks")*

when i add that code, i get that email (attached)

[ ![Captura&#95;de&#95;pantalla&#95;2013-04-01&#95;a&#95;las&#95;20&#95;57&#95;08.png](/forum/attachment/9440) ](/forum/attachment/9440 "...s&#95;20&#95;57&#95;08.png")

thanks

- [ ![Captura&#95;de&#95;pantalla&#95;2013-04-01&#95;a&#95;las&#95;20&#95;57&#95;08.png](/forum/attachment/9440) ](/forum/attachment/9440 "...s&#95;20&#95;57&#95;08.png") [ ](/forum/attachment/9440?download=1 "...s&#95;20&#95;57&#95;08.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5ODcyLWFkZC1jYy1pbmZvLXRvLWVtYWlsLWZyb20tYXVob3JpemUtbmV0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14264
-
-

13 years 6 months ago [\#97221](#97221) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add cc info to email from auhorize.net](/forum/4-how-to/79872-add-cc-info-to-email-from-auhorize-net#97221 "Hi, first at all, congratulations for hikashop. it's a powerful component!  Here is the tech info: Joomla! 3.0.2 Stable Php version 5.3.23 HikaShop Essential 2.1.0  I am using authorize.net plugin for payments. I've attached a screen capture with settings.  I chose AIM method, so that credit card info is typed on joomla page.  The problem is i need to send in admin notification mail (i think... order&#95;admin&#95;notification.html.php) the last 4 digits (xxxx-xxxx-xxxx-0000) from credit card and type of card (visa, mastercard...)  I expend a lot of time, and i search forum and documentation but i can not get response.  Please, i need it ASAP.  Thanks")*

I forgot a piece:
xxxx-xxxx-xxxx-&lt;?php $app = JFactory::getApplication();
echo substr(base64_decode($app-&gt;getUserState( HIKASHOP_COMPONENT.'.cc_number')),-4); ?&gt;

The following user(s) said Thank You: [bennyallen](/forum/user/14135-bennyallen "View bennyallen's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5ODcyLWFkZC1jYy1pbmZvLXRvLWVtYWlsLWZyb20tYXVob3JpemUtbmV0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bennyallen](/forum/user/14135-bennyallen "View bennyallen's Profile")**
- [![bennyallen's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14135-bennyallen "View bennyallen's Profile") Topic Author
- [ Offline](/forum/user/14135-bennyallen)

Less More

- Posts: 4
- Thank you received: 0
-
-

13 years 6 months ago [\#97240](#97240) by [bennyallen](/forum/user/14135-bennyallen "View bennyallen's Profile")  Replied by *[bennyallen](/forum/user/14135-bennyallen "View bennyallen's Profile")* on topic *[Add cc info to email from auhorize.net](/forum/4-how-to/79872-add-cc-info-to-email-from-auhorize-net#97240 "Hi, first at all, congratulations for hikashop. it's a powerful component!  Here is the tech info: Joomla! 3.0.2 Stable Php version 5.3.23 HikaShop Essential 2.1.0  I am using authorize.net plugin for payments. I've attached a screen capture with settings.  I chose AIM method, so that credit card info is typed on joomla page.  The problem is i need to send in admin notification mail (i think... order&#95;admin&#95;notification.html.php) the last 4 digits (xxxx-xxxx-xxxx-0000) from credit card and type of card (visa, mastercard...)  I expend a lot of time, and i search forum and documentation but i can not get response.  Please, i need it ASAP.  Thanks")*

Wonderful! Thanks a lot. Is exactly what i need!

In addition, remember, i need to type of card (visa, mastercard, amex...)

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5ODcyLWFkZC1jYy1pbmZvLXRvLWVtYWlsLWZyb20tYXVob3JpemUtbmV0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14264
-
-

13 years 6 months ago [\#97429](#97429) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add cc info to email from auhorize.net](/forum/4-how-to/79872-add-cc-info-to-email-from-auhorize-net#97429 "Hi, first at all, congratulations for hikashop. it's a powerful component!  Here is the tech info: Joomla! 3.0.2 Stable Php version 5.3.23 HikaShop Essential 2.1.0  I am using authorize.net plugin for payments. I've attached a screen capture with settings.  I chose AIM method, so that credit card info is typed on joomla page.  The problem is i need to send in admin notification mail (i think... order&#95;admin&#95;notification.html.php) the last 4 digits (xxxx-xxxx-xxxx-0000) from credit card and type of card (visa, mastercard...)  I expend a lot of time, and i search forum and documentation but i can not get response.  Please, i need it ASAP.  Thanks")*

Like that:

&lt;?php $app = JFactory::getApplication();
echo base64_decode($app-&gt;getUserState( HIKASHOP_COMPONENT.'.cc_type')); ?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5ODcyLWFkZC1jYy1pbmZvLXRvLWVtYWlsLWZyb20tYXVob3JpemUtbmV0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bennyallen](/forum/user/14135-bennyallen "View bennyallen's Profile")**
- [![bennyallen's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14135-bennyallen "View bennyallen's Profile") Topic Author
- [ Offline](/forum/user/14135-bennyallen)

Less More

- Posts: 4
- Thank you received: 0
-
-

13 years 6 months ago [\#97445](#97445) by [bennyallen](/forum/user/14135-bennyallen "View bennyallen's Profile")  Replied by *[bennyallen](/forum/user/14135-bennyallen "View bennyallen's Profile")* on topic *[Add cc info to email from auhorize.net](/forum/4-how-to/79872-add-cc-info-to-email-from-auhorize-net#97445 "Hi, first at all, congratulations for hikashop. it's a powerful component!  Here is the tech info: Joomla! 3.0.2 Stable Php version 5.3.23 HikaShop Essential 2.1.0  I am using authorize.net plugin for payments. I've attached a screen capture with settings.  I chose AIM method, so that credit card info is typed on joomla page.  The problem is i need to send in admin notification mail (i think... order&#95;admin&#95;notification.html.php) the last 4 digits (xxxx-xxxx-xxxx-0000) from credit card and type of card (visa, mastercard...)  I expend a lot of time, and i search forum and documentation but i can not get response.  Please, i need it ASAP.  Thanks")*

Thanks for your help, but it doesn't work.

But i type:
&lt;tr&gt;
&lt;h2&gt;Last 4 credit card digits and card type&lt;/h2&gt;
&lt;div&gt;xxxx-xxxx-xxxx-&lt;?php $app = JFactory::getApplication();
echo substr(base64_decode($app-&gt;getUserState( HIKASHOP_COMPONENT.'.cc_number')),-4); ?&gt;&lt;/div&gt;
&lt;br&gt;
&lt;div&gt;&lt;?php $app = JFactory::getApplication();
echo base64_decode($app-&gt;getUserState( HIKASHOP_COMPONENT.'.cc_type')); ?&gt;&lt;/div&gt;
&lt;/tr&gt;

and i get that email:

[ ![Captura&#95;de&#95;pantalla&#95;2013-04-02&#95;a&#95;las&#95;20&#95;12&#95;50.png](/forum/attachment/9469) ](/forum/attachment/9469 "...s&#95;20&#95;12&#95;50.png")

- [ ![Captura&#95;de&#95;pantalla&#95;2013-04-02&#95;a&#95;las&#95;20&#95;12&#95;50.png](/forum/attachment/9469) ](/forum/attachment/9469 "...s&#95;20&#95;12&#95;50.png") [ ](/forum/attachment/9469?download=1 "...s&#95;20&#95;12&#95;50.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5ODcyLWFkZC1jYy1pbmZvLXRvLWVtYWlsLWZyb20tYXVob3JpemUtbmV0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14264
-
-

13 years 6 months ago [\#97582](#97582) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add cc info to email from auhorize.net](/forum/4-how-to/79872-add-cc-info-to-email-from-auhorize-net#97582 "Hi, first at all, congratulations for hikashop. it's a powerful component!  Here is the tech info: Joomla! 3.0.2 Stable Php version 5.3.23 HikaShop Essential 2.1.0  I am using authorize.net plugin for payments. I've attached a screen capture with settings.  I chose AIM method, so that credit card info is typed on joomla page.  The problem is i need to send in admin notification mail (i think... order&#95;admin&#95;notification.html.php) the last 4 digits (xxxx-xxxx-xxxx-0000) from credit card and type of card (visa, mastercard...)  I expend a lot of time, and i search forum and documentation but i can not get response.  Please, i need it ASAP.  Thanks")*

Mmm. I checked on the Authorize.net documentation but the cart type is actually not given back so we don't know it and thus it's not possible to display it in that email.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5ODcyLWFkZC1jYy1pbmZvLXRvLWVtYWlsLWZyb20tYXVob3JpemUtbmV0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.268 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
