PayPal Donations
link output of another plugin (1 post)

  1. ensari
    Posted 4 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PayPal Donations
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic