3 ms·
Ok, here's the short version: My experience going through the payment intents was that sending POSTs exactly as described was an immediate error for not sendin
by AlchemistCamp 7y ago
Ok, here's the short version:
My experience going through the payment intents was that sending POSTs exactly as described was an immediate error for not sending a version in the request header. Nowhere in the doc was this requirement mentioned: https://stripe.com/docs/payments/accept-a-payment https://stripe.com/docs/payments/accept-a-payment
The problem is step 1: "Use our official libraries for access to the Stripe API from your application"
Similarly the link on this page regarding webhooks leads to another page with similarly insufficient docs: https://stripe.com/docs/payments/handling-payment-events#build-your-own-webhook https://stripe.com/docs/payments/handling-payment-events#bui...
If you're not using their library, there's no info about how to parse the webhook signatures and verify them. There isn't on this page either: https://stripe.com/docs/api/webhook_endpoints/ https://stripe.com/docs/api/webhook_endpoints/
It ended up taking me half an hour to find a page that actually explained (with no examples) how to actually do it.
"Use the official library (and we have no plans to support more languages)" is not excellent documentation. TBH, it was one of the more frustrating experiences I've had with anyone's API docs in the past 2 years.
- lisper 7y agoAgain, what can I say? I wrote my stripe code over three years ago so I don't recall many of the details. All I know is that I don't recall having any trouble with it.
- AlchemistCamp 7y agoFWIW, I finally found what I needed after finding some of their older docs that predate SCA.