Загрузка...

How to Automate Order Fulfillment with Node.js and SendGrid

In this video we use the SendGrid service by Twilio to automate order fulfillment for an e-book purchased on our website. This is a basic example that leaves out error handling and saving your order to a database, both of which are strongly recommended.

Note: In more complex cases you'll want to verify the amount against the actual products purchased including their quantity rather than a hard-coded amount.

Timestamps:
0:00 - Intro and prerequisites
0:30 - Modifying routes in Node.js server
1:11 - How to install the SendGrid library
2:58 - How to create "fulfill order" function
4:35 - Testing for errors and reviewing activity in SendGrid
The code referenced in this example can be found here:
https://github.com/paypaldev/PayPal-Order-Fulfillment-Tutorial

More detailed instructions about using SendGrid with Node.js including information about account creation and retrieving an API key can be found here:
https://www.twilio.com/blog/how-to-send-emails-in-javascript-with-sendgrid

For help with your PayPal account, https://www.paypal.com/us/smarthelp/contact-us.

For technical support with accepting payments, https://www.paypal-support.com/s/?language=en_US.

#PaymentSolutions #twilio #PayPal

Видео How to Automate Order Fulfillment with Node.js and SendGrid канала PayPal Developer
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять