jwwceo Posted September 2, 2008 Share Posted September 2, 2008 Hello, I would like to write a script that I can put on a cron job to auto place an order on my online store, so I can test it everyday and make sure its working, and if it's not, an alert comes up in my dashboard. I Ive had times in the past when it goes down, and we dont know for a few days and we lose all the orders. How do I write a script to simulate a user adding an item to my cart, and checking out. Specifically, how do I simulate the form data passing from one page to another? James Quote Link to comment https://forums.phpfreaks.com/topic/122314-cronjob-test-my-store/ Share on other sites More sharing options...
JonnoTheDev Posted September 2, 2008 Share Posted September 2, 2008 If forms are involved you will ned to use CURL for this. Quote Link to comment https://forums.phpfreaks.com/topic/122314-cronjob-test-my-store/#findComment-631785 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.