Skip to content

richardnuno/solidus_virtual_gift_card

 
 

Repository files navigation

Solidus - Virtual Gift Card

A virtual gift card implementation for Solidus.

  • Allows setup of virtual gift card products that get unique codes upon purchase.
  • The virtual gift card codes can be used to add store credit to a user's account.

Installation

In your Gemfile:

gem "solidus_virtual_gift_card"

Bundle your dependencies and run the installation generator:

bundle install
bundle exec rails g solidus_virtual_gift_card:install

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_virtual_gift_card/factories"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 88.7%
  • HTML 10.2%
  • Other 1.1%