I did take a look at it, but I did not understand the code.   To be honest with you I am not a node expert by any stretch.  I was also told that it would be easier to do this in a separate repo.   I think there are plans to replace it with Drupal later on, so I was going for more of a quick fix.

I am not trying to impose anything for sure.  

Thank you for the copy I think that's an excellent message to send.   

Noah

On Thu, Apr 12, 2018 at 12:29 AM, Corey <corey@x64.co> wrote:
Hey Noah,

Good meeting you tonight + happy to hear you have interest hacking on the site

It seems like this is meant to be run independently of sudo-humans and exposes a POST endpoint to determine failed invoices? I am curious if you have taken a look at the sudo-humans repo on Github [1] to see if the Stripe API you are using can be integrated into that app code. It seems like it would be ideal if there was not an additional server instance running to take care of this.

As for the subject/body:

Subject: Your payment to Sudo Room has failed!

Body: Hello,

Your payment to Sudo Room has recently failed.

Please login to sudoroom.org/humans to update your payment information.

As a reminder, all members of Sudo Room are required to pay monthly dues on a sliding scale to remain in good standing. A monthly donation of $60 is suggested, but no one is turned away for lack of resources.

<EOM>


-- 
Corey | @stackptr

On April 12, 2018 at 12:17:24 AM, Noah Glaser (glaserpower@gmail.com) wrote:

Hello,

Hope you are well.  I just wrote some cheap node code to email people when payments fail. 


I volunteered to do this at the last meeting.  I was wondering if someone would be willing to volunteer some text for the body of the email and subject.   I tested this with my fake stripe account.

Thank you

Noah

PS Not trying to step on people's toes, if you feel that way please let me know so I can adjust.
_______________________________________________
sudo-discuss mailing list
sudo-discuss@lists.sudoroom.org
https://sudoroom.org/lists/listinfo/sudo-discuss