#ballisticeel_api

1 messages ยท Page 1 of 1 (latest)

copper pierBOT
#

๐Ÿ‘‹ 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.

twin hearth
#

is where i am at so far

rapid token
#

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.

twin hearth
#

Yes new.
I want to capture charges when made.

#

/v1/charges/:id/capture

#

probably that

#

but also pull in some old ones if possible

copper pierBOT
twin hearth
#

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)

rapid token
#

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?

twin hearth
#

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.

white jolt
twin hearth
white jolt
#

You need a public endpoint to receive events yes

twin hearth
#

And then essentially that URL passes everything?

white jolt
#

Not a page

white jolt
twin hearth
#

The stripe dashboard didn't give me a web hook URL

#

But it did help create code

white jolt
#

I don't understand your questin

#

YOU have to create your webhook url

#

On your server

twin hearth
#

And the dashboard just helps me create the code

white jolt
#

The dashboard doesn't create any code

#

You can create the webhook endpoint via the dashboard

twin hearth
#

Okay, I guess I'll have to look at it again.
I have a feeling web hooks maybe a bit beyond me

white jolt
#

Fair enough. Are you a dev?

#

Or new to dev?

twin hearth
#

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

white jolt
#

The goal is to do this as charges succeed?

twin hearth
#

Correct

white jolt
#

Like when a charge succeeds, you want to automatically, programatically add it to a spreadsheet?

twin hearth
#

Yes, exactly, it may be beneficial to capture them when they fail

white jolt
#

Yeah webhooks are what you need, really

twin hearth
#

But we aren't going to be chasing people or trying to fine them

twin hearth
#

I appreciate all your help