This file contains 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
//// npm install --save roboto-fontface material-icons | |
//// put the below stuff into src/styles.scss | |
// for npm roboto-fontface package (to load local files) | |
$roboto-font-path: "~roboto-fontface/fonts" !default; | |
@import "~roboto-fontface/css/roboto/sass/roboto-fontface"; | |
// for npm material-icons package (to load local files) | |
$material-icons-font-path: '~material-icons/iconfont/'; |
This file contains 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
# This gist illustrates how to create and execute a payment with Paypal using their REST API. | |
# For additional informations, check the documentation: https://developer.paypal.com/docs/api/ | |
# Note 1: I assume that you have already created a developer account for Paypal and an application. | |
# To test that your code is working, use the sandbox accounts. | |
# https://developer.paypal.com/webapps/developer/applications/accounts | |
# Note 2: we will not use the Paypal REST API SDK package for Node.js | |
# https://github.com/paypal/rest-api-sdk-nodejs |