Active
Project:
Donate
Version:
6.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2011 at 17:51 UTC
Updated:
6 Apr 2011 at 04:54 UTC
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 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 commentedI also see this error.
Subscribe.
Comment #3
arlyn commentedI have problem too, does anyone have a solution?
Comment #4
hendrakieran commentedSame problem here, any solution so far?
Comment #5
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 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.