Jump to content

vozzek

Members
  • Posts

    130
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://www.thefrogandtheprincess.com

Profile Information

  • Gender
    Not Telling

vozzek's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. Hi all, I'd like to create a clickable image scroller, like the one at the top of this site: http://www.cyoa.com Best way to do this? Php & Javascript? Does anyone know of any existing widgets I could use to cut/paste into my site and then modify the code, or is there a tutorial someone can point me in the direction of so I can code it from scratch? As always, thanks in advance.
  2. Hmmm... interesting. They have a few gateways, and the one you linked is for the API. I am using their "connect 2.0" gateway. The integration guide for that one is here: http://www.firstdata.com/downloads/marketing-merchant/fdgg-connect-2.0-integration-guide.pdf No mention of xml there really. If the two different support reps I spoke to today both assumed I was using the API - when I specifically mentioned connect 2.0 - I'm gonna kick someone's ass...
  3. Okay, here's the gateway url: <FORM action="https://connect.firstdataglobalgateway.com/IPGConnect/gateway/processing" method="post" name="ccform" id="ccform" onSubmit="return validateCC();" style="margin:0;"> Within the form are a bunch of inputs. Some examples: <select name="paymentMethod" id="paymentMethod"> <option value="" selected>Please Select</option> <option value="A">American Express</option> <option value="V">Visa</option> <option value="M">Master Card</option> <option value="D">Discover</option> </select> <select name="expmonth" id="expmonth"> <option value="" selected>--Month--</option> <option value="1">January</option> <option value="2">February</option> <option value="3">March</option> <option value="4">April</option> <option value="5">May</option> <option value="6">June</option> <option value="7">July</option> <option value="8">August</option> <option value="9">September</option> <option value="10">October</option> <option value="11">November</option> <option value="12">December</option> </select> So on and so forth. There are also a few hidden inputs for customer information, billing info, order comments, etc... Then the form ends with </form> As far as I've always known, I'm simply posting a bunch of data to the gateway url. Which is why I was confused when the guy said: "I need to see the xml request (envelope) being sent to us" "What?" I asked him. "Everything you send is wrapped in an xml envelope. You have to print it (get the server to print it?) and email it to us, so we can troubleshoot whether it's sending anything bad."
  4. Sorry, I'm not sure I understand. How do I build $xml_string? I've never done that. It's null right now, unless I set it?
  5. Hi everyone, I've been running a self-written php shopping cart for the last 8 years, with lots of success. Recently however, the credit card processor (Linkpoint) I use upgraded their gateway, and now I have a problem. Basically, the last page of my checkout does a _POST to a specific url for their gateway. I send through a bunch of <input> variables, some of them hidden, but all of them check out okay. I have combed over their specs, made sure I'm not sending any bad characters, made sure I've got the right format for the fields they want, etc... Right now the transaction is successful, the customer's card is charged, but Linkpoint's system is returning an error message: We are unable to process your request due to invalid data. Long story short, their support staff has asked me to "send them the xml string" via email. I have no idea how to do this (even after spending a few hours online trying to figure it out). Is there a simple way to generate the xml string that's being passed during the _POST? Some kind of php code I can incorporate into my final checkout page, run a test transaction, and maybe write the string out somewhere so I can get it to them? Any help you guys could give me would be greatly appreciated. Thanks in advance! Danny
  6. Ok, this was a php issue. The php.ini file (of my new version) had the register_globals value set to OFF. It needed to be ON, based on my sloppy programming (non-use of $_POST). For now I was able to turn it on, and all my queries work on all pages. Sorry for this being in the wrong spot, but I honestly thought it was a MySQL issue. Thanks for the help!
  7. Okay, I think I've pinpointed the problem. In the past, I've plucked variables from the previous page without using $_GET. For example, if ($RecordID) { $sql = "SELECT * FROM inventory WHERE id = $RecordID"; $result = mysql_query($sql) or die(mysql_error()); Now, it only works if I first do this: $RecordID = $_GET["RecordID"]; if ($RecordID) { $sql = "SELECT * FROM inventory WHERE id = $RecordID"; $result = mysql_query($sql) or die(mysql_error()); The version of MySQL I'm on now is 5.5.32 The version of MySQL on the old server was 5.5.30-29.3 So perhaps the newer version requires me to $_GET all the variables I pass (with parameter passing), or $_POST all the variables I receive from a form submit? If so I'm going to need to change a bunch of code. I know my original work (plucking the variables seemingly from thin air) is bad programming. But when I wrote the system years ago I had much less knowledge.
  8. Hi all, Today I switched servers. I got a Hostgator Basic Dedicated server, and their migration team moved everything over for my website - including the MySQL database - from their congested shared servers to my new one. I went to my registrar and changed the DNS entries to point to the new private nameservers. Accessed the CPanel, saw the files, was able to modify them and see the changes at the url level. All looked good. Now, here's what's weird: SOME of the pages of my site run the MySQL queries just fine. Some do not. For example, I have a page called "kids rugs" that shows a few hundred rugs pulled straight from my database. Each shows the photo, the name, and the price. But when you click on an individual rug, and it takes you to the detail page? NO data of any kind is showed (no photo, no description, no price, etc...) The second page is running the same type of query as the first. It's a SELECT * FROM tbl_name WHERE category = 'rugs'. The table is the same, the database is the same, and the connection script is the same. But one page shows results from the inquiry where the other does not. There are lots of other pages on my site that refuse to run MySQL inquires as well. These were all inquiries that worked flawlessly on the old shared server, but don't work on the new dedicated one (both servers are Linux). My question is this: Do you think this has anything to do with DNS, non-propagation, etc? I'm tempted to say "oh, this will resolve itself in 24-48 hours", but then again, it doesn't make much sense that a MySQL query would connect and work correctly on one page, and not show any results on others. Any ideas? Thanks in advance for the help!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.