Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I'm trying to get Donate working with Paypal. At the top of my donate form I get the error:
warning: Missing argument 2 for pay_form::pay_method_form(), called in .../donate/sites/all/modules/donate/includes/donate.inc on line 199 and defined in .../donate/sites/all/modules/pay/includes/handlers/pay_form.inc on line 146
The form shows donation amount options and comment box, but no credit card fields.
This error appeared when I upgraded Pay to 6.x-1.0. When I was using 6.x-1.0-alpha6 the form displayed correctly.
Comments
Comment #1
DarrellDuane CreditAttribution: DarrellDuane commentedI'm also getting this but I'm using Donate with the Custom Handler handler.
I'm using the Node display payment model. I've got a fresh install of Pay 6.x-1.0 and Donate 6.x-1.0-alpha2.
Comment #2
drupalsteve CreditAttribution: drupalsteve commentedI also see this error.
Subscribe.
Comment #3
arlyn CreditAttribution: arlyn commentedI have problem too, does anyone have a solution?
Comment #4
hendrakieran CreditAttribution: hendrakieran commentedSame problem here, any solution so far?
Comment #5
Osiris Indriya CreditAttribution: Osiris Indriya commentedSame here. I followed the instructions here: http://drupal.org/node/1044170 and installed the latest versions of Donate (6.x-1.0-alpha2 Sept. 30, 2010), Pay (6.x-1.0 Mar. 7, 2011), and Authorize.net (6.x-1.0-alpha1 Nov. 1, 2010). The real suspect is any recent changes to the Pay module since that one was the most recently updated. I going back the the previous release of pay to see if this helps.
Comment #6
Osiris Indriya CreditAttribution: Osiris Indriya commentedUsing the previous version of Pay worked for me. (This one: http://drupal.org/node/959534) Don't forget to disable these and the related modules and uninstall Payment API and Node Payments before you replace the files.