Created
July 24, 2018 07:46
-
-
Save dsternlicht/8625f96d4fe102f0fa69b3738e53fd8b to your computer and use it in GitHub Desktop.
Creating a PayPal IPN Endpoint With NodeJS - routes.js
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
| import IPNController from './controllers/ipn.ctrl'; | |
| function routes(app) { | |
| // ... | |
| // PayPal IPN endpoint | |
| app.post('/ipn', IPNController.index); | |
| // ... | |
| } | |
| export default routes; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment