-
Notifications
You must be signed in to change notification settings - Fork 2
Setup
Adrian Edwards edited this page Mar 29, 2019
·
5 revisions
In order to make use of the Jekyll-EWP plugin, you need:
- A PayPal business account
- A private key, public certificate, and a copy of paypal's public certificate
- Download or clone the repository and copy the
jekyllEWP.rb
file into the_plugins
folder on your jekyll site - Add your public certificate to your paypal business account. Be sure to download Paypal's Certificate if you havent already and save a copy of your Certificate ID.
- Set up your Environment Variables. (You will need your two public certificates and your private key file here)
- Add the following options to your
_config.yml
:
paypal_cert_id: [the certificate ID you saved earlier]
paypal_email_address: [your paypal business email]
paypal_sandbox_mode: [true if you want to test using a [sandbox account](https://developer.paypal.com/docs/classic/lifecycle/ug_sandbox/#the-testing-process), false otherwise]
- Make sure you have
name
andprice
values set in the front matter of the page where these buttons will appear. This is where the tag gets the name and price of your item/donation. - Add the tag to your page
- Block unencrypted payments on your paypal account