By Sunny on Wednesday, 26 May 2021
Posted in General Issues
Replies 15
Likes 0
Views 518
Votes 0
Hi,

Many times due to issue in payment or other reason, user creates multiple Subscriptions for same Plan. This causes issue in Cart Abondonment EMails. User gets multiple Cart Abandonment EMails for each subscription. I have seen sometimes user have created 10 subscriptions. In our set up, we send Cart Abandonment Email after 1 day and another on 3rd of Subscription created date. Sometimes due to this user receives around 10-20 total emails.

It becomes major issue, specially when user activates the subscription, but still gets Cart Abandonment EMail notification for non-activated Subscriptions. This does not look Good. We have to inform / call user to ignore our automated Email.

Also Email Service providers are flagging our Emails as SPAM emails. This is causing more serious issue where other important emails are landing into Spam folder.

Is there any way, where Payplan restrict user to create just one Subscription per Plan ? In case, user tries to create another Subscription, then Payplan should auto-redirect to already existed Subscription order.
Hey sunny,

Is there any way, where Payplan restrict user to create just one Subscription per Plan ? In case, user tries to create another Subscription, then Payplan should auto-redirect to already existed Subscription order.

Currently, in payplans there is no such functionality.

I've checked your site backend but not allowed to access it. I need to check some of the configuration in PayPlans for auto delete dummy orders setting.

403: Access Forbidden
Too many backend password attempts (Autobanned)


Update us with a response.
·
Thursday, 27 May 2021 13:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you please check in our testing site of which I have shared credentials on Stripe Error forum thread.

Our LIVE and Testing site shares same Payplan configuration.
·
Thursday, 27 May 2021 14:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey sunny,

Ok, I've checked and found that you have set auto delete dummy orders to 7 days.
So, those orders not completed and in a pending state will delete after 7 days.
You can set it to 1 day. see here : https://tinyurl.com/yewm9c7s

this way you can solve your problem.
Please take a look at this and see how it goes for you.
·
Thursday, 27 May 2021 15:36
·
0 Likes
·
0 Votes
·
0 Comments
·
But. what will happen to those Cart Abandonment emails which we are sending on 3rd day ?
·
Thursday, 27 May 2021 15:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Sunny,

I thought users get an email even after payment completion as well.
Then this setting will not work for you.

There is one more alternate solution that might be it will work for you.
You can use Limit subscription , here set limit to 1 and status to no-status.
https://stackideas.com/docs/payplans/administrators/plans/plan-limit-subscription
·
Thursday, 27 May 2021 16:45
·
0 Likes
·
0 Votes
·
0 Comments
·
I guess, that will display error message if user exceeds limit set. Does it also show custom message or url redirect for existing Subscription ? If not can you add redirect url / custom message.

Please try to understand the mindset of the user, specially when he/she is paying the amount for registration. The onboarding specially payment should be smooth with just few clicks.

Can you please ask your team to test this scenario and come up with some solution.
·
Friday, 28 May 2021 14:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Sunny,

I guess, that will display error message if user exceeds limit set. Does it also show custom message or url redirect for existing Subscription ? If not can you add redirect url / custom message.

Yes, it will show exceed limit message.
If you want to set customize the message and redirect the URL then it will require customization.
In case of a redirect URL, you can send users to the dashboard from where they pay their existing pending subscription.

If it works for you then I'll guide you on how to do it.

Update us with a response.
·
Friday, 28 May 2021 17:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes. Please guide.
·
Friday, 28 May 2021 20:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey sunny,

I am really sorry for the delayed response.

Sorry for the confusion, we already changed the login of limit subscription in the existing released payplan.
If the user not allowed to subscribe plan then this plan will not show on the plan page.

They can pay using their dashboard for existing subscriptions only.
Please try again this and update me if any issue persists.
·
Monday, 31 May 2021 11:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok. Let me check..

Can you please update the Wiki page also with new Screenshot as per the new Payplans configuration.

You can use Limit subscription , here set limit to 1 and status to no-status.


There is no Status field (Active/ Inactive dropdown) as seen in Wiki Screenshot.
·
Monday, 31 May 2021 13:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey sunny,

Actually applying limit subscription to no-status will create an issue for renewal.
The user will face issues with the renewal subscription.

I am checking on this if any alternate way we can do this.
Will update you again on this.

Thank you for understanding!
·
Monday, 31 May 2021 16:21
·
0 Likes
·
0 Votes
·
0 Comments
·
i have tried using limit plan function, but immediately got calls / emails from users who where trying to register. It is creating more confusion among users and IMO this is not best solution.

What we need is extra clause in Payplans Cron Email Plugin to check whether plan in the category is already active or not. If active, it should not trigger Cart Abondonment EMails for dummy Subscriptions. I guess, this will solve our issue.
·
Tuesday, 01 June 2021 16:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Sunny,

I've checked and found that this can be fixed by customizations only.

What we need is extra clause in Payplans Cron Email Plugin to check whether plan in the category is already active or not. If active, it should not trigger Cart Abondonment EMails for dummy Subscriptions. I guess, this will solve our issue.
This way can be done. I can guide you where you need to apply the changes when sending cart abandonment emails to the user, if they already activated the plan for that user then do nothing.

You need to apply the changes at : root\plugins\payplans\email\app\email.php
see attached screenshot.

Update us.
·
Tuesday, 01 June 2021 19:27
·
0 Likes
·
0 Votes
·
0 Comments
·
I do not want to sound rude, but

Have you tested this file and workflow thoroughly at your end ?

If not, I request you to please test it again at your testing server and once satisfied send me updated file for testing.

I simply do not want to waste my time testing it.

Secondly you have attached php file NOT SCREENSHOT as you written in your POST.
·
Tuesday, 01 June 2021 22:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey,

Sorry, by mistake I sent PHP file rather than a screenshot.
In the screenshot I mentioned where you need to do the changes, I haven't applied the changes in the email.php file, just guide you in a screenshot where need to perform the changes.

You need to do it yourself.
You need to apply the changes at : root\plugins\payplans\email\app\email.php

You can take reference from the below-mentioned code to check if the user already has an active subscription to the plan.

// check user already have active subscription of existing subscription or not
$user = $invoice->getBuyer();
$userSubs = $user->getPlans();

$userPlanIds = array();
foreach ($userSubs as $sub) {
$userPlanIds[] = $sub->getId();
}

$subPlan = $subscription->getPlan();
$subPlanId = $subPlan->getId();

if (in_array($subPlanId, $userPlanIds)) {
return true;
}



Try this and update me if any issues persist.
·
Tuesday, 01 June 2021 22:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post