HackerTrans
TopNewTrendsCommentsPastAskShowJobs

hakanito

no profile record

Submissions

Payment Request API: W3C Candidate Recommendation Draft

w3.org
1 points·by hakanito·2 वर्ष पहले·0 comments

comments

hakanito
·6 माह पहले·discuss
Agree with this. Like the author, I've been keeping ajour with web development for multiple decades now. If you have deep software knowledge pre-LLM, you are equipped with the intuition and knowledge to judge the output. You can tell the difference between good and bad, if it looks and works the way you want, and you can ask the relevant questions to push the solution to the actual thing that you envisioned in your mind.

Without prior software dev experience people may take what the LLM gives them at face value, and that's where the slop comes from imho.
hakanito
·9 माह पहले·discuss
Thanks, I spent my lunch hour completing it without cheating. Amazing!
hakanito
·पिछला वर्ष·discuss
How do you do that practically/reliably? Would be great to just paste a link to the SDK Github repo, but doesn't seem to work (yet) in my experience
hakanito
·पिछला वर्ष·discuss
The game changer for me will be when AI stops hallucinating SDK methods. I often find myself asking ”show me how to do advanced concept X in somewhat niche Y sdk”, and while it produces confident answers, 90% of the time it is suggesting SDK methods that do not exist, so a lot of time is wasted just arguing about that
hakanito
·2 वर्ष पहले·discuss
It would lower the barrier to switch to Cloudflare for new customers, and once they are inside with a credit card on file it’s arguably easier to explore their product offerings
hakanito
·2 वर्ष पहले·discuss
The obvious go-to choice was Cloudflare for us too, but then it turned out you can't use CF just as a registrar (at least on the basic plan or equivalent), you need to use Cloudflare's nameservers as well... But we use Google's Cloud DNS for everything, so that was a showstopper. In the end we went with AWS Route 53.

CF could probably get a lot more customers if they would allow you to use custom nameservers for your domain.
hakanito
·2 वर्ष पहले·discuss
I know, but most people want to pay with their credit card and not a volatile altcoin, and they do not want to switch browser.
hakanito
·2 वर्ष पहले·discuss
The point is you should be able to operate you own paywall. The tech is mature enough in 2024 to make it work.

Make the browser store you credit/debit card info, make the browser handle the payment UI, make the browser expose JS apis to invoke payments and receipt fetching against pluggable payment providers.

My ideal world looks like this. New html button element:

`<pay amount="1.00" currency="USD" reference="my-article-123" checkoutUrl="https://...">Unlock for $1.00</pay>`

Clicking it opens browser checkout flow. The url you get from stripe/paypal or another whitelisted payment provider that has implemented the spec, some flow similar to OAuth. On a successful tx, a signed receipt (something like a jwt) is returned from the provider and saved by the browser, on disk on your computer.

The webpage can then load signed receipt references from the browser api, sends it to the backend which can return the article content if the receipt jwt is valid.

It can be fixed if the right people from Chrome and Stripe got together in a room and brainstormed for a bit. Then everyone else would follow.
hakanito
·2 वर्ष पहले·discuss
This is what I want too. Been wanting it for years.

Maybe once payments are bundled into the browser coupled with some W3 standard…