| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Credit Card Type +Last 4 digits on HTML Invoice | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||||
|
|||||||||
Quote:
ecommerce, Consider the following (first 3 lines of the code): Code:
What this is doing is finding the first occurence of {space}{open paranthese}, " (", and displays everything BEFORE it. For a gateway transaction normally displayed as "Payment Name Here (Authorize.net Payment Gateway)", it would become "Payment Name Here". Now, look at the 4th line of code: Code:
This does state that the name of the payment method needs to be "Credit Card" in order to continue. This is because the remaining code is all based on the idea a customer has paid using a credit card and we only want to display the type of card as well as the last 4-digits. How does the invoice normally look for PayPal purchases? I doubt that this mod would work as you'd expect, primarily since the credit card details need to be encoded and stored locally in the xcart_orders table, which I am almost certain is NOT the case when paying via PayPal.
__________________
X-Cart 4.0.16-.19 Gold [unix] / DSEFU |
|||||||||
#22
|
|||||||
|
|||||||
money,
thansk for the detailed explanation. if i understand correctly, with paypal API, the customer info and credit card "invisibly" goes to paypal for processing and if OK, then paypal sends the OK back to xcart. similiarly as to authorize net.
__________________
X-Cart 4.0.18 DBest |
|||||||
#23
|
|||||||||
|
|||||||||
Quote:
Basically, PayPal keeps the authenticated/validated credit card information on file on their server. Any funds exchanged are done so via PayPal's payment processing. Your merchant account and/or normal payment gateway (e.g. Authorize.net) never enter the picture... Funds are moved from Their account into Your PayPal account.
__________________
X-Cart 4.0.16-.19 Gold [unix] / DSEFU |
|||||||||
#24
|
|||||||
|
|||||||
Quote:
Go to: /mail/html/order_invoice.tpl Find: Code:
Replace with: Code:
__________________
X-Cart Gold v4.0.17 ~ EWD Hosting! |
|||||||
#25
|
|||||||||
|
|||||||||
is this working for v4.0.18 ?
__________________
X-Cart Gold Plus v4.7.12 ReBOOT ReDUX Theme |
|||||||||
#26
|
|||||||
|
|||||||
I have not been able to make it work in 4.0.18
I was going to hire xcart to do this by the end of the week if the Brain Trust doesn't have a fix...
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#27
|
|||||||
|
|||||||
I tried using this mod with my cart using Paypal Pro as payment gateway. When I place an order in test mode the invoice which is shown at the site shows:
Payment method: Credit Card : VISA xxxxxxxxxxxx1527 But the invoice which is sent by e-mail contains full credit card number in the Payments detail section. Where I may be doing wrong ? Please help.
__________________
X-Cart 4.4.5 ... www.drugteststrips.com X-Cart 4.4.5 ... www.drugalcoholtest.com Hues Technologies http://www.huestechnologies.com |
|||||||
#28
|
|||||||
|
|||||||
This mod works great, generates an invoice with type of CC and the last 4 digits of the credit card, with all other digits masked by X.
But it works if the credit card information is stored on the database. If I disable storing of CC info in the database then this wont work. Can we mask the credit card information, which is stored in the database too as it appears on the invoice ?
__________________
X-Cart 4.4.5 ... www.drugteststrips.com X-Cart 4.4.5 ... www.drugalcoholtest.com Hues Technologies http://www.huestechnologies.com |
|||||||
#29
|
|||||||
|
|||||||
Where in the database is the credit card numbers stored?
I see them under the notes.
__________________
X-Cart 4.0.18 DBest |
|||||||
#30
|
|||||||||
|
|||||||||
Quote:
Quote:
Correct. I specifically placed a check for this to prevent the DB work for something that most likely isn't there @hues, Not sure I understand your question? Are you asking if you can mask the CC # within the database?? (e.g. Not store the entire CC # ? ) @ecommerce, The credit card info is stored in `xcart_orders` table, within the encoded details column. To hues' point, only the CC info is stored if: Code:
__________________
X-Cart 4.0.16-.19 Gold [unix] / DSEFU |
|||||||||
|
|||
X-Cart forums © 2001-2020
|