#Murder

1 messages · Page 1 of 1 (latest)

brittle steppeBOT
plucky ivy
#

Hi, can you add ore details here please? I'm not fully understanding the ask here.

visual rose
#

So im using Python, and i want to be able to notify the user when a invoice has been payed. But i have no idea if i can do that and if so, then how

plucky ivy
#

This webhook event will be fired when an invoice is paid

visual rose
#

So just loop through the recent events and if its that type then do x, right?

#

Just wanna make sure haha

#

and it would be the "type" that would identify it

plucky ivy
#

What do you mean by 'type'? Can yo share an example?

visual rose
plucky ivy
#

I'm unsure what you're asking here sorry, can you help reword this?

visual rose
#

That in the API docs

#

And all good i think i got it

#

Is there a way to simulate this event so i dont have to send money to myself every time i want to test it?

plucky ivy
visual rose
#

Oh cool

#

So with the test mode, al i need to do is toggle it in the dashboard and all my requests and etc is sent to the test mode?

plucky ivy
visual rose
#

Ah cool

#

How can i get a test key API

plucky ivy
visual rose
#

Ah yeah got it

#

So, in test mode how can i pay an invoice?

plucky ivy
visual rose
#

Is there a way to pay the invoice in the dashboard in test mode?

#

Trying to make a system that generates invoices that a customer can then pay through Stripe

plucky ivy
#

yes, you can add the 4242 to the customer and click Charge customer.

visual rose
#

ohhhh i was looking at the wrong thing 🤣

#

Ah works, that is so cool haha

#

One more thing

#

Is there a way to add a field to the event so i can set it as that my code has looked over it already? So i dont log the same invoice multiple times?

plucky ivy
#

Hmm, I do not understand the question. Can you reword it please?

visual rose
#

All good i think i got it