| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How To Modify The Invoice | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
How To Modify The Invoice
Hi All,
Has anyone modified the invoice so that under Б─°Payment methodБ─² you could have something like Б─°Paid by Visa xxx-xxxx-xxxx-1234Б─² ? Thanks
__________________
X-Cart 4.0.11 Live OS: Linux php-4.3.10 |
|||||||
#2
|
|||||||
|
|||||||
Not exactly sure, but good place to start looking would be under
skindirectory/mail/html/order_invoice.tpl Have fun
__________________
Version 4.0.8 |
|||||||
#3
|
|||||||||
|
|||||||||
credit card info is store din such a way that its awkward to seperate out.
this has been raised a few times
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#4
|
|||||||
|
|||||||
maybe grabbing the last 4 digits of the CC before it gets storedin the db would be enough ... not sure where this happens in the code .
It'd be a pretty simple snipet of code to grab the last for digits and store them in a table. Then whenever you needed to print or display the invoice you could grab that outta the DB. just a thought: Code:
Now you have a variable $masked_cc_number that could be stored in the db somewhere that is related to this order. I haven't figured out what table holds the invoice data or how x-cart stores its data into the db yet but this should work. any thoughts on where i might find the code that grabs the credit card number, and where it the code is that stores it in the db? Thanks
__________________
X-Cart 4.0.11 Live OS: Linux php-4.3.10 |
|||||||
#5
|
|||||||
|
|||||||
Okay, posting to renew this topic in the hopes of getting a pointer for a very similar request!
I want to modify the invoice and secure order e-mail, both of which ALREADY DISPLAY THE FULL CREDIT CARD NUMBER. I want to insert spaces or hyphens to separate the displayed/printed CC number into four groups of four digits to make it easier to read the number for offline processing. E.g. 4111-1111-1111-1111, not 4111111111111111! Thinking naively, how hard can this be?! There must be one line SOMEWHERE that actually puts the stored CC number into the forms, right? Unless it's in an inaccessible PHP library function, there's gotta be a way to get at this string in between when it's fetched and when it's written to the forms. Right? I'll be checking back here, eagerly awaiting some clever wisdom! Thanks.
__________________
Mark J Kaufman X-Cart Gold 4.0.13 Linux, Apache, PHP 4.4.0, Perl 5.006001 LisaKaufmanDesigns.com |
|||||||
#6
|
|||||||
|
|||||||
__________________
Mark J Kaufman X-Cart Gold 4.0.13 Linux, Apache, PHP 4.4.0, Perl 5.006001 LisaKaufmanDesigns.com |
|||||||
#7
|
|||||||
|
|||||||
Has anyone succeeded with the original concept of replacing the first three groups of credit card numbers with Xs (XXXX-XXXX-XXXX-4367)?
__________________
Gregg XC v4.0.12 (13 and 17) Gold |
|||||||
#8
|
|||||||
|
|||||||
Re: How To Modify The Invoice
What about x-cart ver 4.2, unless i missed an option my invoices have the full credit card numbers on them. I would like the invoice to specify the last 4 numbers only. i.e. xxxx-xxxx-xxxx-1234. How can this be done?
__________________
xcart 4.7.12 [Linux] (fancy cat) (magnifier) (special offers) (AOM) MariaDB 10-3-17 apache 2.4.37 (CentOS) X-Payments 2.2 |
|||||||
#9
|
|||||||
|
|||||||
Re: How To Modify The Invoice
__________________
x-cart gold version 4.1.11 |
|||||||
|
|||
X-Cart forums © 2001-2020
|