Online presence for Guardians of Dreams (a startup non-profit organization in India that works with children in need of care and protection)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.firebase
.vscode
assets
components
config
functions
layouts
middleware
pages
plugins
static
store
.editorconfig
.eslintrc.js
.firebaserc
.gitignore
.prettierrc
.travis.yml
README.md
database.rules.json
firebase.json
god.code-workspace
nuxt.config.js
package-lock.json
package.json

README.md

Guardians of Dreams Website V2

Build Setup

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000
$ npm run dev

# generate static project
$ npm run generate

# deploy project to Firebase
$ firebase deploy
$ firebase deploy --except functions

# Google functions configurations: Paynimo.SALT, RazorPay.testkey etc
firebase functions:config:get

# build for production and launch server
$ npm run build
$ npm start

PayNimo Samples

SI:

var configJson = {
  tarCall: false,
  features: {
    showPGResponseMsg: true,
    enableNewWindowFlow: true, //for hybrid applications please disable this by passing false
    enableExpressPay: true,
    siDetailsAtMerchantEnd: true,
    enableSI: true
  },
  consumerData: {
    deviceId: 'WEBSH2', //possible values 'WEBSH1', 'WEBSH2' and 'WEBMD5'
    token:
      '51a0fcee21787dd60df843a2ff1b0e5c56799c1785d18c9da4eba08357a4398dde79eeb4313a63437777fb7dc651cc1d18c0ef42a8ed9078e7af4952b7d6a516',
    returnUrl:
      'https://www.tekprocess.co.in/MerchantIntegrationClient/MerchantResponsePage.jsp',
    responseHandler: handleResponse,
    paymentMode: 'cards',
    merchantLogoUrl: 'https://www.paynimo.com/CompanyDocs/company-logo-md.png', //provided merchant logo will be displayed
    merchantId: 'T3239',
    currency: 'INR',
    consumerId: 'c964634', //Your unique consumer identifier to register a SI
    consumerMobileNo: '9876543210',
    consumerEmailId: 'test@test.com',
    txnId: '1481197581115', //Unique merchant transaction ID
    items: [{ itemId: 'test', amount: '5', comAmt: '0' }],
    customStyle: {
      PRIMARY_COLOR_CODE: '#3977b7', //merchant primary color code
      SECONDARY_COLOR_CODE: '#FFFFFF', //provide merchant's suitable color code
      BUTTON_COLOR_CODE_1: '#1969bb', //merchant's button background color code
      BUTTON_COLOR_CODE_2: '#FFFFFF' //provide merchant's suitable color code for button text
    },
    debitStartDate: '10-03-2019',
    debitEndDate: '01-03-2047',
    maxAmount: '100',
    amountType: 'M',
    frequency: 'ADHO' //  Available options DAIL, Week, MNTH, QURT, MIAN, YEAR, BIMN and ADHO
  }
};

eMandate:

var configJson = {
  tarCall: false,
  features: {
    showPGResponseMsg: true,
    enableNewWindowFlow: true, //for hybrid applications please disable this by passing false
    enableExpressPay: true,
    siDetailsAtMerchantEnd: true,
    enableSI: true
  },
  consumerData: {
    deviceId: 'WEBSH2', //possible values 'WEBSH1', 'WEBSH2' and 'WEBMD5'
    token:
      '51a0fcee21787dd60df843a2ff1b0e5c56799c1785d18c9da4eba08357a4398dde79eeb4313a63437777fb7dc651cc1d18c0ef42a8ed9078e7af4952b7d6a516',
    returnUrl:
      'https://www.tekprocess.co.in/MerchantIntegrationClient/MerchantResponsePage.jsp',
    responseHandler: handleResponse,
    paymentMode: 'netBanking',
    merchantLogoUrl: 'https://www.paynimo.com/CompanyDocs/company-logo-md.png', //provided merchant logo will be displayed
    merchantId: 'T3239',
    currency: 'INR',
    consumerId: 'c964634', //Your unique consumer identifier to register a eMandate/eSign
    consumerMobileNo: '9876543210',
    consumerEmailId: 'test@test.com',
    txnId: '1481197581115', //Unique merchant transaction ID
    items: [
      {
        itemId: 'test',
        amount: '5',
        comAmt: '0'
      }
    ],
    customStyle: {
      PRIMARY_COLOR_CODE: '#3977b7', //merchant primary color code
      SECONDARY_COLOR_CODE: '#FFFFFF', //provide merchant's suitable color code
      BUTTON_COLOR_CODE_1: '#1969bb', //merchant's button background color code
      BUTTON_COLOR_CODE_2: '#FFFFFF' //provide merchant's suitable color code for button text
    },
    //'accountNo': '1234567890',    //Pass this if accountNo is captured at merchant side for eMandate/eSign
    //'accountType': 'Saving',	//  Available options Saving, Current and CC for Cash Credit, only for eSign
    //'accountHolderName': 'Name',  //Pass this if accountHolderName is captured at merchant side for eSign only(Note: For ICICI eMandate registration this is mandatory field, if not passed from merchant Customer need to enter in Checkout UI)
    //'ifscCode': 'ICIC0000001',        //Pass this if ifscCode is captured at merchant side for eSign only
    debitStartDate: '10-03-2019',
    debitEndDate: '01-03-2047',
    maxAmount: '100',
    amountType: 'M',
    frequency: 'ADHO' //  Available options DAIL, Week, MNTH, QURT, MIAN, YEAR, BIMN and ADHO
  }
};