Using Google Checkout in ASP.Net
Asked Answered
D

3

6

Ok, my site has 3 check out options - our credit cards processing , PayPal , and Google Checkout, I handle the first two by processing the request then redirecting the user to a Receipt page to display a printable ticket and show details of the transaction. This seems very hard to implement with Google Check Out.

So I use Response.Redirect(...) to redirect the user to the Google CheckOut. As far as I understand there is no way to give Google a Redirect URL for successful transactions. The only way to do it is give Google a URL to send notifications.

So I am going to create an aspx page to listen to notifications from Google, Here this is will be placed in the database.

My problem is.. How do I implement all this for a smooth user interface? The user is going to be redirected to Google (I don't know of a way to do Response.Redirect in a new tab or window) so the user is now logging into google , processing transaction, Then they have to on their own go back to my site , log in, then maybe click on a recent purchases link?? Then I can display the receipt. This doesn't seem right ... Is there any other way that other people have implemented Google Checkout a little more smoothly.

Disabuse answered 5/9, 2012 at 19:7 Comment(0)
A
3

An alternative to the classic Checkout API is the newer Wallet API:

https://developers.google.com/in-app-payments/

The entire transaction is in-app which means the customer never leaves your site. The transaction fees are also cheaper.

Annunciator answered 5/9, 2012 at 22:0 Comment(0)
S
2

Did you look at the continue-shopping-url parameter, for more info see the html api parameter reference:

HTML API Parameter Reference

Specialize answered 5/9, 2012 at 20:42 Comment(0)
C
-1

Just for information of new developers who want to integrate Google Wallet "Google wallet is going to be retired March 2, 2015".

They write "This only applies to web developers accepting payments for digital goods on their own websites using the Google Wallet for digital goods API". Visit the following link for further details

https://support.google.com/wallet/business/answer/6107573?hl=en

Chronoscope answered 30/12, 2014 at 8:48 Comment(1)
Well, they are closing one smallish part of google wallet, NOT google wallet. Edit: I mean the usage of it is small. I think I saw a website once that let me use google wallet (drugstore.com)... but that was physical goods, which also isn't being closed...Variolous

© 2022 - 2024 — McMap. All rights reserved.