Summary:
Correct code for PayPal subscription expiry problem
Detailed Description:
There is an error in the setting for a recurring subscription.
LIne 742: $exp = $subscr_item->get_subscr_expires();
if( !$exp )
{
$parms['src'] = 0;
}
else
{
$parms['src'] = 1;
$parms['srt'] = $exp;
}
SHOULD BE:
$exp = $subscr_item->get_subscr_expires();
if( !$exp )
{
$parms['src'] = 1;
}
else
{
$parms['src'] = 0;
$parms['srt'] = $exp;
}
This works!
Cheers,
Penny