Jump to content

PaulHend

Members
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    1

PaulHend last won the day on May 29 2014

PaulHend had the most liked content!

PaulHend's Achievements

Newbie

Newbie (1/5)

1

Reputation

  1. I have a small API that pulls information such as the product ID from 3DCart Shopping Cart, then passes that information to Yummy to generate a serial number for the downloadable games that a customer purchases. Currently, the API generates an e-mail that is send to the customer with their product download link and serial number. What it is set up for now is the game will be the product id, for example Game A will have an ID of 1234, so the API will send that e-mail the customer with http://site.com/download/1234.exe What we want is to append the 1234 to game a and also include the entire game name to the download link, our client thinks that the customers wouldn't understand downloading a 1234.exe. What I think I should be looking at is here: foreach ($postXmlToObject->Order->ShippingInformation->OrderItems->Item as $item) { // grab URL and pass it to the browser curl_setopt($ch, CURLOPT_URL, "https://shield.yummy.net/checkpoint/checkpointservice.asmx/nsn/Slith7698*G36Hye09?GSNLIC={$item->ProductID}&GSNAID=3&GSNPno=0&GSNPAC=3&CPONO={$orderId}"); $serialNumber = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); // Check if any error occurred if ($httpCode == 200 && !empty($serialNumber) && (int)$item->ProductID < 10000) { $updateOrderSerialNumbers .= '<br/><br/>Item ID: '.(string)$item->ProductID.'<br/>Serial number: '.$serialNumber; $serialCodeText .= '<font face="Arial" size="2"> <b> '.(string)$item->ProductName.' </b> </font> <br> <font face="Arial" size="2"> Download: <a href="http://justadventure.com/download/'.(string)$item->ProductID.'.exe"> http://justadventure.com/download/'.(string)$item->ProductID.'.exe </a> <br> Serial number: '.$serialNumber.' </font> <br><br>'; $sendMail = true; } } Any input is greatly appreciated, thank you in advance!
  2. Okay, so how do I make a login for people to protege their particular site? If they have a FB or twitter site how do I help to promote their site? I plan to use Joomla.
  3. Both phpMyAdmin and Webminnare free solutions to your issue.
  4. I want to create a site that acts a lot like StumbleUpon. I saw a similar thread of basic scripting code on this forum but it didn't really answer the questions that I required to be answered. What I like to do is to create a site similar to StumbleUpon and integrate APIs for a couple different sites. Allow users to find pages on Facebook and Twitter and be able to integrate their FB and Twitter accounts into it. Example, you go to the site, log in to Facebook or Twitter and you're able to browse content from those two sites, then you can like them or retweet them. Does anybody have any recommendations on the best way to approach this?
×
×
  • 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.