Integrate Google Wallet with Google Apps Script? - google-app-engine

I have been developing an event registration form with Google Apps script. The form is required to add the data entries to a Google spreadsheet and process orders with Google Wallet. I have tried using HTMLServices, but it did not work. Is there any way to integrate Google Wallet dynamically in the Google Apps Script service? If not, will I need to use the App Engine? And what language would be best?

You'll need a server component to handle callbacks from Google after the Wallet transactions. The server handler must be able to process XML or JSON depending on the API used.
If you're using the Google Checkout API, have a look at:
https://developers.google.com/checkout/developer/Google_Checkout_XML_API_Notification_API
https://developers.google.com/checkout/samplecode
If you're using the Wallet for digital goods API, have a look at:
https://developers.google.com/commerce/wallet/digital/docs/postback

Related

What does Google mean with "Google APIs"? Is an App Engine endpoint (e.g. xxx.appspot.com) a Google API?

I have a couple of running Cloud functions that fetch data from an external API and then post the received data into an internal API which is running on Google App Engine. I've come up with this approach because the external API has a rate limit that I sometimes need to bypass.
In order to calculate the monthly cost of this setup I was looking at the Google Docs and saw this:
Outbound data to other Google APIs in the same region is free, as is inbound data. Where the Google API you are using is global (i.e. not region-specific), it is considered to be the same region.
My question: What does Google mean with "Google APIs"? Is an App Engine endpoint (e.g. xxx.appspot.com) a Google API?
Google APIs generally refer to the APIs and services provided as part of Google Cloud, as well as other Google services such as SMTP provided by Gmail and recaptcha.

Generate json key for Google Cloud permissions

I have a project and wish to generate a new json key for my service account. I need to do it from app engine via the sdk. Is this possible; I can't find the library? Or can it only be created manually in the console?
There is only one API that lets you manipulate the projects on Google Developer console its called Google Cloud Resource manager API. Here is some notes on my testing of it. Google Developer console API
This API is still in BETA and very new. currently all it lets you do is insert update delete list and get projects. You cant do anything with the settings of the project.
I have been unable to track down any kind of support forum or request forum for this API. It would be nice if they would extend it so we can make changes to the consent screen, oauth credentials and API settings. Not to mention check the Quota programmatically.

BigQuery - Email Notification Configuration

I have Google Cloud and BigQuery setup. I need to have push notification (Like Email) on specific event / any database changes. I have Google compute engine (without any applications loaded yet)
Can someone give me directions on how can this be done? What application can be installed ? Or is it something BigQuery already has?
BigQuery doesn't currently have a notification system. You could set up an App Engine task that monitors it instead.
(feature request? https://code.google.com/p/google-bigquery/issues/list)

Access Google Calendar within Google App Engine project

I am new to Google App Engine (GAE) and its Python api. For the past weekend, I have been trying to set up a simple app that will send SMS message to my phone whenever it sees an upcoming event in the calendar. For that purpose, I am using GAE with Twilio and Google Calendar API (v3)--all in Python.
I have a GAE account and was able to run simple tutorial web app by following an example here https://developers.google.com/appengine/docs/python/gettingstartedpython27/introduction and here https://developers.google.com/appengine/articles/twilio. I was also able to run cron job to send SMS messages using Python scripts on GAE successfully. But when I am having trouble figuring out how to write a script (cron job) that will retrieve calendar events (of my GAE account) using Google Calendar API. I have read a bunch of tutorials and instructions on Google developer, but just found myself getting confused more and more.
Is that possible to create a Python script for cron job to be run on GAE to retrieve calendar events? I came across OAuth2 authentication in GAE accessing Calendar API V3 (domain hosted) which is close to what I was trying to achieve, but not quite (my plan is not to create web app for users). Is the rumor true that Google Calendar API doesn't work with Service Accounts?
Using OAuth 2.0 requires the user to allow access. What I understand is that it will return an access token to the requesting application for a certain period (1hr?) and then will require user to refresh or go through the granting-access-procedure again? If that's the case, I do not want to use it since my goal is to have a script that periodically runs (say every fifteen minutes) to see if there is any upcoming calendar event in next 15 minutes.
If someone could direct me to an example Python script that will work on retrieving Google Calendar events from an owner's account on GAE, that would be greatly helpful.
If someone can answer any of the above questions, I would greatly appreciate your help.

Is it possible to use google app engine map in website

I need to book homes. I need to show google map then agent place information of home on map using marker. When user come on web site they saw property listing on map. Is it possible to use google app engine? Can I use PHP or I need to use java?
You can use google maps with google app engine.
Here is a relevant link: http://wtp2.appspot.com/AppEngineMapDemo.htm
This demo uses the Google AppEngine as a data store for users to pin photos on a map with server side scripting in Python.
It also includes source.
You cannot use PHP (yet) on Google App Engine, but you can use Java, Go and Python.
Here are some geo-related samples: http://code.google.com/p/google-app-engine-samples/wiki/GoogleAppEngineSamples

Resources