Skip to content

u/ristlin

In this archive from Oct 2013 to Apr 2022

1
posts
40
comments
0
media
142
score

I’m quite scared that by the time I figure out how to use everything they built, they will release something else that completely shifts the focus again. I loved the Blade/Vue dynamic. It made sense to me and it was so easy to build something simple and work your way up with components. Now I have to do so much mental gymnastics to figure out how to structure something in my head into this design monolith. I really hope I can figure it out.

1 points

They have prebuilt passport components in their front end scaffolding. I was playing around with it yesterday... ugh. It’s so opinionated it hurts. They rewrote so much of their code into fractional parts that it takes a few hours just to figure out the coding patterns that they are using (for me as an amateur). Because it relies on Inertia, I don’t think there is an easy way to transfer these components over to a legacy project.

7 points

To be honest, most of your points are things that can be and should be modified after your site is up and running. Choose the easiest solution now, then modify it based on your needs afterward. I started out with SendGrid, then switched to Postmark. Started with Forge, now looking into Vapor starting next year. Admin started out as very simple custom code to handle some CRUD. Dumped and moved to Nova once my needs increased, etc.

1 points

Assuming you are using Stripe's payment intent API, you can think of the payment processing as three phases: (1) setup intent, (2) submit intent, (3) confirm status. From a UI and frontend standpoint, you only really handle phases 1 and 2 during the checkout process. Someone creates a cart (setup intent) and goes to checkout (submit intent). The web hook is Stripe's way of sending you a confirmation that the payment was indeed processed without any issues. This has no bearing on the customer experience or how you deal with their checkout flow.

The web hook is a way to ensure that you, from a business perspective, don't deliver goods that weren't actually paid for. In my use case, I handle user-to-user payments. When one user sends a payment, they go through the checkout flow normally and an invoice is created with status pending. Once I receive the web hook from Stripe confirming that the payment was processed, then I convert the invoice status to completed and notify the user. Since Stripe handles all flow of money, the only "business delivery" I have is that invoice and informing the user.

1 points

I used Stripe Connected Accounts to build in user-to-user payments. For OP, be sure to pay attention to the different responsibilities you'll have depending on whether you use Standard, Express, or Custom Connected Accounts. With Custom Accounts, for example, you will be responsible for the onboarding process and will need to pay a fee to Stripe for every active Custom Connected Account. The Standard Accounts are easier (for you) to setup, but you lose a bit of control over the onboarding process and you can lose users along the way. These are just some of the factors to consider.

Also, I recommend going straight in with Payment Intents API rather than using Charges.

2 points

Dang man, and here I was thinking "I'll develop something over a course of 2-3 months." You wrapped this one up in like a week. Nice job! I'll probably use it down the line for some marketing work.

3 points

I use it a lot to review events, listeners, and mailables in addition to drilling down failures during a request. It pretty much does everything debugbar does, though in a very different view setting. I like debugbar as a way to quickly compare the number of queries per page (it summarizes it better than telescope and helps you debug them faster), otherwise I think telescope covers most of my needs.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.