Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

GTHell's avatar

How to make a payment beside using stripe or braintree?

I'm making an app for a company that involve transaction to register. Beside using stripe, is there is alternative? Or storing card information is a bad method?

0 likes
6 replies
gcwilliams's avatar
Level 15

There are a ton of alternatives, but most are not going to be as easy to integrate as Stripe or Braintree. There is always Paypal. But really, NEVER STORE CARD INFORMATION ON YOUR SERVER.

1 like
Sys32's avatar

There are lots of course, and fees vary a ton.

2checkout - expensive
Teller - cheaper
Quickpay - slightly more expensive
Mollie - middle, like stripe
BluePay - expensive

All of these has an API where you send the customers card data and get a token back, you should NEVER store payment data besides tokens and transaction ID's locally.

1 like
GTHell's avatar

@gcwilliams @N3 I'm new to this and can you recommend me the best gateway one beside stripe? Or is there no free payment gateway?

1 like
Sys32's avatar

2checkout is free but with high fees, this is common for many merchants.

PayPal now also has a credit card form, where the user don’t need to login.

1 like
Cronix's avatar

I've never heard of a "free payment gateway". They take tremendous risk, and are also the middleman. That's how they make their money. But as other have said, never, ever store cc data on your server. Let stripe/braintree/others take that risk (and they know what they're doing, and do it quite well).

1 like
azimidev's avatar

Well cashier makes it super easy accepting payments. I used GoCardless without cashier and I somehow looked at the strategy in cashier and built something similar. It's not that hard. Some payment gateways only have redirections which makes it even easier.

2 likes

Please or to participate in this conversation.