Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Activemerchant

167 views

Published on

Published in: Economy & Finance, Technology
  • Be the first to comment

  • Be the first to like this

Activemerchant

  1. 1. ActiveMerchant <ul><li>Krzysztof Jablonski (Netguru) </li></ul>
  2. 2. What will I say <ul><li>Short overview of online payments </li></ul><ul><li>What is Activemerchant and how it can help us? </li></ul><ul><li>Paypal developer account </li></ul><ul><li>Simple rails example </li></ul>
  3. 3. Online payment providers
  4. 4. What is it activemerchant? <ul><li>Ruby library for dealing with credit cards and payment processors and shipping. </li></ul><ul><li>Created in 2006 </li></ul><ul><li>67 direct payment providers and 11 offsite payment gateways </li></ul>
  5. 5. Structure of activmerchant <ul><li>ActiveMerchant::Billing::Base.mode = :test // development.rb </li></ul><ul><li>ActiveMerchant::Billing::PaypalExpressGateway </li></ul><ul><ul><li>login </li></ul></ul><ul><ul><li>password </li></ul></ul><ul><ul><li>signature </li></ul></ul><ul><li>setup_purchase(money, {:return_url, :cancel_return_url}) </li></ul><ul><li>redirect_url_for(token) </li></ul><ul><li>details_for(token) </li></ul><ul><li>purchase(money, {:token, :payer_id}) </li></ul>
  6. 6. Paypal developer account <ul><li>https://developer.paypal.com/ </li></ul>
  7. 7. Paypal Test accounts
  8. 8. Paypal Test accounts
  9. 9. rails example https://github.com/prug/prug2.0-activemerchant

×