SlideShare a Scribd company logo
1 of 9
Download to read offline
ActiveMerchant
  Krzysztof Jablonski (Netguru)!
What will I say

!     Short overview of online payments!
!     What is Activemerchant and how it can help
      us?!
!     Paypal developer account!
!     Simple rails example!
Online payment providers
What is it activemerchant?


!     Ruby library for dealing with credit cards and
      payment processors and shipping.!
!     Created in 2006!
!     67 direct payment providers and 11 offsite
      payment gateways!
Structure of activmerchant


!       ActiveMerchant::Billing::Base.mode = :test // development.rb	


!     ActiveMerchant::Billing::PaypalExpressGateway!
      !     login!
      !     password!
      !     signature!


!     setup_purchase(money, {:return_url, :cancel_return_url})!
!     redirect_url_for(token)!
!     details_for(token)!
!     purchase(money, {:token, :payer_id})!
Paypal developer account

!   https://developer.paypal.com/!
Paypal Test accounts
Paypal Test accounts
rails example




https://github.com/prug/prug2.0-activemerchant!

More Related Content

Similar to Active Merchant - Krzysztof Jabłoński (PRUG 2.0)

5 Reasons To Love CodeIgniter
5 Reasons To Love CodeIgniter5 Reasons To Love CodeIgniter
5 Reasons To Love CodeIgniter
nicdev
 
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Deepak Nadig
 

Similar to Active Merchant - Krzysztof Jabłoński (PRUG 2.0) (20)

Open Bank Project Presentation Tel Aviv CA 4th April 2017
Open Bank Project Presentation Tel Aviv CA 4th April 2017 Open Bank Project Presentation Tel Aviv CA 4th April 2017
Open Bank Project Presentation Tel Aviv CA 4th April 2017
 
Payments On Rails
Payments On RailsPayments On Rails
Payments On Rails
 
Active Merchant
Active MerchantActive Merchant
Active Merchant
 
WAC Network APIs @ OverTheAir 2011
WAC Network APIs @ OverTheAir 2011WAC Network APIs @ OverTheAir 2011
WAC Network APIs @ OverTheAir 2011
 
Testing web APIs
Testing web APIsTesting web APIs
Testing web APIs
 
API design principles for accelerated development
API design principles for accelerated developmentAPI design principles for accelerated development
API design principles for accelerated development
 
One page shops with Magento & Angular Js - Vinai Kopp
One page shops with Magento & Angular Js - Vinai KoppOne page shops with Magento & Angular Js - Vinai Kopp
One page shops with Magento & Angular Js - Vinai Kopp
 
5 Reasons To Love CodeIgniter
5 Reasons To Love CodeIgniter5 Reasons To Love CodeIgniter
5 Reasons To Love CodeIgniter
 
Open Identity - getting to know your users
Open Identity - getting to know your usersOpen Identity - getting to know your users
Open Identity - getting to know your users
 
The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016
 
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
Redesigning PayPal APIs for Scale and Simplicity - QCon San Francisco 2013
 
Payment System, based on Authorize.net
Payment System, based on Authorize.netPayment System, based on Authorize.net
Payment System, based on Authorize.net
 
Firefox OS payments
Firefox OS paymentsFirefox OS payments
Firefox OS payments
 
Chris Mathias Presents Advanced API Design Considerations at LA CTO Forum
Chris Mathias Presents Advanced API Design Considerations at LA CTO ForumChris Mathias Presents Advanced API Design Considerations at LA CTO Forum
Chris Mathias Presents Advanced API Design Considerations at LA CTO Forum
 
Java Hurdling: Obstacles and Techniques in Java Client Penetration-Testing
Java Hurdling: Obstacles and Techniques in Java Client Penetration-TestingJava Hurdling: Obstacles and Techniques in Java Client Penetration-Testing
Java Hurdling: Obstacles and Techniques in Java Client Penetration-Testing
 
Apps World London 2012
Apps World London 2012Apps World London 2012
Apps World London 2012
 
Eraswap and Blocklogy
Eraswap and BlocklogyEraswap and Blocklogy
Eraswap and Blocklogy
 
Designing JavaScript APIs
Designing JavaScript APIsDesigning JavaScript APIs
Designing JavaScript APIs
 
Metrics-Driven Engineering
Metrics-Driven EngineeringMetrics-Driven Engineering
Metrics-Driven Engineering
 
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx 2015
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx 2015Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx 2015
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx 2015
 

More from ecommerce poland expo

More from ecommerce poland expo (20)

XVII Targi eHandlu - Szkła.com - Mateusz Matula - Smart vending jako nowy ele...
XVII Targi eHandlu - Szkła.com - Mateusz Matula - Smart vending jako nowy ele...XVII Targi eHandlu - Szkła.com - Mateusz Matula - Smart vending jako nowy ele...
XVII Targi eHandlu - Szkła.com - Mateusz Matula - Smart vending jako nowy ele...
 
XVII Targi eHandlu - Takaoto - Szymon Słowik - Opisy kategorii wspierające SE...
XVII Targi eHandlu - Takaoto - Szymon Słowik - Opisy kategorii wspierające SE...XVII Targi eHandlu - Takaoto - Szymon Słowik - Opisy kategorii wspierające SE...
XVII Targi eHandlu - Takaoto - Szymon Słowik - Opisy kategorii wspierające SE...
 
XVII Targi eHandlu - Beeffective - Tomasz Piotrowski, Anna Skóra - Zwiększ pr...
XVII Targi eHandlu - Beeffective - Tomasz Piotrowski, Anna Skóra - Zwiększ pr...XVII Targi eHandlu - Beeffective - Tomasz Piotrowski, Anna Skóra - Zwiększ pr...
XVII Targi eHandlu - Beeffective - Tomasz Piotrowski, Anna Skóra - Zwiększ pr...
 
XVII Targi eHandlu - DS Smith - Marta Jędrzejczak - Jakim wyzwaniom musi spro...
XVII Targi eHandlu - DS Smith - Marta Jędrzejczak - Jakim wyzwaniom musi spro...XVII Targi eHandlu - DS Smith - Marta Jędrzejczak - Jakim wyzwaniom musi spro...
XVII Targi eHandlu - DS Smith - Marta Jędrzejczak - Jakim wyzwaniom musi spro...
 
XVII Targi eHandlu - Promotraffic - Robert Stolarczyk - Jak zaplanować i uruc...
XVII Targi eHandlu - Promotraffic - Robert Stolarczyk - Jak zaplanować i uruc...XVII Targi eHandlu - Promotraffic - Robert Stolarczyk - Jak zaplanować i uruc...
XVII Targi eHandlu - Promotraffic - Robert Stolarczyk - Jak zaplanować i uruc...
 
XVII Targi eHandlu - digitalk - Artur Jabłoński - Optymalizacja budżetu na po...
XVII Targi eHandlu - digitalk - Artur Jabłoński - Optymalizacja budżetu na po...XVII Targi eHandlu - digitalk - Artur Jabłoński - Optymalizacja budżetu na po...
XVII Targi eHandlu - digitalk - Artur Jabłoński - Optymalizacja budżetu na po...
 
XVII Targi eHandlu - Freshworks - Krish Ramachandran - When experience matter...
XVII Targi eHandlu - Freshworks - Krish Ramachandran - When experience matter...XVII Targi eHandlu - Freshworks - Krish Ramachandran - When experience matter...
XVII Targi eHandlu - Freshworks - Krish Ramachandran - When experience matter...
 
XVII Targi eHandlu - olzalogistic - Tomasz Ryłko - Czeski rynek e-commerce
XVII Targi eHandlu - olzalogistic - Tomasz Ryłko - Czeski rynek e-commerceXVII Targi eHandlu - olzalogistic - Tomasz Ryłko - Czeski rynek e-commerce
XVII Targi eHandlu - olzalogistic - Tomasz Ryłko - Czeski rynek e-commerce
 
XVII Targi eHandlu - Gonito - Damian Wiszowaty - CROSS-BORDER PO POLSKU, czyl...
XVII Targi eHandlu - Gonito - Damian Wiszowaty - CROSS-BORDER PO POLSKU, czyl...XVII Targi eHandlu - Gonito - Damian Wiszowaty - CROSS-BORDER PO POLSKU, czyl...
XVII Targi eHandlu - Gonito - Damian Wiszowaty - CROSS-BORDER PO POLSKU, czyl...
 
XVII Targi eHandlu - KubotaStore - Joanna Kwiatkowska - Od Stadionu X-lecia d...
XVII Targi eHandlu - KubotaStore - Joanna Kwiatkowska - Od Stadionu X-lecia d...XVII Targi eHandlu - KubotaStore - Joanna Kwiatkowska - Od Stadionu X-lecia d...
XVII Targi eHandlu - KubotaStore - Joanna Kwiatkowska - Od Stadionu X-lecia d...
 
XVII Targi eHandlu - AtomStore - Łukasz Plutecki - Mobile commerce, czyli cze...
XVII Targi eHandlu - AtomStore - Łukasz Plutecki - Mobile commerce, czyli cze...XVII Targi eHandlu - AtomStore - Łukasz Plutecki - Mobile commerce, czyli cze...
XVII Targi eHandlu - AtomStore - Łukasz Plutecki - Mobile commerce, czyli cze...
 
XVII Targi eHandlu - AMW - Maciej Macios - Copywriting jako pas startowy do p...
XVII Targi eHandlu - AMW - Maciej Macios - Copywriting jako pas startowy do p...XVII Targi eHandlu - AMW - Maciej Macios - Copywriting jako pas startowy do p...
XVII Targi eHandlu - AMW - Maciej Macios - Copywriting jako pas startowy do p...
 
XVII Targi eHandlu - Setup.pl - Paweł Lach - CO ZNACZY BE OMNI ? Everestu cd....
XVII Targi eHandlu - Setup.pl - Paweł Lach - CO ZNACZY BE OMNI ? Everestu cd....XVII Targi eHandlu - Setup.pl - Paweł Lach - CO ZNACZY BE OMNI ? Everestu cd....
XVII Targi eHandlu - Setup.pl - Paweł Lach - CO ZNACZY BE OMNI ? Everestu cd....
 
XVII Targi eHandlu - Crehler - Piotr Kiljański, Mateusz Flasiński - Shopware ...
XVII Targi eHandlu - Crehler - Piotr Kiljański, Mateusz Flasiński - Shopware ...XVII Targi eHandlu - Crehler - Piotr Kiljański, Mateusz Flasiński - Shopware ...
XVII Targi eHandlu - Crehler - Piotr Kiljański, Mateusz Flasiński - Shopware ...
 
XVII Targi eHandlu - Thulium - Marek Bartnikowski - Obsługa klientów w oparci...
XVII Targi eHandlu - Thulium - Marek Bartnikowski - Obsługa klientów w oparci...XVII Targi eHandlu - Thulium - Marek Bartnikowski - Obsługa klientów w oparci...
XVII Targi eHandlu - Thulium - Marek Bartnikowski - Obsługa klientów w oparci...
 
XVII Targi eHandlu - Sare - Judyta Mojżesz-Zimonczyk - 11,5 błędu jakie na pe...
XVII Targi eHandlu - Sare - Judyta Mojżesz-Zimonczyk - 11,5 błędu jakie na pe...XVII Targi eHandlu - Sare - Judyta Mojżesz-Zimonczyk - 11,5 błędu jakie na pe...
XVII Targi eHandlu - Sare - Judyta Mojżesz-Zimonczyk - 11,5 błędu jakie na pe...
 
XVII Targi eHandlu - Przelewy24 - Katarzyna Sikorska - Jak digitalizacja usłu...
XVII Targi eHandlu - Przelewy24 - Katarzyna Sikorska - Jak digitalizacja usłu...XVII Targi eHandlu - Przelewy24 - Katarzyna Sikorska - Jak digitalizacja usłu...
XVII Targi eHandlu - Przelewy24 - Katarzyna Sikorska - Jak digitalizacja usłu...
 
XVII Targi eHandlu - Aiton Caldwell - Jaroslaw Luczkiewicz - Prosty sposób na...
XVII Targi eHandlu - Aiton Caldwell - Jaroslaw Luczkiewicz - Prosty sposób na...XVII Targi eHandlu - Aiton Caldwell - Jaroslaw Luczkiewicz - Prosty sposób na...
XVII Targi eHandlu - Aiton Caldwell - Jaroslaw Luczkiewicz - Prosty sposób na...
 
XVII Targi eHandlu - Arlity - Bartosz Kotlarski - Pozwól klientowi wypróbować...
XVII Targi eHandlu - Arlity - Bartosz Kotlarski - Pozwól klientowi wypróbować...XVII Targi eHandlu - Arlity - Bartosz Kotlarski - Pozwól klientowi wypróbować...
XVII Targi eHandlu - Arlity - Bartosz Kotlarski - Pozwól klientowi wypróbować...
 
XVII Targi eHandlu - Brand Active - Zofia Komada - Shopify - rozwijaj swój eC...
XVII Targi eHandlu - Brand Active - Zofia Komada - Shopify - rozwijaj swój eC...XVII Targi eHandlu - Brand Active - Zofia Komada - Shopify - rozwijaj swój eC...
XVII Targi eHandlu - Brand Active - Zofia Komada - Shopify - rozwijaj swój eC...
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
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
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Active Merchant - Krzysztof Jabłoński (PRUG 2.0)