#WannaLearn -

1 messages ยท Page 1 of 1 (latest)

orchid wing
#

Hi ๐Ÿ‘‹ I don't think @jade hollow is in this channel

bold oasis
#

anyways

#

does someone have a solution for this?

orchid wing
#

I dont know what you are talking about. I was not in any hangout

bold oasis
#

to test some invoices

#

I am trying to build a program that sends an invoice, waits for it to be paid, and triggers some action once paid

#

i created an account for testing, but when sending an invoice I did not receive any email

#

Paul told me that, stripe is designed not to send emails and not returning any hosted links

#

so I was wondering: how can i properly test my code if I can't actually see what I am building?

orchid wing
#

Well for starters I wouldn't use the email as the trigger to take action once the invoice is paid. I would recommend setting up a webhook listener and listening for the invoice.paid webhook event

bold oasis
#

I just ran the sample code

#

and see if I was getting any invoice

#

first, i create an invoice, then I mess with it

#

that's literally how you build apps: piece by piece

orchid wing
#

Sure, I'm. just saying this would be a good next piece

bold oasis
bold oasis
#

but how can I ensure my code works so far?

#

do i need to assume?

orchid wing
#

What is it you are trying to verify?

bold oasis