| ||||||||||
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 |
#11
|
|||||||
|
|||||||
Quote:
I checked the code, it looks just like you advised but still the error It appears in the 'Order initial notification' email sent to the merchant, not the customer copy though Payment method: Credit Card INVALID SQL: 0 : SQL QUERY FAILURE: SELECT details FROM xcart_orders WHERE orderid = : N/AxxN/A
__________________
X-Cart version 4.0.19 |
|||||||
#12
|
|||||||||
|
|||||||||
Quote:
In fact, I have a great mod I just made for decreasing the load time of product pages. This mod is mainly good for products with MULTIPLE detailed images, which basically doesn't load any detailed images, even the first, until the product descriptions, etc are fully loaded. Then, only the first is loaded, and the rest are displayed only when the user chooses to advance to the next image in the list. The images queue using a preloader, and display proper image on success or "Image Could Not be Found" on an error. I'll probably post this one soon. It's a quick/easy mod, too
__________________
X-Cart 4.0.16-.19 Gold [unix] / DSEFU |
|||||||||
#13
|
|||||||||
|
|||||||||
What ACTIVE payment methods do you offer?
What are their names, as defined in the admin section of x-cart? In short, the error is that the SQL statement does not know the ORDER # of the last order, which is kind of odd. There is a check that sees if the order_id param sent is empty, to reference from GLOBALS, but still coming up blank. I could modify to error cleanly and simply display the original onError, but I'd like to see if we can't figure out what's going in your situation...
__________________
X-Cart 4.0.16-.19 Gold [unix] / DSEFU |
|||||||||
#14
|
|||||||
|
|||||||
Quote:
- Gift Certificate I have not enabled the gateway yet, still only testing (manual processing mode). I had to pull the mod for now. Could this still be a whitespace issue (not just safari, but all macintosh handling of text) ? I've learned the hard way that php is sensitive to whitespace... I use the gold-standard of text editors for the mac - Text Wrangler - textwrangler has unix and dos and mac and unicode modes (and of course, I'm in unix mode) Any ideas? Thanks!
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#15
|
|||||||
|
|||||||
Quote:
At first I thought you were joking, until I kept reading...
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#16
|
|||||||
|
|||||||
Quote:
That one I could use too I used a custom template for my store and the way I placed the tables when loading it first shows side boxes, they are kind of collapsed into the middle. It makes the whole site look distorted esp on slow connections.
__________________
X-Cart version 4.0.19 |
|||||||
#17
|
|||||||||
|
|||||||||
Quote:
OK OK..you caught me. ( I've editted the post )
__________________
X-Cart 4.0.16-.19 Gold [unix] / DSEFU |
|||||||||
#18
|
|||||||
|
|||||||
carpe, does the payment options determine if this works or not?
I will like to have paypal API, but it should just read credit card. (paypal should be invisible) fax order phone order money order gift certificate will it work with those options?
__________________
X-Cart 4.0.18 DBest |
|||||||
#19
|
|||||||
|
|||||||
Quote:
I have no idea... it does not work for me, with only "Credit Card" and "Gift Certificate" enabled. Maybe moneysaver or another expert will chime in... this should be standard-issue, and I am willing to buy this from x-cart if the community doesn't have a solution. It is against visa/mastercard rules to print the card number on a receipt -- but without some kind of card reference for the customer, they may not remember which card they used for refunds or basic accounting -- it's a common courtesy to give the customer this info... and sending an un-encrypted card number via email is simply reckless. Hopefully someone will step forward. I'm taking this to x-cart next week. Thanks! Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#20
|
|||||||||
|
|||||||||
Quote:
In short, the error is that the SQL statement does not know the ORDER # of the last order, which is kind of odd. There is a check that sees if the order_id param sent is empty, to reference from secure_oid, but still coming up blank. This should be an easy fix... Does anyone know the best way to reference the Order ID of the order that just occurred? The following returns the decoded order details from the orders table. Details for a given Order ID are returned based on the order_id parameter, $GLOBALS[orderid]. Code:
If Code:
There is a check to see if the param passed is empty, to pull from Code:
In summary, the issues experienced are all a result of the missing orderid, which in turn causes the SQL to crash, which reports the 'N/A', etc... What's more interesting is that it has been working perfectly fine on my end, but not for others?
__________________
X-Cart 4.0.16-.19 Gold [unix] / DSEFU |
|||||||||
|
|||
X-Cart forums © 2001-2020
|