Wednesday 3 August 2016

Simple 2checkout payment gateway form to integrate on your site

Sandbox URL  :  https://sandbox.2checkout.com/checkout/purchase
Live URL  : https://www.2checkout.com/checkout/purchase

<form method="post" action="https://www.2checkout.com/checkout/purchase" id="pay_checkout_now">
                                            <input type="hidden" value="202356803" name="sid">
                                            <input type="hidden" value="2CO" name="mode">
                                            <input type="hidden" value="N" name="li_0_tangible">
                                            <input type="hidden" value="product" name="li_0_type">
                                            <input type="hidden" value="1" name="li_0_quantity">
                                            <input type="hidden" value="Bill for order #5772" name="li_0_name" id="twocheck_item_name">
                                            <input type="hidden" value="56.00" name="li_0_price" id="twocheck_amount">
                                            <input type="hidden" value="5772" name="li_0_product_id" id="twocheck_item_number">
                                            <input type="hidden" value="return url of your website" name="x_receipt_link_url" id="twocheck_return">
                                            <input type="submit" value="Pay with 2Checkout" class="coloredbtn_inq pay2cc_inq" name="submit_twocheck" id="paycheckout">
                                         </form>

Read more about here https://www.2checkout.com/developers

Tuesday 2 August 2016

Top 10 Search Engine Optimization (SEO) Techniques

Search Engine Optimization is a most important topic on the World Wide Web.Great content is where it all starts and unique content is important too. You need to provide content that has different information than what is on other sites and other Web pages.

Top 10 Search Engine Optimization (SEO) Techniques.

 1. Avoid using capital letters in URLs. Windows servers are case sensitive. Keep them lowercase so there’s no confusion.

2. Use the keyword phrase in your URL

3. Keep the content up to date

4. Use your keyword phrase in anchor text of links

5. Content Aggregation will get Bigger & Better

6. Use internal linking as possible as

7. Create a sitemap

8. Keep W3 Validate of you site 

9. use meta tags 

10. Do not use underscores (_) in URLs, use hyphens (-) instead.

 

Friday 28 November 2014

Create design for product at scalablepress API in PHP

$fields = array(
'type' =>'Case',
'name' =>'Samsung Galaxy S3 Case',
'sides' => array('front'=>array('colors'=>array('Gloss'),'sizes'=>array('width'=>5),'artwork'=>'absolute url of image','position'=>array('horizontal'=>'C','offset'=>array('top'=>'2.5'))))
);
//$postData = http_build_query($fields);
$postData = json_encode($fields);

$url = 'https://api.scalablepress.com/v2/design';
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL, $url);
curl_setopt($ch,CURLOPT_POST ,true);
curl_setopt($ch,CURLOPT_SSL_VERIFYPEER ,0);
curl_setopt($ch,CURLOPT_HEADER, 1);
curl_setopt($ch,CURLOPT_HTTPHEADER, array('Content-type:application/json'));
curl_setopt($ch,CURLOPT_USERPWD, 'u:40238020c4ee790c2c159a58b5b30dae');
curl_setopt($ch,CURLOPT_POSTFIELDS, $postData);
if(curl_exec($ch) === false)
{
echo 'Curl error: ' . curl_error($ch);
} else
{