WordPress.org

Ready to get started?Download WordPress

Forums

PayPal Donations
link output of another plugin (1 post)

  1. ensari
    Member
    Posted 2 years ago #

    Hi,
    I am trying to use your plugin as a pay now plugin. I have a form that calculates the amount to be paid based on the selections of the viewer.

    function change_donation_amount( $amount ) {
        // Do something
        return $amount;
    }
    add_filter('paypal_donations_amount', 'change_donation_amount', 10, 1);

    How can I use the above function to add the amount calculated by this other plugin (price-calc) to the preset amount (I will enter 0) so that the amount is auto populated by the calculated result?

    Thank you.

    http://wordpress.org/extend/plugins/paypal-donations/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic