Skip to content

cehdeti/spree_authorizenet_hosted_cim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spree Authorize.net Hosted CIM

This Spree extension implements the Authorize.net CIM hosted form so that users can enter their payment method information on Auth.net's hosted form and you don't have to be PCI compliant.

Features

  • Syncs payment methods created with the hosted form down to your spree database, so users can manage their payment methods right in your store interface.
  • Reworks the spree checkout process to more sensibly interact with the hosted form and its workflow.
  • Support for adding bank accounts as payment methods via the spree_authorizenet_hosted_cim_bank_account extension (or your own BankAccount class, if you are using another implementation).

Installation

  1. Add this extension to your Gemfile with this line:
gem 'spree_authorizenet_hosted_cim', github: 'cehdeti/spree_authorizenet_hosted_cim'
  1. Install the gem using Bundler:
bundle install
  1. Copy & run migrations
bundle exec rails g spree_authorizenet_hosted_cim:install
  1. Restart your server

If your server was running, restart it so that it can find the assets properly.

  1. Ensure that you have at least one active payment method that uses the Authorize.net CIM gateway.

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

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_authorizenet_hosted_cim/factories'

Contributing

If you'd like to contribute, please take a look at the instructions for installing dependencies and crafting a good pull request.

Copyright (c) 2016 CEHDETI, released under the New BSD License

About

Integrates spree with Authorize.net's hosted CIM form

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published