Skip to content

Commit

Permalink
Prepare for the release
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviocopes committed Feb 7, 2016
1 parent ef02f31 commit d33718a
Show file tree
Hide file tree
Showing 8 changed files with 100 additions and 3 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea
.DS_Store
5 changes: 5 additions & 0 deletions CHANGELOG.md
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
21 changes: 21 additions & 0 deletions LICENSE
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.
15 changes: 15 additions & 0 deletions README.md
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.
55 changes: 55 additions & 0 deletions blueprints.yaml
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
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flaviocopes/grav-plugin-shoppingcart-pro",
"description": "PayPal Plugin for Grav Shopping Cart",
"name": "flaviocopes/grav-plugin-shoppingcart-stripe",
"description": "Stripe Plugin for Grav Shopping Cart",
"license": "MIT",
"authors": [
{
Expand Down
1 change: 0 additions & 1 deletion shoppingcart-stripe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ payment:
stripe:
name: 'Stripe'
description: 'Test description' # The description appearing in the payment popup
enabled: true
secretKey: '' # Add your own secret key
publicKey: '' # Add your own public key

0 comments on commit d33718a

Please sign in to comment.