Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
huoxito Merge pull request #11 from zeeyang/master
Update for Rails 4 compatibility
Latest commit ccb46c9 Nov 6, 2013
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app/models/spree/gateway Update for Rails 4 compatibility Oct 16, 2013
config first commit Nov 7, 2011
lib fix incorrect credit amount issue Dec 20, 2012
script first commit Nov 7, 2011
spec first commit Nov 7, 2011
.gitignore 1.0.1 Feb 23, 2012
.rspec first commit Nov 7, 2011
Gemfile dependency cleanup Feb 23, 2012
LICENSE first commit Nov 7, 2011
README.md fix git path in README.md Oct 25, 2012
Rakefile gemspec update Feb 23, 2012
Versionfile Update Versionfile Apr 28, 2012
spree_usa_epay.gemspec Lock Savon to version 1.2.0 Dec 19, 2012

README.md

SpreeUsaEpay

Please see the Versionfile for branches to use with older versions for Spree

If use use the spree command line tool to install Spree to your project, it will add spree_usa_epay to your Gemfile with the proper git references.

You can add this gem manually:

gem 'spree_usa_epay', :git => 'git://github.com/spree/spree_usa_epay.git'

Once installed, the USA Epay Gateway should be available as a provider when defining Payment Methods in Spree.

  1. Navigate to /admin/payment_methods and create a new payment method

  2. Give it a name and select "Gateway::UsaEpay" as the provider. (see screenshot)

  3. Save the payment method and it will refresh with additional options

  4. Add your Source Key and Pin. You must create your Source Key with a Pin on the USA Epay website. They say the pin is optional, but spree_usa_epay requires it.

  5. If you are using a Source Key on sandbox.usaepay.com check the "Test Mode" checkbox, otherwise leave it unchecked to use the production EPay servers.

You can read additional information on Setting up Payment Gateways on http://guides.spreecommerce.com/payment_gateways.html

Example

Example goes here.

Testing

Be sure to add the rspec-rails gem to your Gemfile and then create a dummy test app for the specs to run against.

$ bundle exec rake test app
$ bundle exec rspec spec

Copyright (c) 2011 Spree Commerce, released under the New BSD License

You can’t perform that action at this time.