Giter Club home page Giter Club logo

jekyll-ewp's Introduction

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

jekyll-ewp's People

Contributors

moralcode avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

jekyll-ewp's Issues

Pick a packaging tool and stick with it?

Currently this package is on both GH packages and RubyGems and I'm not sure it needs to be on both. There seems to also be a naming conflict as GH packages doesn't like caps in the package name

Interested in thoughts on this from other people with more experience publishing packages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.