Amember 3.1.2PRO I get a php error when I try to process a Worldpay signup Code: [14-Aug-2008 12:05:01] PHP Fatal error: Call to undefined method payment_worldpay::build_subscription_params() in /MYSITE.com/login/plugins/payment/worldpay/worldpay.inc.php on line 37 It seems to be trying to call a method that doesn't even exist in the plugin file. I thought maybe the method was being extended from amember_payment but it seems the only other time this function appears in my amember installation is in the paypal_r plugin. What's going on? Is my Worldpay plugin "unfinished?". It's only 148 lines long. Need help fast!
Hello, Looks like this payment plugin had major overhaul when version 3.1.0 was released. Best I can tell that line does not look like it is needed. I would remove it or comment out and give it a go. Enter a support ticket to get the official answer, but I did not see any of the variables in the returned list($a, $p, $t, $rebill_times) being referenced later in the function. Jimmy
Yes, there really is a problem with plugin in 3.1.2. There is fixed file amember/plugins/payment/worldpay/worldpay.inc.php attached - please try to replace. Sorry for this issue!
Hello, Even in your new file that you posted I don't understand the need for the following line: PHP: list($a, $p, $t, $rebill_times) = $this->build_subscription_params($products, $amount, $u, $invoice); None of the returned list values $a, $p, $t, and $rebill_times are referenced later on in the function do_bill(). I see the purpose of this function in the paypal_r plugin because multiple products can be rebilled and they are referenced later. I guess I don't get it. Jimmy
Hello, I used the new worldpay.inc.php file but I get this error: Incorrect value for expire days: 2037-12-31