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

zoey7907's avatar

Stripe Cashier web hook for payment received

I have a project that requires payments to be registered both in stripe for cash payments and also in my own project for check and cash payments. I need to be able to pull in payments from stripe for each customer and compile a list -in date order - combining payments entered in my database with payments made in stripe. What is the best way to go about this? Thanks

0 likes
1 reply
martinbean's avatar

@zoey7907 That’s not how Stripe works.

Stripe has payment_intent objects. These represent a customer’s intent to pay an amount using a card or other online payment method (such as bank transfer if it’s supported). You can’t create Stripe charges for physical transactions such as paying by cash or cheque.

The closest you can get is with an invoice object. You can mark an invoice as “paid out of band”. This tells Stripe that the invoice was paid using a payment method outside of Stripe (i.e. a customer paying you in cash or with a cheque). The API operation for that is documented here: https://stripe.com/docs/api/invoices/pay (make note of the paid_out_of_band parameter).

Please or to participate in this conversation.