Skip to content

found/spree_fastspring

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpreeFastspring

Allows for Fastspring integration into Spree for international purchases

Installation

Add this line to your application's Gemfile:

gem 'spree_fastspring'

And then execute:

$ bundle

Or install it yourself as:

$ gem install spree_fastspring

Usage

the PaymentMethod::Fastspring configurable should be directly available in spree admin payment methods. Be sure to set up your gateway.

Also, be sure in your user model (where current_user reads from) to add an "should_checkout_with_fastspring?" logic block like follows:

def should_checkout_with_fastspring?
	return true
end

In order for fastspring to actually work, youll need to create spree products, and assign the SKU of those products to be identical to the product_ref from FastSpring

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

FastSpring Payment Gateway extension for Spree

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%