Make a new order appear automatically laravel - laravel

Respected members i have developed a subscription based website in laravvel 7 using stripe, cashier, everything works fine as per the design the user is charged automatically in stripe based on there selected pacakge, i am unable to figure out one thing as this website is an ecommerce site with subscription to mystery boxes now what i want is
User XYZ has subscribed to a package worth $15 which is a recurring payemnt after every 15 days
How can i develop a logic in such a way that after the 15 day period is gone the system automatically generates a new order based on the previous one in the admin panel of the website so that the Admin can have a look and see that he has to ship this package to user xyz respectively.
The user XYZ will be charged automatically by cashier that is not a problem but this logic i'm unable to figure out
any help would be deeply appreciated

Related

Proactively Install / Push Apps in Teams for Multiple Users

I have a query regarding, How to Proactively Install / Push Apps in Teams for Multiple Users ?.
We have added our Bot Application as part of Teams App Catalogue, and I followed below document regarding Manage App Setup Policies in Microsoft Teams to install apps:
https://learn.microsoft.com/en-US/microsoftteams/teams-app-setup-policies?WT.mc_id=TeamsAdminCenterCSH#install-apps
Though above link clearly states that it automatically installs apps for users, but when we follow above link it only adds application as part of Teams App Catalogue.
So just wanted to know that does installation here mean, only adding in App List and not installing as such on user machine ?.
The other method we can follow is to create a custom script and use Graph API queries as described in below link:
https://learn.microsoft.com/en-us/microsoftteams/platform/graph-api/proactive-bots-and-messages/graph-proactive-bots-and-messages#proactive-app-installation-in-teams
So wanted to know as per Microsoft, what is the recommended way of Pushing Bot App to multiple users on MS Teams. Can this be handled with Teams Admin Center ?.
Any help or guidance on the approach to achieve proactive app installation in Teams would be great.
Thanks In Advance!!!..
Both of these approaches should work fine. App Setup Policies is the easiest though as you don't need to write any code, but be aware that it can take a while for the policy to apply (I think up to a day or even two). There's a way to force it to update, I think if the user signs out of Teams entirely and signs back in.
I tried with Teams Admin Center and tested 2 scenarios:
1.) For User Already Logged In
2.) For New User Logging the First Time
The policies take time to be applied / be effective for users (not immediate). In my testing, I logged in after ~2 hours for New User and waited ~2 days for already logged in User. We have to test the same for your respective environment. Also these are not Standard Timelines, and we have Test in our environment accordingly.

How to resolve first registration user mobile app

i’m writing because i’ve a very big doubt to get answered... i’ve created an app that require a lot of users for enjoy at 100% because it shows some posts info at globally level, but my question is: the first user that is registered didn’t see anything inside the app because is all empty
How can i resolve this doubt?
I got your question. There should be some strategy for launching such applications.
First Launch Strategy :
When you are launching such application specially on both the platforms make sure you should schedule the launching
Most importantly for a specific laugh day you should arrange a small launching event with Friends or Family to which you can invite on the launch event & can provide a demonstration of the application
Make sure while before or immediately after launching you should have at least 50 users there. So now you need to target from where you should get this users
If you are running company they should be your staff members or if you have a good friend circle you should request them
If your application doesn't requires a real users than in that case you can create at least few dummy users whom you can remove later on when you have enough genuine users
Also try & get some good reviews / ratings for the application
Use google analytics & try to understand which feature are used more by the user & try focus improving & adding more facility to that feature
Use Push notification & Local notifications to let your app interact with the user & daily remind them to use the application. That will improve your app indexing.
Promotional Campaigns :
Another most important thing is when you first launch the application there is a default boost provides by the application for 24-48 hours to let your application fly
So try & utilise that time to get maximum user engagement & make your app maximum visible across the users
Reason behind the strategy :
If you wants to attract or inspire users to get connect with your app they will already first check how many users using this app. How is the ratings of the application. Ratings will always matter.
I hope you & everyone get help from this answer.

Show different modules dependence on user role

I uwrite app and now i have question - lets say i write app for restaurant.
And i need that this app can login chief and waiter and restaurant owner
Now chief need see only orders.
And waiter need see orders, and table.
and owner need see orders, money tables and lets say count of people
So we have Money, orders, table, people modules.
So I don't want to write for each "player" app - I want all modules in 1 app but to do like [Attribute] for pages.
I come from .NET web - so in WebAPI I just put [Authorize(Roles="Owner")] for example
But i dont find example how i can do something like it in xamarin
Thank you
There is no built in mechanism to do this in Xamarin. You would need to code this yourself in your app based on whatever security/role mechanism that you are using.
If you are using MVVM navigation it should be fairly easy to add this sort of check into your navigation mechanism so that users are not allowed to navigate to pages they are not authorized to view.

Website information update system?

I have developed a student portal website for my college using Joomla 2.5 and now I want some mechanism to regularly update information on it.
My problem is that there are many societies in my college that organize events frequently and it is next to impossible to get their information on time to be updated on the site.
Is there some way possible by which those people can independently upload their events on the site without the administrator's interference and also without messing up with other facilities of the back-end?
The whole point of a CMS is to make things like this easier. As #emmanuel points out this is why there are extensions, you should use a calendaring extension.
In my experience one of the simplest things you can do if most people on your campus have Google accounts is to create a shared Google calendar that you give create access to for a representative of each club. Then embed that calendar on your site with one of the extensions for that. That way you don't have to deal with accounts on your site at all. There are a lot of ways to make it more complicated (like let each club have their own calendar and then you make a master calendar) but I think that could end up being more of a headache.
The biggest problem with calendars is getting people to list their events, because it is work for them. Sites with big empty calendars don't look very good. So you may want to make sure you have some events by finding out if there are some repeating events that you can set up.
You could try jevents component: http://www.jevents.net/
You could grant permissions to your sub admin users and add / edit / delete their events from the front end without giving them access to the backend of your site.

Magento - Create order from backend

I'm creating alot of special offers for my customers, which I need to be able to send from inside magento. This is already possible by creating the order from the backend/sales. But the customers will only get an order confirmation and not be able to pay for the order they recieved in their mail.
Is there any module that would make customers able to pay pending orders from their login?
Can't seem to find any? Surely I'm not the only person creating an order with special prices for some customers?
There is Advanced Point of Sale module we use for taking phone orders. It isn't perfect but is far better than trying to use the back end.
There is also a plug in for alternative payment method to allow your phone person to handle payment on the back end. We've got that one, too.
And then there is True Order Edit, which we consider essential / requirement for running an online business.

Resources