Sunday, May 29, 2016

Solved Integrate Paypal IPN in PHP

in this post we will see how to use PayPal IPN in PHP. PayPal IPN (instant payment notification) allows you to integrate PayPal payments with web application backend. As the name suggests it sends instant notification of the payment processed so that you can use the data for further use. An example would be when you want to allow users to download something immediately after successful payment.

When a user sends money to your PayPal, you will get instant response/notification from PayPal and then you can save it in your website’s backend (database) for further use. Another use would be to set up a recurring payment system so that IPN script updates the transaction table automatically for you.

Let’s break this into simple steps to make it easier:
  • User click on buy button and makes payment.
  • PayPal processes that payment and sends back you response with transaction detail to a PHP page in your website (IPN script).
  • User will see payment successful page.
Live DEMO


Now, in order to make IPN payments work you need to enable IPN in the seller’s PayPal account settings. Login to your PayPal account and go to profile option and enable it. Also you need to enter IPN script URL in settings:
in our example this url would be http://codeglamour.com/ipntest/ipn.php replace  your domain url here 








 In our demo we have used sandbox account you just need to replace the email id’s in index.php file .
and change the username and password in dbconnect.php file . First create a transaction table in your database to store the transaction details sent by PayPal:

 you will get sql file in zip file restore it on your server


Now we have two main files index.php which will show a “Pay Now” button to make purchase and inform paypal about the action, then another file we have is ipn.php which would receive response from paypal and store the transaction detail and status in database table.

You can download the source code and host it on your server to see it working. Its ready to use code just add your Paypal merchant email ID and set product prize etc, then you are all good to go





Wednesday, March 23, 2016

Attendence Management System in C#



Download

username admin
password admin123


Wednesday, October 14, 2015

how to identify original leather

What is Leather?
 The British Standard Definition of leather is: 'Hide or skin with its original fibrous structure more or less intact,The hair or wool may, or may not, have been removed. It is also made from a hide or skin that has been split into layers or segmented either before or after tanning.

How to Identify original Leather? 

 The amount of surface coating applied to the leather determines genuine leather. In original leather their is specific smell its rough to touch. fake ones are also elastic when stretched with force. They are not leather then what they are ?
 There are many types of leather items sold and described as leather, when in actual fact they are copies . Some of the more common examples are mentioned below
 Blended leather
Blended leather is a term used for a man-made upholstery material made as a layered structure of a fiber or paper backer, a pulp made from shredded leather, and a polyurethane coating which is embossed with a leather-like texture. Related products, bi cast leather or coated leather, are made by splitting, shaving, or grinding leather to reduce its thickness, and then laminating it.(Wikipedia) Pluses • Low Cost • Constant cutting area Weaknesses Fake leather Poor flexibility week strength Looks cheap

 Laminated Leather
 Lamination is the technique of manufacturing a material in multiple layers, so that the composite material achieves improved strength, stability, sound insulation, appearance or other properties from the use of differing materials. A laminate is usually permanently assembled by heat, pressure, welding, or adhesives. Pluses • stable surface • flexible and strength Weaknesses • Lacks natural look • leaky • tends to crack Tags: original leather jackets , pure leather jackets -

 Leather Jacket Gear

Men Leather Jacket

Women Leather Jackets

Motorcycle Leather Jacket

Men leather jackets

Leather Jacket Gear has been producing plethora of leather wears for all age groups. With an experience of 5 years, we have managed to maintain our high quality and standards. Through these years, we have earned a distinct reputation in leather goods manufacturing. The look and quality of our leather clothing is timeless. Our dedicated leather stitching experts produce premium quality leather wear with incredible styles and trendy designs. From simple designs to classic styles, our leather wear represents a classy look. Leather Jacket Gear offers a huge range of leather wears at the most reasonable rates. With 100% money back guarantee, you can return any of our products in case you are not satisfied with the quality.
men leather jackets
Leather Jacket