Site Builder Studio

SITEBUILDERSTUDIO

Developers Blog

Resources, tips, and solutions we hope other devs will find when needed.

Stripe Update Subscription Price

The Stripe dashboard is amazing and considered by many to be best in class. It’s certainly hard to find a payment processing service with anywhere near comparable dashboard. But after countless projects building custom Stripe solutions for folks and their business, it has become clear that updating subscription price for all existing subscribers is one […]

May 5, 2023

In Laravel you can batch queries so each only executes if they all do

In Laravel, transactions are handled using the DB facade, which provides a simple interface for beginning, committing, and rolling back transactions. The beginTransaction method is used to start a transaction, and the commit method is used to commit the transaction. If an error occurs during the transaction, the rollBack method can be used to roll […]

April 9, 2023

Expose serves local webhook endpoints for dev/testing

Make your local project webhook endpoints respond like a production endpoint with ‘tunneling’. Similar to Ngrok, you can use expose.dev aka SharedWithExpose on you dev machine. Once installed just go to your sites main directory in the command line ( of course this must be running in a server environment ) , then simply use […]

April 9, 2023

ShipStation API

We had some difficulty with the authorization as the examples/docs on shipstation site aren’t quite clear. Finally got it to work! I’m posting this working example api call to create an order on shipstation api in case it helps other devs in the future. Replace YOUR_API_KEY and YOUR_API_SECRET with yours.

April 7, 2023

cURL error 7: Failed to connect to 127.0.0.1 port 7700: Connection refused

This error will occur when a required service isn’t started on your machine. For instance if laravel scout driver is meilisearch, make sure meilisearch is started. Some service your configuration is requiring, which uses cURL, is not available and needs to run to fix cURL error 7: Failed to connect to 127.0.0.1 port 7700: Connection […]

December 16, 2022

Search result shows pagination but not results

I’ve got Scout going with Algolia as driver ( same issue occurred with Meilisearch as driver ) , when searching for query I know has plenty of results I’m getting pagination links but zero results shown on page. It seems to make no difference what scout driver is used, the issue popped up with both. […]

December 16, 2022

Using XDebug with PHPStrorm

Debugging with var_dump ( or dd in laravel ) can get us what we need to know most of the time, however it means we need to edit the files ( which can cause unneeded version updates in VCS repositories ) and is often like chasing a worm through the soil, it just gets a […]

December 1, 2022

Dark Mode List

Everything should have a dark mode, but sadly we’re not there yet. If you’re like me you’re looking for web apps and desktop software with dark mode as a must have feature. So here we’ll compile a list of dark mode tools. If you’re aware of dark mode tools that aren’t on this list, please […]

May 30, 2022

Integrating Stripe to Taxjar

I found the developer experience to be a bit cumbersome, so want to write a summary in case it might help someone. We won’t cover any code because that’s already in docs. This is not a typical tutorial. This is more of a birds eye view of what to do. This overview is for custom […]

May 30, 2022

RoboForm

Saves login credentials and fills/submits login forms. Saves un-measurable time. https://www.roboform.com/

February 16, 2021