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

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

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