Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author John Kleinschmidt

    (@johnkleinschmidt)

    It depends on your level of technical expertise. At present you could use Authorize.net with the Personal Fundraiser plugin if you are willing/able to create additional PHP code that will interact with the payment processing hooks available in the plugin. If that makes sense to you let me know and I can provide more technical details on what needs to be done.

    As far as adding Authorize.net support directly to the plugin, I think it is a good idea and one I will look at for a future version.

    Thanks for your interest.

    Thread Starter humanitymedia

    (@humanitymedia)

    Hi John .. I would love to work on developing this feature. I have aplied for an API with authorize.net. Any help you could give me on this would be great.
    Thanks

    Thread Starter humanitymedia

    (@humanitymedia)

    Also, I am seeing a default option in the code but not in the options menu. Is there an easy way to create a default page as the intro page that will look nicer.
    Ours is currently at https://earthwalk2012.org/pledgedrive/give/

    The popup works, but if people x out of the popup page, the page behind it has no “default” info in it.

    Thank you.

    Plugin Author John Kleinschmidt

    (@johnkleinschmidt)

    As far as the default is concerned, you can specify default images for any fields that are images by specifying the location of the default image within the shortcode.

    For example, if your image field was
    [pfund-your-profile-picture] you could specify a default image via:
    [pfund-your-profile-picture default="https://img.location.here.jpg"]

    Plugin Author John Kleinschmidt

    (@johnkleinschmidt)

    In order to implement another payment processor other than PayPal, there are a couple of things that have to be implemented:

    1) Performing the steps required by the payment processor to process a transaction. This varies from processor to processor and from the perspective of the personal fundraiser plugin you need to provide something on the cause that somehow links to the payment processing screens. The PayPal implementation does this by using PayPal’s donation buttons.

    2) Recording the details of the transaction within the personal fundraiser plugin. There are several ways to do this, the easiest is to return the user to the campaign url with the following parameters passed along:

    g: — a timestamp generated from calling the php function time()
    n: — a wordpress nonce created using wp_create_nonce( 'pfund-donate-campaign'.$post->ID.$gentime) — where $post->ID is the post_id of the campaign and gentime is the value from g above.
    pfund_action: this should be the value ‘donate-campaign’. This tells the plugin that a donation has been received.
    t: — A value that indicates what kind of transaction is being processed. This can be any value except ‘pp’ and ‘ipn’ which are currently used for PayPal.

    You also need to create a function that fires on the ‘pfund_transaction_array’ filter. This function would be where you would map values from your payment processor to values that the personal fundraiser plugin uses. To see an example of this, you can see in /includes/user.php that the function _pfund_process_donate function calls pfund_process_paypal_pdt in /includes/paypalfunctions.php in order to process PayPal transactions. That function then calls _pfund_map_paypal_fields in the same file to translate paypal values to personal fundraiser values.

    The following values are needed by the personal fundraiser plugin to record a transaction:
    amount — Amount of donation
    donor_first_name — First name of donor
    donor_last_name — Last_name of donor
    donor_email — Donor email address
    anonymous — boolean value to indicate if transaction was an anonymous transaction.

    I hope that makes sense. Let me know if you have any questions.

    Thread Starter humanitymedia

    (@humanitymedia)

    Ok … I will work on this .. There is a pretty steep learning curve here for me, so you may be hearing from me. We will definitely donate to your cause when we get up and running. Thank you

    Plugin Author John Kleinschmidt

    (@johnkleinschmidt)

    FYI…I just released a new version of the Personal Fundraiser plugin that supports Authorize.Net thanks to the work of Exygy.

    Where can i find the new personal fundraiser plugin that supports authorize.net

    Plugin Author John Kleinschmidt

    (@johnkleinschmidt)

    The latest version of the plugin is available at: https://www.ads-software.com/extend/plugins/personal-fundraiser/

    This version includes support for authorize.net

    I have entered authorize net api login id and transaction key in fund raiser settings. But in the campaign page, i could see only the paypal button. I dont know how to enable the authorize net

    Plugin Author John Kleinschmidt

    (@johnkleinschmidt)

    You have to add the shortcode [pfund-authorize-net-donate-form] to your cause. (ie go to the admin dashboard, click on Causes, click on your cause, and in the editor find the [pfund-donate] shortcode for paypal payment and replace it with [pfund-authorize-net-donate-form]).

    Thanks. It works. Where can i edit the form fields

    Plugin Author John Kleinschmidt

    (@johnkleinschmidt)

    Which form fields? Can you give an example of what you want to change?

    I want to show other countries, get phone number ….

    Plugin Author John Kleinschmidt

    (@johnkleinschmidt)

    Are you saying you would like to edit the form fields that appear when you click on Donate? If you are using authorize.net, you would have to either change the plugin code or write your own code that did something similar.

    The code for the authorize.net form is in includes/user.php in the function pfund_authorize_net_donate_form.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘[Plugin: Personal Fundraiser] Using something other than Paypal’ is closed to new replies.