FeatureUp News
Loading...

Recent Post

Online Payment PHP Codes for your Website

Online Payment PHP Codes for your Website

 The Sample Code will not work without the following:
 
* cURL extension for PHP (http://www.php.net/manual/en/ref.curl.php)
* SSL Certificate
* Development Account setup with DPS

If you dont have access to a Development account please click here to request it.

Online Payment PHP Codes for your Website-featureup

Standard Request Page:

<?php
/*
#
# This function is a simple example of
# how to send and receive Payment Express XML
# messages to process a transaction.
#
*/
     
function process_request($name,$amount,$ccnum,$ccmm,$ccyy,$merchRef)
{
     
$cmdDoTxnTransaction .= "<Txn>";
$cmdDoTxnTransaction .= "<PostUsername>TestUsername</PostUsername>"; #Insert your DPS Username here
$cmdDoTxnTransaction .= "<PostPassword>TestPassword</PostPassword>"; #Insert your DPS Password here
$cmdDoTxnTransaction .= "<Amount>$amount</Amount>";
$cmdDoTxnTransaction .= "<InputCurrency>USD</InputCurrency>";
$cmdDoTxnTransaction .= "<CardHolderName>$name</CardHolderName>";
$cmdDoTxnTransaction .= "<CardNumber>$ccnum</CardNumber>";
$cmdDoTxnTransaction .= "<DateExpiry>$ccmm$ccyy</DateExpiry>";
$cmdDoTxnTransaction .= "<TxnType>Purchase</TxnType>";
$cmdDoTxnTransaction .= "<MerchantReference>$merchRef</MerchantReference>";
$cmdDoTxnTransaction .= "</Txn>";
               
$URL = "sec.paymentexpress.com/pxpost.aspx";
//echo "\n\n\n\nSENT:\n$cmdDoTxnTransaction\n\n\n\n\n$";
              
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"https://".$URL);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,$cmdDoTxnTransaction);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
//curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); //Needs to be included if no *.crt is available to verify SSL certificates
curl_setopt($ch,CURLOPT_SSLVERSION,3); 
$result = curl_exec ($ch);
curl_close ($ch);
                
parse_xml($result);
}
 
function parse_xml($data)
{
$xml_parser = xml_parser_create();
xml_parse_into_struct($xml_parser, $data, $vals, $index);
xml_parser_free($xml_parser);
     
$params = array();
$level = array();
foreach ($vals as $xml_elem) {
if ($xml_elem['type'] == 'open') {
if (array_key_exists('attributes',$xml_elem)) {
list($level[$xml_elem['level']],$extra) = array_values($xml_elem['attributes']);
}
else {
$level[$xml_elem['level']] = $xml_elem['tag'];
}
}
if ($xml_elem['type'] == 'complete') {
$start_level = 1;
$php_stmt = '$params';
             
while($start_level < $xml_elem['level']) {
$php_stmt .= '[$level['.$start_level.']]';
$start_level++;
}
$php_stmt .= '[$xml_elem[\'tag\']] = $xml_elem[\'value\'];';
eval($php_stmt);
}
}
     
/* Uncommenting this block will display the entire array and show all values returned.
echo "<pre>";
print_r ($params);
echo "</pre>";
*/
         
$success = $params[TXN][SUCCESS];
     
$MerchantReference = $params[TXN][$success][MERCHANTREFERENCE];
$CardHolderName = $params[TXN][$success][CARDHOLDERNAME];
$AuthCode = $params[TXN][$success][AUTHCODE];
$Amount = $params[TXN][$success][AMOUNT];
$CurrencyName = $params[TXN][$success][CURRENCYNAME];
$TxnType = $params[TXN][$success][TXNTYPE];
$CardNumber = $params[TXN][$success][CARDNUMBER];
$DateExpiry = $params[TXN][$success][DATEEXPIRY];
$CardHolderResponseText = $params[TXN][$success][CARDHOLDERRESPONSETEXT];
$CardHolderResponseDescription = $params[TXN][$success][CARDHOLDERRESPONSEDESCRIPTION];
$MerchantResponseText = $params[TXN][$success][MERCHANTRESPONSETEXT];
$DPSTxnRef = $params[TXN][$success][DPSTXNREF];
         
$html = "<table align='center' width='500' style='FONT-SIZE: 10pt; FONT-FAMILY: Arial, Helvetica, sans-serif'>";
$html .= "<BR><hr><BR>";
$html .= "<tr><td>Merchant Reference: </td><td>$MerchantReference</td></tr>";
$html .= "<tr><td>CardHolderName: </td><td>$CardHolderName</td></tr>";
$html .= "<tr><td>AuthCode: </td><td>$AuthCode</td></tr>";
$html .= "<tr><td>Amount: </td><td>$Amount</td></tr>";
$html .= "<tr><td>CurrencyName: </td><td>$CurrencyName</td></tr>";
$html .= "<tr><td>DateExpiry: </td><td>$DateExpiry</td></tr>";
$html .= "<tr><td>CardHolderResponseText: </td><td>$CardHOlderResponseText</td></tr>";
$html .= "<tr><td>CardHolderResponseDescription: </td><td>$CardHolderResponseDescription</td></tr>";
$html .= "<tr><td>MerchantResponseText: </td><td>$MerchantResponseText</td></tr>";
$html .= "<tr><td>TxnType: </td><td>$TxnType</td></tr>";
$html .= "<tr><td>DPSTxnRef: </td><td>$DPSTxnRef</td></tr>";
$html .= "</table>";
//$html .= "</body></html>";
         
echo $html;    
     
}
 
#main start
$Action = $_REQUEST["Action"];
$CardName = $_REQUEST["CardName"];
$Amount = $_REQUEST["Amount"];
$CardNum = $_REQUEST["CardNum"];
$ExMnth = $_REQUEST["ExMnth"];
$ExYear = $_REQUEST["ExYear"];
$MerchRef = $_REQUEST["MerchRef"];
 
If ($Action == "Submit")
{
 
process_request($CardName, $Amount, $CardNum, $ExMnth, $ExYear, $MerchRef);
 
}
 
?>
 
<html>
<head>
<title>DPS PXPost Sample -- PHP</title>
</head>
<body>
 
 
<form method="POST">
<input type="hidden" name="Action" value="Submit"><BR><BR>
<table align="center" width="550" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial, Helvetica, sans-serif" border="0">
<tr>
<td width="280">
<table style="FONT-SIZE: 10pt; FONT-FAMILY: Arial, Helvetica, sans-serif">
<tr>
<td colspan="2">Name (as it appears on the card)<BR>
<input type="text" name="CardName" value="Mr John Smith" size="26">
</td>
</tr>
<tr><td colspan="2">Card Number<BR>
<input type="text" name="CardNum" value="4111111111111111" maxlength="16" size="26">
</td>
</tr>
<tr><td>Amount<BR>
<input type="text" name="Amount" value="1.80" size="9">
</td>
<td>Merchant Reference<BR>
<input type="text" name="MerchRef" value="invoice 84325" size="12">
</td>
</tr>
</table>
</td>
<td>Expiry Date<BR>
<select name="ExMnth"><option value="01">01</option>
    <option value="02">02</option>
    <option value="03">03</option>
    <option value="04">04</option>
    <option value="05">05</option>
    <option value="06">06</option>
    <option value="07">07</option>
    <option value="08">08</option>
    <option value="09">09</option>
    <option value="10">10</option>
    <option value="11">11</option>
    <option value="12">12</option>
</select>
<select name="ExYear"><option value="05">05</option>
    <option value="06">06</option>
    <option value="07">07</option>
    <option value="08">08</option>
    <option value="09">09</option>
</select><BR><BR><BR><BR>
</td>
<td align="right"><img src="http://www.paymentexpress.com/dpslogo.gif">
<BR><BR><BR>
<input type="submit" value="process">
</td>
</tr>
</table>
</form>
 
</body>
</html>
Sony Xperia Z1 Compact review with Advantages & Disadvantages

Sony Xperia Z1 Compact review with Advantages & Disadvantages

Sony is the first to deliver a smartphone, which wouldn't let size get in the way of performance or screen quality. It's no accident that it's a compact rather than a mini - the Snapdragon 800-powered beast would be ashamed to share a name with the upper-midrange (at best) wannabes of the competition.
 
Sony Xperia Z1 Compact review with Advantages & Disadvantages-featureup

We've had this for two years now - Android flagships growing in size faster than the US national debt, leaving those in search of a premium phone that doesn't need its own seat on the bus with an increasingly tougher puzzle to crack. You could either defect to iOS at the cost of a two or three month's worth of rent or live with a chipset and screen that are at least a year old.

Sony Xperia Z1 Compact review with Advantages & Disadvantages-featureup
 
Sony Xperia Z1 Compact Advantages:

    => Quad-band GSM/GPRS/EDGE support; 3G with 42Mbps HSPA; 150Mbps LTE
   
=>  4.3" 16M-color 720p capacitive touchscreen Triluminos display (342pixel density 
    => X-Reality engine; shatter proof and scratch-resistant glass
   
=> Android OS v4.3 Jelly Bean with custom UI
 
=> Quad-core 2.26 GHz Krait 400 CPU, 2 GB RAM, Adreno 330 GPU; Qualcomm Snapdragon 800 chipset
  
=> 20.7MP autofocus camera with a 1/2.3" Exmor RS sensor and F/2.0 Sony G Lens; Info-eye, AR effects
  
=> 1080p video recording @ 30fps, continuous autofocus and stereo sound; live video streaming to Facebook
  
=> 2MP front-facing camera, 1080p video recording
  
=> IP58 certification, dust- and waterproof
  
=> Wi-Fi a/b/g/n/ac, Wi-Fi Direct and DLNA; Wireless TV-out
  
=> GPS with A-GPS, GLONASS
  
=> 16GB of built-in storage; microSD card slot
  
=> MHL-enabled microUSB port
  
=> Bluetooth v4.0
  
=> NFC & ANT+ support
  
=> FM radio with RDS
  
=> Standard 3.5 mm audio jack
  
=> Accelerometer and proximity sensor
  
=> Active noise cancellation with a dedicated mic
  
=> 2,300mAh Li-Ion battery

Sony Xperia Z1 Compact Disadvantages:

 
=>  Weak LED flash
 
=>  Non-user-replaceable battery
 
=>  Below average loudspeaker performance (probably due to level of waterproofing)
Apple released iOS 7.0.5 Update for iPhone Users

Apple released iOS 7.0.5 Update for iPhone Users

Apple has just launched iOS 7.0.5 update for the iPhone 5s and iPhone 5c. It makes some minor bugs go away and fixes network provisioning for Chinese models.

Apple_launched_iOS_705_update_for_iPhone-Featureup

According to user reports the new update is rolling out in China, Croatia, Germany and the UK with the rest of the world seemingly missing on it. It seems the update targets specific model iPhones and won't be available for all iDevices.

Meanwhile Apple is working hard on the upcoming iOS 7.1 update that should hit all compatible iGadgets worldwide very soon.
Yes, Google Selling Motorola to Lenovo Is Sad And Confusing, But Let's At Least Be Hopeful

Yes, Google Selling Motorola to Lenovo Is Sad And Confusing, But Let's At Least Be Hopeful

There comes a time in every major tech corporation's life when it has to let its previously-acquired but only tangentially-related asset go as part of a complex transaction with a multinational electronics firm. For Google, that time came today, when it announced that it would sell Motorola Mobility to Lenovo for $2.91 billion.

I, too, feel your pain. The idea of a Google-run phone manufacturer was, to me, a kind of techno-nirvana. I am a shameless Google fanboy when it comes to some things, and hoped that one day a Google-backed Motorola device could provide me the best of both worlds - fast updates and more attention to the features Google doesn't quite get right in Nexus phones. The Moto X was almost there. And now, we've all had the proverbial rug pulled out from under us, and uncertainty lies ahead. It doesn't feel good. It feels a little like betrayal - especially when Motorola has been playing the "a Google Company" branding card absolutely shamelessly since the company had its big re-launch last year.


The question on many of our minds, no doubt, is "what now?" What happens to my ultra-fast software updates? Will I get them at all? Will Motorola keep good on its promise of a clean, untainted Android experience? Handset customization - what's going to happen there? Is Motorola even going to keep its Texas assembly facility open?

And the cold, hard truth is, we don't know. CEO Dennis Woodside provided very little insight on the announcement in his post at the official Motorola blog. He also didn't mention downsizing, headquarters location, the company's continuing strategy, or whether Motorola would even continue to exist as a separate firm in the Lenovo family (we know the brand will stick around, but that's it). He probably doesn't even know at this point. And uncertainty isn't good, especially when that uncertainty is centered around a company that has consistently lost money every quarter since being acquired by its current owner.

Last quarter, Google reported an operating loss of $248 million on Motorola. That's a far cry even from HTC, now widely considered in trouble, which reported an operating loss a fifth of that a few weeks ago.

If you're buying a company losing money, generally you don't keep them on that money-losing path. Motorola has already cut over 6000 employees since it was acquired by Google, ceased many of its international operations, revamped its brand, unveiled an industry-leading phone customization platform, and pushed hard to give customers a great software and support experience. Tomorrow, we'll hopefully see if those bets have paid off, when Google announces its Q42013 earnings. If Motorola's back in the black, perhaps things aren't so dire after all, and Lenovo will just continue on with this winning formula. If they're deeper in the red than ever before (or even close to it), then it's time to start getting wary of the future if you're Motorola, because I doubt Lenovo's willing to stomach a billion-dollar-a-year hole in its checkbook. A hole it just paid about $3 billion for to start with.

However, as easy as it is to be pessimistic about this whole situation, I also can't think Lenovo would buy Motorola unless it saw a real future in the brand. Lenovo's smartphones are widely-regarded as, well, crappy. There have been rumors swirling about an HTC acquisition by Lenovo for a while now, but maybe Google's offer on Motorola was just too good to pass up. Lenovo's made a major money-maker of IBM's previously-ailing ThinkPad brand, and is often considered to be on the leading edge of form-factor innovation in the tablet / laptop space. While popular in China (#2 overall in 2012), though, Lenovo's smartphone arm has failed to get much attention abroad. Lenovo has to know smartphones are an important form factor for growth of the company, and so I'd be willing to bet they're going to take some risks to try and make Motorola an international success. Lenovo isn't the sort of company that buys a brand to destroy it - they've shown that much with the ThinkPad.

But I don't think that's why people are upset. The prospect of Lenovo "ruining" Motorola is secondary, and it's still pretty far off. I also think that is very, very far from a foregone conclusion. I'd even go so far as to bet against the naysayers. No, the real angst here is at Google, for selling off a brand that Android loyalists had come to love and respect since it was acquired back in 2011.

Motorola had become a company that embodied the Google "spirit" - open, innovative, risk-taking. You know, the sort of corporation you'd want to have a beer with. If corporations were people. And had mouths. And drank beer. Anyway... Motorola was cool, man. And then, Google went and sold out the new OEM of choice for a growing number of Android enthusiasts. Treachery most foul! The consensus seems to be that without Google, Motorola cannot still embody those values which many of us came to respect them for above other manufacturers.

And as I said, we can't know what's going to happen there. But why did Google toss off Motorola at all? The answer, I think, is competition. Google bought Motorola while the company was in an obvious tailspin. CEO Sanjay Jha - the man behind disastrous products like the DROID BIONIC and the original ATRIX - had led the company into a seemingly inescapable pit of bloat. Motorola's reliance on TI chipsets had put it at a disadvantage in terms of raw performance, and it kowtowed to carriers' whims and exclusivity demands unflinchingly. To be blunt, Motorola was going nowhere fast.

Larry Page and Andy Rubin allegedly led the charge in the acquisition, though Rubin supposedly wanted no part of the actual handset business. Page decided to go for the whole package, and in 5 short days, a deal was hashed out, and Motorola officially was on its way to being a Google property.

Google whipped it into shape, even as rumors that the acquisition was largely about patents swirled. Thousands of jobs were cut, Motorola pulled out of most non-US markets, and doubtless many product launches were shelved. And now, Motorola is at a point where it at least has the prospect, the hope of growth. This is not the same company Google picked up on a whim over 2 years ago - it is revitalized.

And now that it's at least pointed in a direction that gives the company some hope, Google decided it was time to say goodbye. It probably never sat quite right with Google's other Android OEM partners, either, knowing that the company supplying them their open source OS and various services was now directly competing with them. It didn't quite fit with the spirit of Android, of open competition. That's not to say I wouldn't have minded seeing the cooperation continue.

At least the crazier parts of Motorola will be sticking around with Google for the time being, it seems.

There will be challenges for Motorola if this deal goes through. Big ones. Motorola has enjoyed the tech and mainstream media limelight for the last year almost solely because of its association with Google. There is a narrative at work in the larger tech media, and that narrative essentially goes: "Google / Samsung / Apple = important." Motorola had the luck to fall directly under the Google umbrella during its big re-launch. Now, Motorola will fall under the "everything else" pile. It will have to claw its way back to the headlines, because there really is nothing "hip" about being a Lenovo company. It's a sad but very real truth - Motorola will not get nearly the attention it did as a Google property, and the one reason for that will be that it is no longer a Google property. With the big G gone, the fact is Motorola's just not going to get as much love from the media.

So, here's to hoping they don't screw it up. At this point, that's all we can really do anyways.
Virtual Assistance being ready for Windows Phone 8 (as Apple's Siri Voice Assistance)

Virtual Assistance being ready for Windows Phone 8 (as Apple's Siri Voice Assistance)

The rumor mill has been abuzz with talk of Microsoft’s upcoming virtual assistant, which will borrow its personality from Cortana (you know, from Halo). Now, Head of Microsoft Research, Peter Lee, has confirmed that the a “big focus” for the company is artificial intelligence, including a virtual assistant.

Virtual Assistance being ready for Windows Phone 8 (as Apple's Siri Voice Assistance)-FeatureUp

The video interview features a short glimpse of a virtual assistant prototype at work but somewhat disappointingly it didn’t use Cortana’s avatar. 

He doesn’t mention Cortana by name at all, but we guess the team could be saving that particular announcement for the Microsoft BUILD conference in the beginning of April.

 Anyway, Mr. Lee says the research team has looked into what types of avatars people prefer (male or female) and how people relate to them. The avatar will be customizable, which ideally means Cortana will be an option.
10 Best Windows 8 Themes, Visual Styles and Skins

10 Best Windows 8 Themes, Visual Styles and Skins

Bored of Your Windows 8 Computer Desktop screen ? Get these best Windows 8 Themes and refresh the look of your Windows 8 screen. Microsoft has made many design changes by introducing Metro UI and Start Screen in Windows 8. But the desktop side of Windows 8 has not seen any dramatic changes except the removal of Start Menu and Aero Glass Transparency feature.
Redmond giant has introduced a new Windows Theme pack file type (.deskthemepack) exclusively for Windows 8 which has metro style themes and 360 degree panoramic Windows 8 Themes. Windows 7 and prior operating systems won’t support this new file type and hence if you are Windows 7 user, you can’t install Windows 8 Themes. However, Windows 8 users can install Windows 7 themes in their system. Try this fix to install Windows 8 Themes in Windows 7

Here, We have handpicked the fresh and beautiful best Windows 8 Themes, Visual Styles and Skin packs to decorate your Windows 8 system. These custom Windows 8 Themes includes awesome wallpaper backgrounds, icons, dark skins.
By default Windows 8 blocks third-party Windows 8 Theme installation. To get rid of this, you have to patch your Windows 8 system files. For that,
Read our Previous Guide to Install the Custom 3rd party Windows 8 Themes in your system.

1. Base for Windows 8

base-for-Windows-8
Base for Windows 8  is pixel perfect quality Windows 8 Dark Theme which offers a nice set of Metro Icons and dark style skins.

2. Snowy V 3.0

Snowyv3
Snowy is a nice Glossy Windows 8 Theme which supports all colors of Windows 8. Snowy has the Minimalistic design and looks soft for eyes.

3. WhiteDior

whitedior
WhiteDior is nice Minimalistic Windows 8 Theme With icon sets and skins.

 4. Simplex

SImplex
Simple Windows 8 theme which features a new frame, search & address bar, taskbar, and various of other changes.

5. Chromium

Chromium-Style-Windows-8
Transform your Windows 8 system Google’ Chromium OS Style.

6. Gray8 Color Pac – Black Windows 8 Theme

greay8
Gray8 is the Stunning dark Windows 8 theme with transparent windows. This is one of the best Dark Windows 8 Theme avilable for Windows Systems.

7. Space Blueberries 4.8

Space-Blueberries
Space Blueberries is an awesome Windows 8 theme which has dark shadowed visual style and has design tweaks.

8. Work for Windows 8

work
Work is one of the best Windows 8 theme which has glowing dark interface.

9. Aero8 Glow

win8aero
Aer08Glow is a port of the default Windows 7 theme with a few modifications. This theme has glow on the caption buttons and 2 styles: one with square corners and one with rounded corners. To use this theme with rounded corners you have to enable Aero Glass Transparency in Windows 8.

10. Glow Dark

Glow-Dark
Glow Dark is also one of the Dark Windows 8 Theme available for Windows 8 users.
Quick Message
Press Esc to close
Copyright © 2013 FeatureUp All Right Reserved. The content is copyrighted to FeatureUp and may not be reproduced on other websites without permission or credit.