Re:ask hn: PayPal or Stripe?
by lancecotingkeh on Monday December 09, 2024 @08:05AM
(#42365933)
you should use a payment orchestrator so you can easily move between paypal and stripe to another payment processor if needed. a quick search of hn shows the horror stories of people getting kicked off of stripe/paypal without notice and losing their revenue / subscriptions overnight
For a current $CLIENT we actually implement both (and Amazon Pay), with an abstraction of sorts within our own code (each payment gateway is represented by a service class implementing a common interface).
Re:ask hn: PayPal or Stripe?
by cannibalXxx on Monday December 09, 2024 @07:02AM
(#42365393)
is there an up-to-date tutorial that could help me implement stripe?
The stripe docs are quite good, eg https://docs.stripe.com/checkout/quickstart
We don't use their JS sdk so I can't comment on how that behaves/how accurate the guides are, but the api docs are great.
Re:ask hn: PayPal or Stripe?
by cannibalXxx on Monday December 09, 2024 @09:29AM
(#42366520)
thank you
Stripe supports a lot more payment methods: both global and region specific wallets, bank transfers, etc - there's even a beta (I think in EU only for now) to accept PayPal payments via stripe.
If you wanted to compare stripe you'd really need to compare it to Braintree (which is owned by PayPal), which offers a similar concept: integrate once to support multiple payment methods, but from memory it supports less than Stripe.