• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Show me the money
 

Show me the money

on

  • 1,775 views

Payment gateway integration in PHP - a quick start.

Payment gateway integration in PHP - a quick start.

Statistics

Views

Total Views
1,775
Views on SlideShare
1,771
Embed Views
4

Actions

Likes
1
Downloads
77
Comments
2

2 Embeds 4

http://www.linkedin.com 3
http://coderwall.com 1

Accessibility

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

12 of 2 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Show me the money Show me the money Presentation Transcript

  • Show me the $money Payment gateway integration in PHP
  • Contents• What is a payment gateway?• Key terminologies• Types of payment processing• Available payment gateways• Sample integration• Resources
  • Payment Gateway• A payment gateway is an e-commerce application service provider that authorizes payments for e- businesses/online retailers.• Protects sensitive information (e.g. card number) by encryption• Bridges between customer and merchant as well as merchant and payment processor
  • Key Terminologies
  • Key Terminologies
  • Types of payment processing• On-site Payment Processing• Off-site Payment Processing
  • Types of payment processing• On-site Payment Processing: • Customer places an order in the merchant site • Customer provides payment details on merchant site • Merchant site calls payment gateway through API • Merchant site shows result of payment on the site • Merchant site processes the order
  • On-site payment processing
  • Types of payment processing• Off-site Payment Processing: • Customer places an order in the merchant site • Customer is taken to the payment processor site • Customer provides payment details on that site • Payment processor shows result of payment on the site • Customer is redirected back to merchant site • Merchant site processes the order
  • Off-site payment processing
  • Available payment gateways• 2CheckOut (2CO)• Paypal• Moneybookers/Skrill• Plimus• Authorize.net• Google Checkout• WorldPay
  • Sample 2CO integration• Required Information: • Account ID (sid) • Account secret • Order number • Order value • Order name
  • Sample 2CO integration - HTML
  • Sample 2CO integration (PHP)• /mycart • cart.php - Shows shopping cart • pay.php - Submits payment to processor • ipn.php - Validates payment
  • Sample 2CO integration (PHP)pay.php
  • Sample 2CO integration (PHP)verify.php
  • Resources• https://cms.paypal.com/us/cgi-bin/?cmd=_render- content&content_ID=developer/home• http://developers.2checkout.com/• http://developer.authorize.net/• https://github.com/phpfour/php-payment