Project

JekyllEWP

0.0
No release in over a year
This Jekyll plugin creates paypal Encrypted Web Payments buttons and encrypts them at build time so items in your store cannot have their prices or other attributes changed in Inspect Element
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies
 Project Readme

Jekyll-EWP

Gem Version

A jekyll plugin to generate Paypal Encrypted Web payment buttons on the fly.

NOTE: This plugin is NOT compatible with GitHub Pages and requires a PayPal business or sandbox account in order to generate or download the appropriate certificates to make this plugin work.

Demo

There is a demo page available in the demo folder to show how it works. However, because this plugin is incompatible with Github Pages and requires a PayPal account, I cannot host a demo.

The run.sh file in the demo provides a place to put the required environment variables that make the plugin work.

Installation

JekyllEWP is now available as a Ruby Gem!

You can either run gem install JekyllEWP to install or add gem 'JekyllEWP', '~> 1.0', '>= 1.0.1' to your Gemfile

How To Use

See the setup page on the wiki for full setup and configuration instructions.

Basic Usage Examples

add to cart button

add to cart button

{% EWPform addtocart false https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif %}

view cart button

view cart button

{% EWPform viewcart false https://www.paypalobjects.com/en_US/i/btn/btn_viewcart_LG.gif %}

buy now button

buy now button

{% EWPform buynow false https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif %}

donate

add to cart button

{% EWPform donate false https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif %}

More information on the Tag Syntax can be found on the wiki.

Docs

I guess rubydoc also automatically compiles inline docs for you. neat.

https://www.rubydoc.info/gems/JekyllEWP

Credits

Logo inspired by https://commons.wikimedia.org/w/index.php?curid=73872716 and the Jekyll logo