Last active
July 24, 2018 08:20
-
-
Save dsternlicht/84ea778edec34cab30a294a6d05b09b3 to your computer and use it in GitHub Desktop.
Creating a PayPal IPN Endpoint With NodeJS - ipn.ctrl.js - Basic Structure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class IPNController { | |
| static index(req, res) { | |
| console.log('It works! 😀'); | |
| res.status(200).send('OK'); | |
| res.end(); | |
| } | |
| } | |
| export default IPNController; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment