spree-alpha-card

An Alpha Card Payment Gateway for Spree.

Installation

Add the gem to your Gemfile:

    gem 'spree-alpha-card'

Then run bundle & (re-)start your Rails application.

Configuration

Navigate to your Spree Administration area, then click on Configurations, then Payment Methods. To add Alpha Card, click on New Payment Method, select Spree::Gateway::AlphaCardGateway & give it a display name, e.g. "Alpha Card". Click Create.

Now enter your credentials for Alpha Card in the fields Login & Password. Click Update & test your new payment method.

Tests

To run the test suite, you have to have a Rails app with Spree installed. To do so, run the rake task:

# only once
rake test_app

Run the test suite with:

rspec