PayPal auto redirect credit card user to website after payment


Hits: 4067  

I have a problem on my Pay Per Video Website (PPV), Guests normally watch preview of videos for few seconds then PayPal Screen appear to watch full version of video content.

payperview-app-payment-screen

Pay Per Plugin for HTML5 Media – Pay Per Plugin for HTML5 Media Plugin is embedded stand-alone, e-commerce-powered JavaScript and iFramed widget for Audio/Video. – See more at: http://html5plus.svnlabs.com/shop/pay-per-plugin-for-html5-media/#.UsuLItIW2So

I am using paypal form …

<form action=”<?php echo $paypal_link; ?>” target=”_top” method=”post” name=”payPalForm”>
<input type=”hidden” name=”business” value=”<?php echo $business_email;?>”>
<input type=”hidden” name=”cmd” value=”_xclick”>
<input type=”hidden” name=”item_name” value=”<?php echo $item_name; ?>”>
<input type=”hidden” name=”item_number” value=”<?php echo $item_number; ?>”>
<input type=”hidden” name=”amount” value=”<?php echo sprintf(“%01.2f”, $amount); ?>”>
<input type=”hidden” name=”no_shipping” value=”1″>
<input type=”hidden” name=”currency_code” value=”<?php echo $currency_code; ?>”>
<input type=”hidden” name=”handling” value=”0″>
<input type=”hidden” name=”rm” value=”2″ >
<input type=”hidden” name=”cancel_return” value=”<?php echo $siteurl; ?>cancel.php”>
<input type=”hidden” name=”return” value=”<?php echo $siteurl; ?>success.php”>
<input type=”image” src=”https://www.sandbox.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif” border=”0″ name=”submit” alt=”PayPal – The safer, easier way to pay online!”>
<img alt=”” border=”0″ src=”https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif” width=”1″ height=”1″>
</form>

 

I have enabled auto return ON and auto return URL in paypal settings already ….

Auto Return URL

When customers pay using paypal they easily redirected to PPV website … but if someone (guest) pay from credit card .. they have to click on link to redirect back to website …. 🙁

PayPal Auto Redirect to Website

Solution:

You can find more info here Merchant Services from PayPal – Payment Solutions for Your Business

PayPal Standard Payments is designed in such a way if a customer pays as guest (they don’t have a PayPal Account), after they complete the checkout process, PayPal will offer to open PayPal Account or click on the link to return them to PPV website. Customers “must” click on the link in order to return to your web site.

You can use either PayPal Payments Pro or Advanced, if you want the customer to remain on your web site for the checkout process. Advanced PayPal method enable customer to remains on PPV website. The PayPal process work thru a window or frame on your website.

Merchant Services from PayPal - Payment Solutions for Your Business

PayPal Pro and Advanced are available in additional monthly costs as well as the transaction processing fees.
Pro is $30 a month, Advanced is $5 a month. 🙂

SponsorPay API in PHP


Hits: 3983  

SponsorPay – International Leader in Engagement Marketing and Performance Advertising for the Monetization of Virtual Currency and Digital Content on Social Networks, Online Games, Virtual Worlds and Entertainment Platforms.

Mobile Developers - SponsorPay
Mobile Developers – SponsorPay

Key Features:

* Boost branding and engagement
* Acquire users and improve engagement
* Engage and monetize all your users
* Drive customer acquisition and sales
* Grow revenues with innovative products
* Achieve true glocal monetization

SponsorPay Products

* Offer Wall
* Layover Offer Wall
* Offer Banners
* Offer Bar
* Offer Widget
* BrandEngage

SponsorPay Mobile Offer API

JSON Format
http://api.sponsorpay.com/feed/v1/offers.json?appid=[APP_ID]&uid=[USER_ID]&ip=[IP_ADDRESS]&locale=[LOCALE]&device_id=[DEVICE_ID]&ps_time=[TIMESTAMP]&pub0=[CUSTOM]&timestamp=[UNIX_TIMESTAMP]&offer_types=[OFFER_TYPES]&android_id=[ANDROID_ID]&hashkey=[HASHKEY]

XML Format
http://api.sponsorpay.com/feed/v1/offers.xml?appid=[APP_ID]&uid=[USER_ID]&ip=[IP_ADDRESS]&locale=[LOCALE]&device_id=[DEVICE_ID]&ps_time=[TIMESTAMP]&pub0=[CUSTOM]&timestamp=[UNIX_TIMESTAMP]&offer_types=[OFFER_TYPES]&android_id=[ANDROID_ID]&hashkey=[HASHKEY]

<?php

// Step 1: Gather all request parameters

$page = isset($_REQUEST['page'])?$_REQUEST['page']:"1";
$uid = isset($_REQUEST['uid'])?$_REQUEST['uid']:"svnlabs";
$pub0 = isset($_REQUEST['pub0'])?$_REQUEST['pub0']:"sv";
$appid = isset($_REQUEST['appid'])?$_REQUEST['appid']:"APP-ID";
$device_id = isset($_REQUEST['device_id'])?$_REQUEST['device_id']:"DEVICE-ID";
$ip = isset($_REQUEST['ip'])?$_REQUEST['ip']:"IP-ADDRESS";
$apikey = isset($_REQUEST['apikey'])?$_REQUEST['apikey']:"API-KEY";
$format = isset($_REQUEST['format'])?$_REQUEST['format']:"json";

$requestring = 'http://api.sponsorpay.com/feed/v1/offers.'.$format.'?';

$d = array(   
        'appid' => $appid,
        'device_id' => $device_id,
        'ip' => $ip,
        'locale' => 'en',
        'page' => $page,
        'pub0' => $pub0,
        'timestamp' => time(),
        'uid' => $uid,
    );
    
    
//Step 2: Order all request alphabetically    
    
ksort($d);

//Step 3: Concatenate all request parameters

$params = '';

foreach($d as $k=>$v)
{
  $params .= $k."=".$v."&"; 
}    

//Step 4: Concatenate the resulting string with your API Key
//Step 5: Hash the resulting string using SHA1

$hash = sha1($params.$apikey);

$url = $requestring.$params."hashkey=".$hash;

echo file_get_contents($url);

?>

 

SponsorPay is a really good solution for social media platform using more engaging ad units than traditional social media formats.

How Good Website Design Can Help You Gain Visibility?


Hits: 2575  

How Good Website Design Can Help You To Gain Visibility?

A Good website design is very important to attract new visitors and engage them. Having an online presence is the key to achieve success for any online business and this is possible when there are visitors frequently visiting your website, to attract these visitors having an attractive website is essential.

How Good Website Design Can Help You To Gain Visibility
How Good Website Design Can Help You To Gain Visibility
With the increasing competition in the online market there are so many options available for the customers that if the website design is not attractive and not clear then the visitors will not think twice about switching to a different site. Poor website design is the primary reason why most websites fail in attracting potential visitors.

If your website is lacking an attracting factor then here are some essentials that you can include in your website design

• Clarity of the site:
The ultimate goal of a website owner should be designing a user friendly and attractive design and this is not possible if the website lacks the clarity factor. The website should be designed in such a manner that it is easy for the visitors to understand and at the same time be pleasing to the eye. The clarity of the text and colouring should be handled effectively so that the visitor does not feel it is annoying and stay back from going through the products and services offered.

• Appropriate spacing:
Some of the websites are so clumsy that it is difficult to differentiate between the topics and understand the actual content. This scenario occurs when things are not presented in a proper manner and there is no spacing between different contents. There should be proper line spacing, padding and white spaces between the texts so that it is clearly understandable by the users.

• Proper navigation:
The main thing that frustrates the visitors is when they are unable to identify where they are and how to get where they want to be. This usually occurs when there is no proper navigation system for the website. Therefore it is essential that the website provides proper navigation facilities between their webpages so that the visitor is not confused and can easily identify the required details.

• Precedence:
Precedence is considered as the most important factor for any good web design. The visual prudence plays a vital role in deciding the look and feel of the website. The different factors that are considered important for the website design are size, background colours, the positioning of text and images, contrast and design elements.

If a website is designed including all the above mentioned factors then it will surely be successful in attracting good traffic and driving good traffic. If you face any difficulty in designing the website then you can take the help of digital media agency experts and if you do not have the funds you can take loans for bad debit which are short-term loans which give you cash instantly and help you meet your necessities.

Author Bio:
Emily Roberts is a Tech writer from UK. She writes articles related to the Internet Marketing and Finance. You can catch her @financeport

Red5 Media Server iOS Android Setup


Hits: 11587  

Hope you already read our previous article “VOD to iOS” ?

 

How you can use Red5 Server for streaming to iPhone, iPads and Android?

S V N Labs Softwares implements an iOS/Android add-on setup for Red5 Server to stream both Flash, iOS and Android devices. This add-on also supports setup of JW Player, Flowplayer and HTML5 embed player using Red5 live and on-demand streams. We are expert in setting up Red5 applications and developing custom apps and plug-ins for Red5 and other media servers including Wowza, Flash Media Server, Union etc.

Red5 Recorder allows wordpress users to easily use Red5 Recorder Player on their website to record Video / Audio Streams.
Users can record their video response / review using embedable red5 recorder and after recording they can send video email to wordpress admin. Both user and admin will get email from Red5 Recorder system to get Red5 Recorded Video Streams.

Red5 includes support for the latest multi-user API’s including NetConnection, NetStream and SharedObject’s while providing a powerful RTMP / Servlet implementation. In addition to support for the RTMP protocol, the application server has an embedded Tomcat Servlet container for JEE Web Applications. Application development draws additional benefits from the Spring Framework and Scope based event driven services.

Open Source Red5 Media Server also help you for developing extensible platform that can be used in Video Conferences, Multi-User Gaming and Enterprise Application Software. S V N Labs Softwares are also expert in RED5 and most other media servers including Wowza, Flash Media Server, Union etc. and we can assist to set up transcoding, segmenting, and ipad/iphone/android server-side configuration.

Get more help for HTTP Live Video Stream Segmenter and Distributor Contact Us

PHP IP to Country


Hits: 2952  

phpIp2Country ( php IP to country ) – PHP geolocalization class with free IPs database

<?php
require('phpip2country.class.php');
        
$dbConfigArray=array(
        'host'=>'localhost',
        'port'=>3306,
        'dbName'=>'ip_to_country',
        'dbUserName'=>'ip_to_country',
        'dbUserPassword'=>'QrDB9Y8CKMdLDH8Q',
        'tableName'=>'ip_to_country',
);
        
$phpIp2Country=new phpIp2Country('278.180.178.18',$dbConfigArray);
        
print_r($phpIp2Country->getInfo(IP_INFO));
?>

 
Download Source: 
 
svn checkout http://php-ip-2-country.googlecode.com/svn/trunk/ php-ip-2-country-read-only

Integrate Klarna PHP API


Hits: 5548  

Klarna offer online invoice and part-payment solution that reduce your risk and increase your sales.

Integration Options

1. Webstore hosted by ecommerce provider.
2. Own Integrations.
3. Webstore uses open source like Magento, Virtumart, OsCommerce, WordPress, OpenCart, Prestashop, Ubercart, XT-commerce, ZenCart etc.

API Supported Countries

* Denmark
* Germany
* Finland
* Norway
* Netherlands
* Sweden

Merchant Area

API Download

e-butik / Klarna-PHP-API

Klarna Application Programming Interface

Error codes

http://integration.klarna.com/en/testing/errorcodes/

Develop a passion for learning. If you do, you will never cease to grow.

Twitter OAuth PHP


Hits: 2482  

Create applications that integrate Twitter
https://dev.twitter.com/apps

Basic authentication is not supported by Twitter API

The first PHP Library to support OAuth for Twitter’s REST API.

https://github.com/abraham/twitteroauth

Read-only application cannot POST

Twitter Demo
http://demo.svnlabs.com/twitter/


Data Transfer from Amazon S3 to Web Server


Hits: 3044  

We can transfer / copy Amazon S3 bucket with GB of data to EC2 machine and then transfer the data to the dedicated server.

We need Amazon S3 details:
Access Key: ?
Secret Key: ?

We need Web Server details:
Host: ?
User: ?
Password: ?

One option would be to run an Amazon EC2 machine, install CloudBerry Explorer onto it and start the copy process. the data will go through EC2 of course, but since it is in the same data center with S3 it will be fast and efficient.

Backup mysql database to amazon S3

PHP Bulk Emailer


Hits: 4366  

If you send email to 5,000 people using standard PHP tools, your ISPs might be blocked in seconds.

I think you already read below articles…

Theory About Bulk Emails

Emails are not working on server?

Amazon SES – Emails In Cloud

Open source – Port25

Linux Mail Servers

Email’s Major Sections

Header – From, To, Subject, Date, Message-Id
Body – HTML / Text

Server must have …

* Dedicated public static IP address
* Reverse DNS record for IP address
* Contact info in WHOIS record
* Mailbox Tracker
* SPF Records
* Signed message using DKIM
* VERP – Variable envelope return path
* Automatic Bounce Handling
* Email Scheduler
* Email Subscribe / Unsubscribe
* Keep the IPs white-listed

Limit on servers

500/per hour on the Shared servers is the limit.

Other References

http://framework.zend.com/manual/en/zend.mail.html
http://pear.php.net/package/Mail_Queue
http://www.phplist.com/details
http://wiki.e107.org/index.php?title=Bulk_mailer_interface
http://swiftmailer.org/
http://sourceforge.net/projects/phpmailer/
http://mlmmj.org/
http://www.gnu.org/software/mailman/index.html

Install MovieMasher


Hits: 4110  

Movie Masher open source flash based online video editing software and media player is free code to white label on your web site.

Movie Masher Feature

Movie Masher- Free Open Source Online Video Editor

Adobe Flash™ applets that provide front-end tools for common video editing tasks:

* Trim, composite and timeshift video
* Mix and fade multiple audio tracks
* Add effects, transitions and titling

An XML API is used to customize both the appearance and behavior of the tools:

* Colorize and reposition panels
* Reskin and bind interface controls
* Reconfigure bundled effects
* Integrate with CGI scripts

Customize Movie Masher Free Open Source Online Video Editor

Quick Start

1. transfer and decompress the applet archive to your web server.
2. load the /example/static/index.html file in your web browser.
3. read the README.txt files from other examples you want to run.
4. explore those examples by loading their index files in your browser.

Install Movie-Masher

# wget http://nchc.dl.sourceforge.net/project/moviemasher/moviemasher/3.1.13/MovieMasher_3-1-13.zip
# unzip MovieMasher_3-1-13.zip

Restart web server then point address bar to

http://server_ip:5080/moviemasher/example/static/index.html