ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Free Paypal Donation Module

August 11, 2010 2:39pm

Subscribe [2]
  • #1 / Aug 11, 2010 2:39pm

    Loic Sharma

    114 posts

    Hello,

    I made a quick addon for Paypal donation. To install it, download the addon , and put the the paypal folder in:

    /system/mojomotor/third_party/

    Then add this line anywhere on your site:

    {mojo:paypal:donate email="[email protected]"}

    Your site’s name will be automatically used as the donation’s name. If you want to change this though, you can simply add the name parameter like so:

    {mojo:paypal:donate email="[email protected]" name="Donate to my site!"}

    Alternately, you can change/add a setting using the following syntax:

    {mojo:paypal:set name="email" value="[email protected]"}

    With this, you can set anything you want and a hidden input will be automatically made.

    {mojo:paypal:set name="email" value="[email protected]"}
    {mojo:paypal:set name="name" value="Donate to my site!"}
    {mojo:paypal:set name="amount" value="15.00"}
    {mojo:paypal:donate}

    Enjoy! 😊


    Download not working? Try a mirror.

  • #2 / Aug 11, 2010 5:15pm

    Looks nice! A great free alternative to Payup, on MojoAddons.com

  • #3 / Aug 11, 2010 5:55pm

    Loic Sharma

    114 posts

    Oh, didn’t know that was around. Does Payup also just generate a button?

  • #4 / Aug 11, 2010 5:58pm

    It uses the default PayPal buttons, or you can optionally specify an image to be used instead.

  • #5 / Aug 11, 2010 7:05pm

    Loic Sharma

    114 posts

    Version 1.1 has been released! Here’s what’s new:

    You can change/add a setting using the following syntax:

    {mojo:paypal:set name="email" value="[email protected]"}

    With this, you can set anything you want and a hidden input will be automatically made.

    {mojo:paypal:set name="email" value="[email protected]"}
    {mojo:paypal:set name="name" value="Donate to my site!"}
    {mojo:paypal:set name="amount" value="15.00"}
    {mojo:paypal:donate}

    But don’t worry, if you preferred the previous syntax, it’s still there! Anyways, hope you guys like it. 😊

    Download v1.1: Filebeam

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases