| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Credit Card Expiry Date Length | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
CC Expiration Date
B00MER,
I did exactly what was indicated, but nothing changed when I tested purchasing a product. I can see what the change looks like by previewing the .tpl file. It just didn't change it on the live site. I have a secure site, do I need to do something different than what you've stated? Thanks,
__________________
X-Cart ver 3.4.14 (LIVE!) PHP 4.3.8 MySQL server 4.1.15-log Web server Apache/1.3.29 Operation system FreeBSD X-Cart ver 4.0.9 (Dev) PHP 4.3.4 Details MySQL server 4.0.18 MySQL client 3.23.49 |
|||||||||
#13
|
|||||||
|
|||||||
I can't find the "hacking attempt print" that you're referring to around line 51 in include/register.php ... is it different for 3.5.4? Does 3.5.4 still need this mod?
|
|||||||
#14
|
|||||||||
|
|||||||||
Putting the line after any include, require statements will work as well.
All this mod does is make the expiration date, two drop downs for month and year, vs an input field.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#15
|
|||||||||
|
|||||||||
Expiry Date Problem
Quote:
OK, I completely DELETED the templates_c folder as indicated. Still no change. Can you tell me how to perform the "Cleanup.php" program you're suggesting?
__________________
X-Cart ver 3.4.14 (LIVE!) PHP 4.3.8 MySQL server 4.1.15-log Web server Apache/1.3.29 Operation system FreeBSD X-Cart ver 4.0.9 (Dev) PHP 4.3.4 Details MySQL server 4.0.18 MySQL client 3.23.49 |
|||||||||
#16
|
|||||||
|
|||||||
You run it through the browser e.g.
http://www.yourdomain.com/xcart/cleanup.php ..just done it on mine and got this message: Quote:
Dan
__________________
4.4.2 and 4.6.1 |
|||||||
#17
|
|||||||
|
|||||||
|
|||||||
#18
|
|||||||||
|
|||||||||
Credit Card Expiry Date Length
Well, I've run that program as well, and nothing has changed.
I must have some custom mod issue causing the problem. I've asked previously, but does it matter that I'm using a secure cart? Are these files stored in a different location. Maybe what I've been changing just isn't reflected online because they're not the correct files? I'm guessing this may just be beyond my capabilities.
__________________
X-Cart ver 3.4.14 (LIVE!) PHP 4.3.8 MySQL server 4.1.15-log Web server Apache/1.3.29 Operation system FreeBSD X-Cart ver 4.0.9 (Dev) PHP 4.3.4 Details MySQL server 4.0.18 MySQL client 3.23.49 |
|||||||||
#19
|
|||||||||
|
|||||||||
order.php
Having difficulty getting the expiration date to come through on the "Orders" page in the admin area. Once a user processes the order everything works as it should, but the Exp. date: field is left empty.
Isn't there a modification that needs to be done in the orders.php file in order to get the expiration date to be seen. I've updated the register.php and the register_ccinfo.tpl file as indicated.
__________________
X-Cart ver 3.4.14 (LIVE!) PHP 4.3.8 MySQL server 4.1.15-log Web server Apache/1.3.29 Operation system FreeBSD X-Cart ver 4.0.9 (Dev) PHP 4.3.4 Details MySQL server 4.0.18 MySQL client 3.23.49 |
|||||||||
#20
|
|||||||
|
|||||||
Still having problems
I've tried adding month and year dropdowns and still can't get the variable to pass to the payment processor. I'm using I-Transact and it works fine with the default register_ccinfo.tpl.
Boomer, I tried your mod, but 3.5.4 must be different than the other version. It didn't work for me at all. I'm reasonalbly sure that this mod might work fine for writing the concated card_expire to the database, but it doesn't get passed to the payment processor. Here is what I went with in skin1/main/register_ccinfo.tpl at about line 62: Code:
I then tried concating the variables in both customer/register.php and payment/payment_cc.php with no luck. Here is the line that was added for that: Code:
When I submit an order through, the card fails and I get no reason from I-transact. The concated date is making it through payment_cc.php though, because the date is showing up in the failed order info in admin along with the cc number. The reason text is blank like this. Reason: : : My thought is that card_expire is not being added to the array $userinfo["card_expire"] and I have no idea where this is set. Just haven't been at php, smarty or x-cart long enough to figure this one out. I agree that having a dropdown selection for expiration date would avoid some mistakes and frustration for customers, especially with realtime processing. We have gotten lots of failures due to this. I know that this is really close if someone can fill in the blanks I'd really appreciate it. Rick
__________________
X-Cart Ver: 4.2.1 Apache PHP Ver: 5X MYSQL Ver: 5X |
|||||||
|
|||
X-Cart forums © 2001-2020
|