I am building an application where users buy credits during a checkout process. Subsequently, I can charge the card directly without having to have users enter their cc details again.
During first payment, the user would create an account and pay at the same time.
I looked at cashier but it looks like it's made for subscription type applications.
Anyone knows of a good package or should I go with cashier?
@Cronix Yes, I know that. But it looks like it's really built for subscriptions.
It also says on the documentation:
If you're only performing "one-off" charges and do not offer subscriptions, you should not use Cashier. Instead, use the Stripe and Braintree SDKs directly.
Cashier is great, but it is overkill for single charges. Now if your going to do subscription billing and on top of it, occasionally do single one off charges, then go for it. Otherwise it is just way more setup and hassle then just using the Stripe library directly.
@komirad Just want to remind you about the http://omnipay.thephpleague.com/ which is a good way to abstract from all your payment gateways and be able to easily use it for a single payment, token billing, subscription etc and switch between payment gateways with a one line change.