Saturday, 20 December 2014

how to integrate advanced paypal payment in your website

PayPal Payments Advanced

Accept credit cards, PayPal, and PayPal Credit®  online with PayPal Payments Advanced. This all-in-one solution offers an embedded checkout that keeps customers on the merchant's site and an Internet merchant account from PayPal. Plus, it's PCI compliant to help merchants manage their credit card security requirements.  

How it works

With PayPal Payments Advanced, merchants can enable their online stores to collect payments directly via credit card, PayPal Express Checkout, or PayPal's PayPal Credit service. From an integration standpoint, PayPal Payments Advanced is identical to the PayPal Payflow gateway, with the following exceptions:

Payflow LogoPayflow has become an essential part of PayPal's premier product offerings, coming standard with all new PayPal Payments Advanced and PayPal Payments Pro accounts.
Because Payflow is loosely integrated with the PayPal Sandbox at this time, developers are sometimes unsure about how to get started and may encounter some minor roadblocks. Follow this guide to start running testable code in no time!

Friday, 5 December 2014

Install and Configure CodeIgniter Framework

CodeIgniter is one of the most popular PHP frameworks around. It uses the Model-View-Controller Architectural design pattern and it’s considered by lots of developers as one of the best framework solution for small to medium projects.
First of all, you need to download.
Why Codeigniter Framework is Better than Custom PHP Development

Configuring CodeIgniter
  Now you have CodeIgniter installed on your server for the configuration. Open the application/config/config.php file and set your base URL. If you intend to use encryption or sessions, set your encryption key. For the database configuration, open the application/config/database.php and update with your details.

The following is a quick description of what you can do by editing some of the most commonly used configuration files:
- autoload.php: specifies which systems (Packages, Libraries, Helper files, Custom config files, Language files and Models) should be loaded by default.
- config.php: contains all website configuration.
- constants.php: contains defined constants which are used when checking and setting modes when working with the file system.
- database.php: contains the settings needed to access your database.
- email.php: This file is not created by default. But you can create it and set the default values for the email class. Like: mailtype, charset, newline, protocol, smtp_host, etc.
- hooks.php: lets you define “hooks” to extend CI without editing the core files.
- mime.php: contains an array of mime types. It is used by the upload class to help identify allowed file type.
- routes.php: lets you re-map URI requests to specific controller functions.
- smileys.php: contains an array of smileys for use with the emoticon helper.
- upload.php: This file is not created by default. But you can create it and set the default values for the upload class. Like: upload_path, allowed_types, max_size, max_width, max_height, etc.
- user_agents.php: contains four arrays of user agent data. It is used by the User Agent Class to help identify browser, platform, robot, and mobile device data. The array keys are used to identify the device and the array values are used to set the actual name of the item.

Thursday, 4 December 2014

PHP for Android Project Launched

PHP for Android project (PFA) aims to make PHP development in Android not only possible but also feasible providing tools and documentation.
We currently have an APK which provides PHP support to SL4A (PhpForAndroid.apk) and we're working in a manual.
Irontec is the company behind this project. About this project.
irontec have just launched an open source project to bring PHP to Android platform. PHP for Android project (PFA) aims to make PHP development in Android not only possible but also feasable providing tools and documentation. The project already have an APK which provides PHP support to Android Scripting Environment (ASE). To get started you can follow the screencast below :
APK and source code both available at Minimum requirement to get PHP for Android running is Android 1.5 phone or emulator. There is even an unofficial ASE build with PHP 5.3 support included. Now Rasmus can get an Android phone and start scripting on mobile.