Hacker News new | ask | show | jobs
by scarab 1349 days ago
This is so true.

PaymentIntents and SetupIntents make setting up a basic subscription Billing interface incredibly painful. The documentation is awful and spread across multiple sections of the Help pages so you have to read multiple articles to piece together how it's supposed to work in your specific scenario.

Even understanding when a PaymentIntent is recommended vs when a SetupIntent is needed takes some doing.

And don't get me started on trying to understand whether I need to use the confirmCardPayment or the confirmPayment or confirmCardSetup etc etc functions.