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

catchcode2020's avatar

credit card charge (can't find a good api)

i'm trying to add a single charge feature to my project i have a table for products and orders i don't want to use

stripe's product feature i just want to make a charge, all products and orders will pe stored on my own DB,

just want a good payment api for just the checkout feature nothing more.

0 likes
4 replies
piljac1's avatar

You don't need to use Stripe products to charge something. You can manage simple charges. Not sure what you want exactly.

catchcode2020's avatar

what should i use for simple charges is (laravel cashier:stirpe) good, or should i go with something else,

i'm new to ecommerce development that's why my question might sound dumb

piljac1's avatar
piljac1
Best Answer
Level 28

Go with the underlying Stripe library that Cashier uses (in other words, if you don't use Cashier for anything else, don't use it and go directly with Stripe's library). As for what you need, it depends on your location. In North America, people often go with charges because it is the fastest and easiest way to handle payments. However, if you live in Europe, or you sell to the European market, you should look into payment intents instead, which comply to European regulations.

See Charges vs. Payment Intents APIs

1 like

Please or to participate in this conversation.