Auto Actions: [...]
Question: We discussed earlier, I now made myself an autoaction that fires when somebody pays one of my merchandise plans. The action is supposed to subscribe the user twice to the same subscription, i.e., 2 years. This works somehow, but it only happens once. So the user gets subscribed one year, but not the second. Any idea why? Manually via the subscriptions tab I can renew multiple times one by one without problem.
And: If the user is renewed by an autoaction, does he get his confirmation emails, too?
Please Log in to join the conversation.
if ( $subscriptionStatus != 'A' ) {
$subscription->activate( $user, $_CB_framework->now(), true, 'R' );
}
$subscription->activate( $user, $_CB_framework->now(), true, 'R' );
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.