-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef02f31
commit d33718a
Showing
8 changed files
with
100 additions
and
3 deletions.
There are no files selected for viewing
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,2 @@ | ||
.idea | ||
.DS_Store |
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,5 @@ | ||
# v1.0.0 | ||
## 07-02-2016 | ||
|
||
1. [](#new) | ||
* First release of the Stripe Plugin |
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,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2015 - 2016 Flavio Copes | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,15 @@ | ||
# Stripe add-on for the Grav Shopping Cart | ||
|
||
This plugin adds Stripe Checkout to your Shopping Cart. | ||
|
||
# Installation | ||
|
||
To install this plugin, just download the zip version of this repository and unzip it under `/your/site/grav/user/plugins`. Then, rename the folder to `shoppingcart-stripe`. | ||
|
||
You should now have all the plugin files under | ||
|
||
/your/site/grav/user/plugins/shoppingcart-stripe | ||
|
||
# Usage | ||
|
||
In the Admin, go to Plugins and configure the plugin with the required information, then enable it. |
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,55 @@ | ||
name: Shopping Cart Plugin Stripe | ||
version: 1.0.0 | ||
description: "Add Stripe checkout to the Grav Shopping Cart Plugin" | ||
icon: shopping-cart | ||
author: | ||
name: Flavio Copes | ||
email: copesc@gmail.com | ||
url: http://flaviocopes.com | ||
homepage: http://gravshoppingcart.com | ||
keywords: shoppingcart, ecommerce, e-commerce, plugin, shop, cart, stripe | ||
readme: https://github.com/flaviocopes/grav-plugin-shoppingcart/blob/develop/README.md | ||
bugs: https://github.com/flaviocopes/grav-plugin-shoppingcart/issues | ||
license: MIT | ||
|
||
form: | ||
validation: loose | ||
fields: | ||
enabled: | ||
type: toggle | ||
label: PLUGIN_ADMIN.PLUGIN_STATUS | ||
highlight: 1 | ||
default: 0 | ||
options: | ||
1: PLUGIN_ADMIN.ENABLED | ||
0: PLUGIN_ADMIN.DISABLED | ||
validate: | ||
type: bool | ||
|
||
payment.methods.stripe.name: | ||
type: hidden | ||
default: 'Stripe' | ||
|
||
payment.methods.stripe.description: | ||
type: text | ||
default: '' | ||
label: Payment Description | ||
size: medium | ||
placeholder: An optional description appearing in the payment popup | ||
help: An optional description appearing in the payment popup | ||
|
||
payment.methods.stripe.secretKey: | ||
type: text | ||
default: '' | ||
label: Stripe Secret Key | ||
size: medium | ||
placeholder: The Stripe Secret Key | ||
help: The Stripe Secret Key | ||
|
||
payment.methods.stripe.publicKey: | ||
type: text | ||
default: '' | ||
label: Stripe Public Key | ||
size: medium | ||
placeholder: The Stripe Public Key | ||
help: The Stripe Public Key |
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
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