Gossamer Forum
Home : Products : Gossamer Links : Discussions :

More than one method for recurring payments

Quote Reply
More than one method for recurring payments
Hi,

I have been using Paypal for recurring payments and decided to try adding Worldpay but it seems to be causing problems. After deciding which method to use, the next page (for either one) always says the payment amount is £0.00. It is fine if I remove Worldpay as a method.

After some investigation I realised that this is because the 'payment_term' is passed in as 1m instead of 1m-rec.

I think I have fixed this by editing the Payment.pm (v 1.52) file:

line 98: payment_term => $term->{payment_term},
added after line 325: payment_term => $payment_term


Please can someone from GT confirm that this is the correct fix.
Quote Reply
Re: [afinlr] More than one method for recurring payments In reply to
Yes, that fix will do it. To make the change even easier, you can just change line 325 to:
term => $payment_term,

Adrian
Quote Reply
Re: [brewt] More than one method for recurring payments In reply to
Thanks.