SlideShare a Scribd company logo
1 of 28
Download to read offline
Techjoomla Presents



Common Payments API
    V1.1 Joomla Day India 2013
V1.0 Joomla World Conference 2012
Cook                                                    JUG Pune
                   Trekking                    Hiking
        Bookworm           Gardener
                                              Open Source

                     Parth Lawate
                     CEO, Techjoomla,
                     Director, Tekdi Web Solutions
                     @parthlawate, @techjoomla
                     www.techjoomla.com

       Marketing                              Joomla Day India

                              Software Architecht
Entrepreneur
                       Content Strategy             Joomla Freak
jGive                                JTicketing
                            jomLike

  People Suggest
                           SocialAds                        Broadcast


                   Techjoomla. For All things Joomla
                   @techjoomla
                   techjoomla.com



     REST API                                       Email Beautifier
                       Payments API
Invitex                                                             Quick2Cart
                   Social API                        J!MailAlerts

                                      J!Bolo
Android
        IOS Apps

HTML5
                      Joomla              Magento


              Tekdi Web Solutions
              @tekdinet
              tekdi.net


 E Learning               CMS             Ecommerce

                      Custom Apps
              CRM                   Social Networks
Pay by Check
                                      PayPal Pro


                 Authorize.net
 PayPal                                      2Checkout



               Lets Get Started !                   CCAvenue



HDFC
               LinkPoint                        PaseGuro

                      alphauserpoints
       PayU                                  JomSocialPoints
                     Pay By Purchase Order
Lets Innovate. Not Duplicate
Why a Common API ?
Lots & lots of Applications use online Payments.

Application Areas        Extension Examples
                         ●
                             Virtuemart
Shops
                         ●
                             RedShop
Donations                ●
                             Hikashop
Event Tickets            ●
                             Akeeba Subs
Advertising              ●
                             PayPlans
Membership Systems       ●
                             SocialAds

Subscriptions
                         ●
                             JGive
                         ●
                             JTicketing
Basic Payment forms
                         ●
                             Quick2Cart
100s & 1000s of Gateways in the
             world
 Do you want to integrate them all yourself ?
Payment integration is
- complex
- needs extensive testing
- is extremely time consuming

err.. did i mention boring ?
And thats just the tip of the
             IceBerg
if you have integrated a Gateway from scratch...
          you'll know what i mean here !
Advantages
●
    Code Reuse           ●
                             Supports 10+
●
    Minimize testing         Gateways
●
    One Payment plugin
                         ●
                             Easy API to add more
    works everywhere     ●
                             Just 3 steps to add
●
    Scalable                 payments in your
                             extensions
●
    Flexible             ●
                             Proven – 4 varied
                             extensions using it
Supported Gateways
●
    Paypal            ●
                          JomSocial Points
●
    Paypal Pro        ●
                          Alpha User Points
●
    Authorize.net     ●
                          Pay by PO
●
    2Checkout         ●
                          Pay By Check
●
    LinkPoint         ●
                          HDFC
●
    PayU              ●
                          Amazon
●
    CCAvenue          ●
                          Paseguro
Super Quick To Integrate !
Steps to Payments !
Here's How
I. Construct the Gateway list
II. Render Payment Form onsite/offsite
III. Add onProcess trigger in your notify URL




      1               2                3
1. List the Gateway Options
Trigger
onTP_GetInfo($config)
It returns an array...
The $config lets you pass
which plugins to show from
your extension config
You can render it as a Drop
Down list or Radio list as
you like..
Example Code



$dispatcher=JDispatcher::getInstance();
JPluginHelper::importPlugin('payment');
$gateways=$dispatcher->trigger('onTP_GetInfo',array((array)$this->gateways));
$this->assignRef('gateways',$gateways);
2. Render the Form
You can render the form on a
new page or via Ajax. Trigger
onTP_GetHTML($vars) for
loading the form.
$html=$dispatcher->trigger('onTP_Get
HTML',array($vars));
return $html;

                                       This is purely representative. The form
                                       could be onsite for something like
$vars are the various                  Auth.net while for paypal, it will be
variables you need to pass to          simply a Paypal Button
the gateway
The Variables
This is the data that has to be passed on the payment processor
$vars->order_id = Unique Order ID
$vars->user_firstname = First Name
$vars->user_id = User ID if available
$vars->user_email – The user's email
$vars->item_name – Item Name or title
$vars->return – Return URL to get to after transaction
$vars->cancel_return – URL t come to in case of cancellations
$vars->notify_url – URL where the status should be returned
$vars->currency_code – Currency code
$vars->amount – Final amount

You can extend the variables to send as needed. This is just an example
3. Process
●
    In your Notify URL, trigger
    onTP_Processpayment
    $data=$dispatcher->trigger('onTP_Processpayment',array($post));

●
    $data['status'] will have the translated status
●
    Do your post processing based on standard
    Statuses returned
Schematic
          onTP_GetHTML($vars)                      Plugin functioning


Paypal


              This is the Notify      Every extension tells the plugin passes
                      URL             the plugin its return url via the $vars

         onTP_Processpayment ($_REQUEST[])


             Compose Request                              Post Processing

               CURL Request             Auth.net


                GetResponse

            TranslateResponse
Where is it being used ?
In Products

●
  JTicketing – Event Tickets
●
  jGive Donations
●
  SocialAds – Joomla Advertising
●
  Quick2Cart – Ecommerce

In Services

●
  Custom Exibition Booth booking app
●
  Custom Member Signup payments
Get Started !
Get the Code
Currently Paypal & Auth.net plugins are available on Github. The rest
will be there very soon

https://github.com/techjoomla/joomla-payments
Next Steps ?
1. Increasing adoption & developing more plugins




                                            JPayment
                                             libraries




2. Merging the plugins into the Joomla Platform
What else do we have to share ?
Techjoomla Social API plugins
    Plugins available       Used in
●
    LinkedIn
                        ●
                            Invitex
                        ●
                            Broadcast
●
    Gmail
                        ●
                            Profile Import
●
    Hotmail
●
    Yahoo                   Methods Currently Available
                        ●
                            OAuth Authentication
●
    Facebook            ●
                            Get Profile Data
●
    Orkut               ●
                            GetStatus
●
    Twitter             ●
                            Get Friends
                        ●
                            Send Message
Techjoomla REST APIs
Methods Available
●
    Authentication
●
    Create/Update/List/Delete
●
    Create/Update/List/Delete Jomsocial groups
●
    Create content
●
    List categories

Next Steps
Prepare POC for pull request for APIs in CMS
Thank You !
●
    Have an idea which we can work together
    on ?
●
    Want to Improve on this ?
●
    Anything else ?

●
    Drop us an email ! contact@techjoomla.com
●
    Twitter @techjoomla | @parthlawate

More Related Content

More from Parth Lawate

Quizzo - NDEAR Compliant , Beckn Driven, Gamified Learning Application
Quizzo - NDEAR Compliant , Beckn Driven, Gamified Learning Application Quizzo - NDEAR Compliant , Beckn Driven, Gamified Learning Application
Quizzo - NDEAR Compliant , Beckn Driven, Gamified Learning Application Parth Lawate
 
Minimum viable product @headstart pune Feb 2020
Minimum viable product @headstart pune Feb 2020Minimum viable product @headstart pune Feb 2020
Minimum viable product @headstart pune Feb 2020Parth Lawate
 
Wow! you built this with joomla!
Wow! you built this with joomla!Wow! you built this with joomla!
Wow! you built this with joomla!Parth Lawate
 
The Unite Framework
The Unite Framework The Unite Framework
The Unite Framework Parth Lawate
 
The Spirit of Opensource - contribution as a strategy for growth and innova...
The Spirit of Opensource   - contribution as a strategy for growth and innova...The Spirit of Opensource   - contribution as a strategy for growth and innova...
The Spirit of Opensource - contribution as a strategy for growth and innova...Parth Lawate
 
Techjoomla Infrastructure Extensions - Adding an Enterprise Layer to Joomla!
Techjoomla Infrastructure Extensions - Adding an Enterprise Layer to Joomla!Techjoomla Infrastructure Extensions - Adding an Enterprise Layer to Joomla!
Techjoomla Infrastructure Extensions - Adding an Enterprise Layer to Joomla!Parth Lawate
 
Powering india's largest learning platform for school kids with joomla
Powering india's largest learning platform for school kids with joomlaPowering india's largest learning platform for school kids with joomla
Powering india's largest learning platform for school kids with joomlaParth Lawate
 
The spirit of Opensource - lets plan to contribute ! @JWC16
The spirit of Opensource - lets plan to contribute ! @JWC16The spirit of Opensource - lets plan to contribute ! @JWC16
The spirit of Opensource - lets plan to contribute ! @JWC16Parth Lawate
 
Shika 1.0 Launch Presentation
Shika 1.0 Launch PresentationShika 1.0 Launch Presentation
Shika 1.0 Launch PresentationParth Lawate
 
Getting Involved with Joomla - Why and how to contribute
Getting Involved with Joomla - Why and how to contributeGetting Involved with Joomla - Why and how to contribute
Getting Involved with Joomla - Why and how to contributeParth Lawate
 
Building it right with Joomla 3 !
Building it right with Joomla 3 !Building it right with Joomla 3 !
Building it right with Joomla 3 !Parth Lawate
 
Using Joomla, Zoo & SOLR to power Asia's Largest Auction House
Using Joomla, Zoo & SOLR to power Asia's Largest Auction HouseUsing Joomla, Zoo & SOLR to power Asia's Largest Auction House
Using Joomla, Zoo & SOLR to power Asia's Largest Auction HouseParth Lawate
 
Using the Joomla Framework for Internet of Things (IoT) Case for Lighting Con...
Using the Joomla Framework for Internet of Things (IoT) Case for Lighting Con...Using the Joomla Framework for Internet of Things (IoT) Case for Lighting Con...
Using the Joomla Framework for Internet of Things (IoT) Case for Lighting Con...Parth Lawate
 
Joomla 3.3 Presentation for the First Joomla Google Hangout ever !
Joomla 3.3 Presentation for the First Joomla Google Hangout ever ! Joomla 3.3 Presentation for the First Joomla Google Hangout ever !
Joomla 3.3 Presentation for the First Joomla Google Hangout ever ! Parth Lawate
 
Joomla Day Netherlands - Building the Joomla Marketing Strategy..
Joomla Day Netherlands - Building the Joomla Marketing Strategy..Joomla Day Netherlands - Building the Joomla Marketing Strategy..
Joomla Day Netherlands - Building the Joomla Marketing Strategy..Parth Lawate
 
Socialads Webinar for CloudAccess on 4th September 2013 valid upto SAv2.9
Socialads Webinar for CloudAccess on 4th September 2013 valid upto SAv2.9Socialads Webinar for CloudAccess on 4th September 2013 valid upto SAv2.9
Socialads Webinar for CloudAccess on 4th September 2013 valid upto SAv2.9Parth Lawate
 
Invitex Webinar Presentation -11th September '13 for CloudAccess Webinar - Va...
Invitex Webinar Presentation -11th September '13 for CloudAccess Webinar - Va...Invitex Webinar Presentation -11th September '13 for CloudAccess Webinar - Va...
Invitex Webinar Presentation -11th September '13 for CloudAccess Webinar - Va...Parth Lawate
 
Monetize Your Joomla Website with Techjoomla !
Monetize Your Joomla Website with Techjoomla !Monetize Your Joomla Website with Techjoomla !
Monetize Your Joomla Website with Techjoomla !Parth Lawate
 
Joomla Appstore/ JoomRepo/ a new JED
Joomla Appstore/ JoomRepo/ a new JEDJoomla Appstore/ JoomRepo/ a new JED
Joomla Appstore/ JoomRepo/ a new JEDParth Lawate
 
Joomla presentation for PHPCamp 2011
Joomla presentation for PHPCamp 2011Joomla presentation for PHPCamp 2011
Joomla presentation for PHPCamp 2011Parth Lawate
 

More from Parth Lawate (20)

Quizzo - NDEAR Compliant , Beckn Driven, Gamified Learning Application
Quizzo - NDEAR Compliant , Beckn Driven, Gamified Learning Application Quizzo - NDEAR Compliant , Beckn Driven, Gamified Learning Application
Quizzo - NDEAR Compliant , Beckn Driven, Gamified Learning Application
 
Minimum viable product @headstart pune Feb 2020
Minimum viable product @headstart pune Feb 2020Minimum viable product @headstart pune Feb 2020
Minimum viable product @headstart pune Feb 2020
 
Wow! you built this with joomla!
Wow! you built this with joomla!Wow! you built this with joomla!
Wow! you built this with joomla!
 
The Unite Framework
The Unite Framework The Unite Framework
The Unite Framework
 
The Spirit of Opensource - contribution as a strategy for growth and innova...
The Spirit of Opensource   - contribution as a strategy for growth and innova...The Spirit of Opensource   - contribution as a strategy for growth and innova...
The Spirit of Opensource - contribution as a strategy for growth and innova...
 
Techjoomla Infrastructure Extensions - Adding an Enterprise Layer to Joomla!
Techjoomla Infrastructure Extensions - Adding an Enterprise Layer to Joomla!Techjoomla Infrastructure Extensions - Adding an Enterprise Layer to Joomla!
Techjoomla Infrastructure Extensions - Adding an Enterprise Layer to Joomla!
 
Powering india's largest learning platform for school kids with joomla
Powering india's largest learning platform for school kids with joomlaPowering india's largest learning platform for school kids with joomla
Powering india's largest learning platform for school kids with joomla
 
The spirit of Opensource - lets plan to contribute ! @JWC16
The spirit of Opensource - lets plan to contribute ! @JWC16The spirit of Opensource - lets plan to contribute ! @JWC16
The spirit of Opensource - lets plan to contribute ! @JWC16
 
Shika 1.0 Launch Presentation
Shika 1.0 Launch PresentationShika 1.0 Launch Presentation
Shika 1.0 Launch Presentation
 
Getting Involved with Joomla - Why and how to contribute
Getting Involved with Joomla - Why and how to contributeGetting Involved with Joomla - Why and how to contribute
Getting Involved with Joomla - Why and how to contribute
 
Building it right with Joomla 3 !
Building it right with Joomla 3 !Building it right with Joomla 3 !
Building it right with Joomla 3 !
 
Using Joomla, Zoo & SOLR to power Asia's Largest Auction House
Using Joomla, Zoo & SOLR to power Asia's Largest Auction HouseUsing Joomla, Zoo & SOLR to power Asia's Largest Auction House
Using Joomla, Zoo & SOLR to power Asia's Largest Auction House
 
Using the Joomla Framework for Internet of Things (IoT) Case for Lighting Con...
Using the Joomla Framework for Internet of Things (IoT) Case for Lighting Con...Using the Joomla Framework for Internet of Things (IoT) Case for Lighting Con...
Using the Joomla Framework for Internet of Things (IoT) Case for Lighting Con...
 
Joomla 3.3 Presentation for the First Joomla Google Hangout ever !
Joomla 3.3 Presentation for the First Joomla Google Hangout ever ! Joomla 3.3 Presentation for the First Joomla Google Hangout ever !
Joomla 3.3 Presentation for the First Joomla Google Hangout ever !
 
Joomla Day Netherlands - Building the Joomla Marketing Strategy..
Joomla Day Netherlands - Building the Joomla Marketing Strategy..Joomla Day Netherlands - Building the Joomla Marketing Strategy..
Joomla Day Netherlands - Building the Joomla Marketing Strategy..
 
Socialads Webinar for CloudAccess on 4th September 2013 valid upto SAv2.9
Socialads Webinar for CloudAccess on 4th September 2013 valid upto SAv2.9Socialads Webinar for CloudAccess on 4th September 2013 valid upto SAv2.9
Socialads Webinar for CloudAccess on 4th September 2013 valid upto SAv2.9
 
Invitex Webinar Presentation -11th September '13 for CloudAccess Webinar - Va...
Invitex Webinar Presentation -11th September '13 for CloudAccess Webinar - Va...Invitex Webinar Presentation -11th September '13 for CloudAccess Webinar - Va...
Invitex Webinar Presentation -11th September '13 for CloudAccess Webinar - Va...
 
Monetize Your Joomla Website with Techjoomla !
Monetize Your Joomla Website with Techjoomla !Monetize Your Joomla Website with Techjoomla !
Monetize Your Joomla Website with Techjoomla !
 
Joomla Appstore/ JoomRepo/ a new JED
Joomla Appstore/ JoomRepo/ a new JEDJoomla Appstore/ JoomRepo/ a new JED
Joomla Appstore/ JoomRepo/ a new JED
 
Joomla presentation for PHPCamp 2011
Joomla presentation for PHPCamp 2011Joomla presentation for PHPCamp 2011
Joomla presentation for PHPCamp 2011
 

Recently uploaded

Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 

Recently uploaded (20)

Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 

Joomla Common Payments API - Joomla World Conference 2012

  • 1. Techjoomla Presents Common Payments API V1.1 Joomla Day India 2013 V1.0 Joomla World Conference 2012
  • 2. Cook JUG Pune Trekking Hiking Bookworm Gardener Open Source Parth Lawate CEO, Techjoomla, Director, Tekdi Web Solutions @parthlawate, @techjoomla www.techjoomla.com Marketing Joomla Day India Software Architecht Entrepreneur Content Strategy Joomla Freak
  • 3. jGive JTicketing jomLike People Suggest SocialAds Broadcast Techjoomla. For All things Joomla @techjoomla techjoomla.com REST API Email Beautifier Payments API Invitex Quick2Cart Social API J!MailAlerts J!Bolo
  • 4. Android IOS Apps HTML5 Joomla Magento Tekdi Web Solutions @tekdinet tekdi.net E Learning CMS Ecommerce Custom Apps CRM Social Networks
  • 5. Pay by Check PayPal Pro Authorize.net PayPal 2Checkout Lets Get Started ! CCAvenue HDFC LinkPoint PaseGuro alphauserpoints PayU JomSocialPoints Pay By Purchase Order
  • 6. Lets Innovate. Not Duplicate
  • 7. Why a Common API ? Lots & lots of Applications use online Payments. Application Areas Extension Examples ● Virtuemart Shops ● RedShop Donations ● Hikashop Event Tickets ● Akeeba Subs Advertising ● PayPlans Membership Systems ● SocialAds Subscriptions ● JGive ● JTicketing Basic Payment forms ● Quick2Cart
  • 8. 100s & 1000s of Gateways in the world Do you want to integrate them all yourself ?
  • 9. Payment integration is - complex - needs extensive testing - is extremely time consuming err.. did i mention boring ?
  • 10. And thats just the tip of the IceBerg if you have integrated a Gateway from scratch... you'll know what i mean here !
  • 11. Advantages ● Code Reuse ● Supports 10+ ● Minimize testing Gateways ● One Payment plugin ● Easy API to add more works everywhere ● Just 3 steps to add ● Scalable payments in your extensions ● Flexible ● Proven – 4 varied extensions using it
  • 12. Supported Gateways ● Paypal ● JomSocial Points ● Paypal Pro ● Alpha User Points ● Authorize.net ● Pay by PO ● 2Checkout ● Pay By Check ● LinkPoint ● HDFC ● PayU ● Amazon ● CCAvenue ● Paseguro
  • 13. Super Quick To Integrate !
  • 15. Here's How I. Construct the Gateway list II. Render Payment Form onsite/offsite III. Add onProcess trigger in your notify URL 1 2 3
  • 16. 1. List the Gateway Options Trigger onTP_GetInfo($config) It returns an array... The $config lets you pass which plugins to show from your extension config You can render it as a Drop Down list or Radio list as you like..
  • 18. 2. Render the Form You can render the form on a new page or via Ajax. Trigger onTP_GetHTML($vars) for loading the form. $html=$dispatcher->trigger('onTP_Get HTML',array($vars)); return $html; This is purely representative. The form could be onsite for something like $vars are the various Auth.net while for paypal, it will be variables you need to pass to simply a Paypal Button the gateway
  • 19. The Variables This is the data that has to be passed on the payment processor $vars->order_id = Unique Order ID $vars->user_firstname = First Name $vars->user_id = User ID if available $vars->user_email – The user's email $vars->item_name – Item Name or title $vars->return – Return URL to get to after transaction $vars->cancel_return – URL t come to in case of cancellations $vars->notify_url – URL where the status should be returned $vars->currency_code – Currency code $vars->amount – Final amount You can extend the variables to send as needed. This is just an example
  • 20. 3. Process ● In your Notify URL, trigger onTP_Processpayment $data=$dispatcher->trigger('onTP_Processpayment',array($post)); ● $data['status'] will have the translated status ● Do your post processing based on standard Statuses returned
  • 21. Schematic onTP_GetHTML($vars) Plugin functioning Paypal This is the Notify Every extension tells the plugin passes URL the plugin its return url via the $vars onTP_Processpayment ($_REQUEST[]) Compose Request Post Processing CURL Request Auth.net GetResponse TranslateResponse
  • 22. Where is it being used ? In Products ● JTicketing – Event Tickets ● jGive Donations ● SocialAds – Joomla Advertising ● Quick2Cart – Ecommerce In Services ● Custom Exibition Booth booking app ● Custom Member Signup payments
  • 23. Get Started ! Get the Code Currently Paypal & Auth.net plugins are available on Github. The rest will be there very soon https://github.com/techjoomla/joomla-payments
  • 24. Next Steps ? 1. Increasing adoption & developing more plugins JPayment libraries 2. Merging the plugins into the Joomla Platform
  • 25. What else do we have to share ?
  • 26. Techjoomla Social API plugins Plugins available Used in ● LinkedIn ● Invitex ● Broadcast ● Gmail ● Profile Import ● Hotmail ● Yahoo Methods Currently Available ● OAuth Authentication ● Facebook ● Get Profile Data ● Orkut ● GetStatus ● Twitter ● Get Friends ● Send Message
  • 27. Techjoomla REST APIs Methods Available ● Authentication ● Create/Update/List/Delete ● Create/Update/List/Delete Jomsocial groups ● Create content ● List categories Next Steps Prepare POC for pull request for APIs in CMS
  • 28. Thank You ! ● Have an idea which we can work together on ? ● Want to Improve on this ? ● Anything else ? ● Drop us an email ! contact@techjoomla.com ● Twitter @techjoomla | @parthlawate