![]() ![]() * if account date is expired but quota is remaining, then add the new quota in existing quota (addictive mode * if account is old and quota is expired, then reset it add new quota as per package ![]() * if account is fresh, add new quote as per package If deposit is enough, renew the service, Add Expiration Days (according to the service package). ![]() If deposit is not sufficient as per service price, Then print error.Check the current service price and match it with the available deposit/credits.Check if these users have DEPOSIT available (credits above then 0).Fetch all users who are expired either by Date or Quota.Scheduled to run after every 5 (or x) minute(s).If the user account is expired and he purchase service online, it adds the deposit into user account but it does not auto renew the service (as per my assumption, as paypal doesn’t works here in pakistan, so i have very little to no knowledge on it).Īs a workaround, I made below script that can perform following functions , In radius manager, there are few options to purchase credits via online payment gateways like paypal or others. 1 / Added multi check for quota related functionsĪs requested by an Valenzuela / African friends Scenario:. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |