Week ending March 8th, 2019

To illustrate how this week went: at lunch time on Wednesday I finally finished my breakfast and then ate my lunch. The morning was spent working on Qpractice (more on that later), switching between phone calls with hosts to slack calls with the client, and working with other experienced WordPress developers to try and figure out the issue. What I really was hoping to do on Wednesday was give all my attention to Laracon Online. I’ve attended all of the past Laracon Onlines and try to treat them like a real conference I would go to, but I didn’t know I would be so busy in March when I bought the ticket two months ago. I ended up only having the opportunity to watch two of the talks (Jason McCreary and Steve Schoger), but I plan on watching the other videos when I get a chance soon.

The big project™

This week, I got to be a part of the scrum meeting and another meeting about our Gutenberg strategy for the project. I also finished up the Google Places ID lookup tool and improved the user interface, so the process requires less saving and fewer steps to update the Google Places data into post meta. Later in the week, I dove into Gutenberg and created a new button in the editing toolbar of Gutenberg rich editor blocks.

Qpractice

On an ecommerce site like Qpractice there are dozens of different actions that happen in the background on a regular basis. Actions like cancelling someones subscription when their trial expires, renewing subscriptions automatically, and communicating with external reporting tools. It turns out that hundreds of recurring orders that should have been charged in February had still not been charged. At first I thought it may have been because some of the actions were bugged and causing the queue to get stuck, but I eventually figured out that the web hosts cron tool seemed to be not actually triggering our actions to run. The owner of Qpractice manually spent some time running the queued actions to get some orders flowing again, while we looked into it some more.

It took a lot of working with the hosts support team to get to the bottom of it, but they were hitting an HTTP cron url instead of the HTTPS url. When the HTTP url is pinged WordPress responds with a redirect response, and the hosts tool was not set up to follow the redirect to its destination. The hosting company was able to deduce that their script was not correctly detecting that the site had an SSL certificate for the www subdomain. After they explicitly indicated that the www subdomain was also covered by the SSL certificate, their cron tool hit the right url, and our WordPress scheduled events were no longer piling up.

Wrapping up

The weeks never go as planned, but I was able to solve a big issue for Qpractice while balancing the work for other clients. Next week I am going to be jumping into React and the Gutenberg editor, which could be a lot of fun.





The complete Work Journal series:
1. Week ending January 25th, 2019
2. Week ending February 1st, 2019
3. Week ending February 8th, 2019
4. Week ending February 15th, 2019
5. Week ending February 22nd, 2019
6. Week ending March 1st, 2019
7. Week ending March 8th, 2019
8. Week ending March 15th, 2019
9. Week ending March 22nd, 2019
10. Week ending March 29nd, 2019
11. Week ending April 5th, 2019
12. Week ending April 12th, 2019
13. Week ending April 19th, 2019
14. Week ending August 9th, 2019
15. Week ending September 20th, 2019
16. Week ending September 27th, 2019
17. Week ending December 6th, 2019
18. Week ending October 2nd, 2020
19. Week ending April 2nd, 2021
20. Coding API integrations in Twilio Studio - Work Journal May 8, 2021
21. Trudging through a complex theme implementation - Work Journal October 29, 2021
22. Creating custom Duda widgets - Work Journal December 10, 2021
23. My first Laravel Nova project - Work Journal December 1, 2023
24. Let's talk about Statamic - Work Journal January 12, 2024