-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Bolt as an alternative payment method option
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
core/lib/generators/solidus/install/app_templates/payment_method/bolt.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
unless Bundler.locked_gems.dependencies['solidus_frontend'] | ||
say_status :warning, "Support for frontends other than `solidus_frontend` by `solidus_bolt` is still in progress.", :yellow | ||
end | ||
|
||
unless Bundler.locked_gems.dependencies['solidus_auth_devise'] | ||
say_status :warning, "Running solidus_bolt without solidus_auth_devise is not supported.", :yellow | ||
end | ||
|
||
unless Bundler.locked_gems.dependencies['solidus_bolt'] | ||
bundle_command 'add solidus_bolt' | ||
end | ||
|
||
generate 'solidus_bolt:install' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters