Solidus Virtual Gift Card Save

Virtual gift cards for your Solidus store.

Project README

Solidus - Virtual Gift Card

CircleCI

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

Authorization

For discrete authorization, two permission sets have been added to allow for granular display in the admin.

Spree::PermissionSets::VirtualGiftCardDisplay and Spree::PermissionSets::VirtualGiftCardManagement have been added and can be registered via RoleConfiguration

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 application's integration with this extension you may use its factories. Simply add this require statement to your spec_helper:

require "solidus_virtual_gift_card/factories"
Open Source Agenda is not affiliated with "Solidus Virtual Gift Card" Project. README Source: solidusio-contrib/solidus_virtual_gift_card
Stars
28
Open Issues
1
Last Commit
1 year ago
License

Open Source Agenda Badge

Open Source Agenda Rating