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 64088ff commit e3dc76d
Show file tree
Hide file tree
Showing 7 changed files with 106 additions and 2 deletions.
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 PayPal Express 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.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# PayPal add-on for the Grav Shopping Cart

! Make sure you have a PayPal Premier / Business account or the plugin will not work.

This plugin adds PayPal Express 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-paypal`.

You should now have all the plugin files under

/your/site/grav/user/plugins/shoppingcart-paypal

# Usage

In the Admin, go to Plugins and configure the plugin with the required information, then enable it.
60 changes: 60 additions & 0 deletions blueprints.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Shopping Cart Plugin PayPal Express
version: 1.0.0
description: "Add PayPal Express checkout to the Grav Shopping Cart Plugin. Requires a PayPal Premier / Business account."
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, paypal
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.paypal_express.name:
type: hidden
default: 'PayPal Express'

payment.methods.paypal_express.name:
type: spacer
text: See <a target="_blank" href="http://www.putler.com/support/faq/how-to-get-paypal-api-username-password-and-signature-information/">this link</a> on how to fill the following required fields

payment.methods.paypal_express.username:
type: text
default: ''
label: Username
size: medium
placeholder: The PayPal Username
help: The PayPal Username

payment.methods.paypal_express.password:
type: text
default: ''
label: Password
size: medium
placeholder: The PayPal Password
help: The PayPal Password

payment.methods.paypal_express.signature:
type: text
default: ''
label: Signature
size: medium
placeholder: The PayPal Signature
help: The PayPal Signature

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "flaviocopes/grav-plugin-shoppingcart-pro",
"name": "flaviocopes/grav-plugin-shoppingcart-paypal",
"description": "PayPal Plugin for Grav Shopping Cart",
"license": "MIT",
"authors": [
Expand Down
1 change: 0 additions & 1 deletion shoppingcart-paypal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ payment:
methods:
paypal_express: # http://www.putler.com/support/faq/how-to-get-paypal-api-username-password-and-signature-information/
name: "PayPal Express"
enabled: true
username: '' # Add your own
password: '' # Add your own
signature: '' # Add your own
Expand Down

0 comments on commit e3dc76d

Please sign in to comment.