Giter VIP home page Giter VIP logo

hamzaowais / api Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 5.0 1.63 MB

Automated Paypal InvoicingUsing Google Apps Script we will automate some of the task like creating Paypal invoices, Email a list of unpaid invoices, and the list of paid Invoices. Not only does this automates few of the tasks but also able to make a third party paypal application without much code. We will do basic data analytics, like the monthly revenue.

JavaScript 100.00%
paypal-invoice google-apps-script paypal-rest-api

api's Introduction

API(Automated Paypal Invoicing) using Google App script

Getting Started:

The code in this repository will give you an idea on how we can use google app script to automate task. It will also give on how to use paypal resp api. How to make outh2.0 authentication in google app script. And on how to make paypal rest api call using google app script.
You need get the client id and secret using the following link. You may also use the sandbox account for testing purpose.

sendInvoice.gs: This is triggered on form submit event. for more details on this event, click the link. From the information that it gets from the google form, it uses the paypal rest api to get the [access token)(https://developer.paypal.com/docs/api/overview/#authentication-and-authorization), create invoice draft, and then send the invoice.
generatemonthlyRevenueSpreadsheet.gs: This is triggered on open event. for more details on this event, click the link. It uses the paypal rest api to get the [access token)(https://developer.paypal.com/docs/api/overview/#authentication-and-authorization), and get all the paid invoice from paid invoice api(This information is gathered using several api calls instead just one), and then using this information, we calculate the monthwise revenue. We just append this data to a sheet using Spreadsheet Service.
generatePaidInvoiceSpreadsheet.gs: This is triggered on open event. for more details on this event, click the link. It uses the paypal rest api to get the [access token)(https://developer.paypal.com/docs/api/overview/#authentication-and-authorization), and get last 50 paid invoice from search invoice api and then we just append this data to a sheet using Spreadsheet Service.
generateUnPaidInvoiceSpreadsheet.gs: This is triggered on open event. for more details on this event, click the link. It uses the paypal rest api to get the access token, and get last 50 unpaid invoice from search invoice api and then we just append this data to a sheet using Spreadsheet Service.

Description:

Using Google Apps Script we will automate some of the task like creating Paypal invoices, Email a list of unpaid invoices, and the list of paid Invoices. Not only does this automates few of the tasks but also able to make a third party paypal application without much code. We will do basic data analytics, like the monthly revenue.

  • Substitute of third party(android, iOS, web) Paypal application
  • Ability to make reports/spreadsheets. Can apply google's Access Control. eg. grant permission only to selected people.
  • Basic Data Analytics eg. Monthly Sales Report From Papal
  • Report of Unpaid Paypal Invoices
  • Report of Paid Paypal Invoices
  • Using Google Form to Create Paypal invoice.
  • Send notification email timely triggered.
  • Much more, Could be tailored according to User's specification.

Monthly Sales Report

Report of Unpaid Paypal Invoices

Report of Paid Paypal Invoices

Google Form to Create Paypal invoice

Example of an invoice sent to [email protected] worth of 2 dollars.

Confirmation of the Email Sent

api's People

Contributors

hamzaowais avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.