Skip to content

Payone Support for Spree, uses the payone FinanceGate Channel Frontend

License

Notifications You must be signed in to change notification settings

christoph-buente/spree_payone_frontend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpreePayoneFrontend

Extends spree for supporting Payone credit card payments via the payone FinanceGate channel frontend. An appropiate Payone Merchant Account is required to use it. This Extension does only implement the success and cancel urls and the capture transaction status (no void or other transaction status requests are handled).

Installation

Add spree_payone_frontend to your Gemfile:

gem 'spree_payone_frontend', :git => 'git://github.com/hefan/spree_payone_frontend.git' 

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_payone_frontend:install

Setup

You have to enter the following data in your payone merchant backend portal configuration:

  • Tick the "FinanceGate Frontend" checkbox.
  • Enter Success-URL: http://youshopdomain/payone_frontend/success?oid=__param__
  • Enter Cancel-URL: http://youshopdomain/payone_frontend/cancel
  • Enter Transaction-Status-URL: http://yourshopdomain/payone_frontend/status

Navigate to Spree Backend/Configuration/Payment Methods and add a new payment method with Provider "Spree::PaymentMethod::PayoneFrontend".

Enter the Portal id, the sub account id and the secret key from your payone account. Supported modes are "test" and "live". The other options should be fine by default.

Todo

  • Add Transaction Logs

Testing

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

bundle
bundle exec rspec spec

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'spree_payone_frontend/factories'

About

Payone Support for Spree, uses the payone FinanceGate Channel Frontend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%