Showing posts from August, 2017

How to integrate a payment gateway into your WordPress website for donations without using woocommerce

Hey guys today I will explain how to integrate a payment gateway into your WordPress website for donation purposes. I was searching this for a long time but always end up with plugins which were using Paypal or stripe only. So the problem with them was that they mostly accept credit cards or their specific accounts but I wanted something generic with all the available payment options like credit card, debit card and net banking. And also I was looking something with Indian currency option preloaded but Paypal does not support this. And most of the available plugins with all these options were dependent on woocommerce so we can use them only if we have a woocommerce plugin preinstalled, but we might want to add a donation option to a normal WordPress website also which is not using woocommerce.

So finally I found a very beautiful and elegant plugin designed exclusively for this purpose only and which can be live instantly. So let's introduce you to Give . Give is designed exclusiv…

Making your node.js app live using AWS

In this post, I will show how to make a node.js app live using AWS. For this, I will first show how to create a simple hello world app using node.js.
Lets get started:

Create your project folder ( mkdir sampleNodeApp )Move to that folder ( cd sampleNodeApp )Create a file server.jsCreate another subFolder inside your project folder publicMove to public ( cd public )Create a file index.htmlMove to your main directory ( cd .. )Update server.js to have the following content var express = require('express') var app = express()
app.get('/', function (req, res) {   res.sendFile(__dirname + '/public/index.html'); })
app.listen(3000, function () {   console.log('Example app listening on port 3000!') })
     9. Update index.html inside public folder to have following content
         <html>            <head>      <title>        This is a sample app.       </title>             </head>             <body>        Welcome Everybody!    …