3 replies [Last post]
mr.andrey's picture
Offline
Bug FinderGetting busy with the Ubercode.
Joined: 08/12/2008
Juice: 153

Hello there,

When I try to delete a recurring fee, it gives me the confirmation "Recurring fee 6 deleted.", but does not delete the fee. This is happening to both, fees that have orders associated with them, and fees that had their orders deleted.

Any ideas on what is happening here?

Thanks,
Andrey.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15422
Re: "Recurring fee 6 deleted." - NOT

hah, can't believe I didn't notice that in testing. Sticking out tongue

The function uc_recurring_delete() is using the wrong variable name to delete a fee... I'll fix it on Monday when I'm back in the office.

FrontBurner's picture
Offline
Bug Finder
Joined: 07/15/2008
Juice: 14
mr.andrey wrote:Hello
mr.andrey wrote:

Hello there,

When I try to delete a recurring fee, it gives me the confirmation "Recurring fee 6 deleted.", but does not delete the fee. This is happening to both, fees that have orders associated with them, and fees that had their orders deleted.

Any ideas on what is happening here?

Thanks,
Andrey.

Line 756 in uc_recurring.module
change from:
uc_recurring_fee_delete(array('fid' => arg(4)), 'user');
to
uc_recurring_fee_delete(array('pfid' => arg(4)), 'user');

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15422
Re: mr.andrey wrote:Hello

Fix confirmed and applied to core. Thank you! Laughing out loud