MMMedia VIP
Total posts: 16
20 Март 2015 22:30

Hey there,

through the API is there any way to just access any "pending" subscriptions, if I use EmeraldHelper::userAllSubscriptions or EmeraldHelper::userInactiveSubscriptions or EmeraldHelper::getUserActiveSubscriptions I do not seem to see "inactive" but waiting for payment subscriptions like you see in the history page.

I am trying to find any "pending" subscriptions that still need payment (payment failed or payment still needs to be made offline) to then notify the user in a dashboard outside of Emerald.

Is there a way to do this?

Последние изменения: 23 Март 2015


Sergey
Total posts: 13,748
23 Март 2015 03:51

There is a difference between Active and Activated. In the Emerald trrms Active is a subscription that has been activated and not yet expired or used out. Inactive is one that has been activated but already expired or was used out.

There is not method to get Neveer activated subscriptions.

I added EmeraldHelper::userNeverActivated($user_id, $plans) to new version.


MMMedia VIP
Total posts: 16
23 Март 2015 20:42

Thats great, thankyou for your time and effort, really appreciate it...

Работает на Cobalt