#ballisticeel_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1377289828474818673
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐ sorry, but I'm not grasping what your question is from your post, can you elaborate on what is giving you trouble?
Is this a new Stripe integration you're building? If so, you shouldn't be creating Charge objects directly.
Yes new.
I want to capture charges when made.
/v1/charges/:id/capture
probably that
but also pull in some old ones if possible
I have a set of 4 products specifically that I would like to capture when customers pay for them
The objective is to get a spreadsheet that shows customers who pay for parking, so I can have name, contact info and vehicle Registration (custom field)
.. in a spreadsheet
time paid for and the product (ie time they paid for)
Charges are soft-deprecated at this point, which is why I don't recommend integrating directly against them.
If you want to be made aware of activity in your Stripe account as it is happening, you want to set up a webhook endpoint:
https://docs.stripe.com/webhooks
Where are you storing the information you need within your Stripe account? Have you looked at an example of a Charge object from your testing and ensured it has all the information you need?
I couldn't get the endpoint to do anything, 404 errors.
I've only ever used Discord web hooks, Not sure where I'd start with creating one.
I was looking at the API as I have a bit more experience with that, even if it's just processing them.
Hi see https://docs.stripe.com/webhooks for getting up and running with webhooks
I read that, what I was confused about is do I have to make a hosted page at an address using the code created??
You need a public endpoint to receive events yes
And then essentially that URL passes everything?
Not a page
What do you mean
And the dashboard just helps me create the code
The dashboard doesn't create any code
You can create the webhook endpoint via the dashboard
Okay, I guess I'll have to look at it again.
I have a feeling web hooks maybe a bit beyond me
I make websites, Discord servers, and a few Discord bots with basic code
I help run a not-for-profit friendly society.
We make a bit of money from parking charges in our car park and I was hoping to get the information from stripe into a spreadsheet
I had used zapier but they don't bring the custom fields in
The goal is to do this as charges succeed?
Correct
Like when a charge succeeds, you want to automatically, programatically add it to a spreadsheet?
Yes, exactly, it may be beneficial to capture them when they fail
Yeah webhooks are what you need, really
But we aren't going to be chasing people or trying to fine them
Okay, I will do my best to try and learn about the web hooks
I appreciate all your help