How I can make paypal payment in my web application with codeigniter

in my web application(codeigniter frameword based) there are some products that you can download it
how I can make the paypal payment for download it?

I wait solution