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.


DarrellDuane’s picture

Category: support » bug

I'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.

drupalsteve’s picture

I also see this error.


arlyn’s picture

I have problem too, does anyone have a solution?

hendrakieran’s picture

Same problem here, any solution so far?

Osiris Indriya’s picture

Same 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.

Osiris Indriya’s picture

Using 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.