-
Notifications
You must be signed in to change notification settings - Fork 1
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
64088ff
commit e3dc76d
Showing
7 changed files
with
106 additions
and
2 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 PayPal Express 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,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. |
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,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 | ||
|
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