473,385 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to automatically redirect after google check payment is made?

Hi everyone,

Thanks for reading my question i am using google checkout dll for checkout purpose. And my code is as follow..

Dim Req As CheckoutShoppingCartRequest = GCheckoutButton1.CreateRequest()
For i As Int16 = 0 To grdMainItem.Rows.Count - 1
Dim CItem As New ShoppingCartItem
Dim pname As String = CType(grdMainItem.Rows(i).FindControl("lblProductN ame"), Label).Text
Dim price As String = CType(grdMainItem.Rows(i).FindControl("lblPrice"), Label).Text
Dim qty As String = CType(grdMainItem.Rows(i).FindControl("drpQty"), DropDownList).SelectedValue

CItem.Name = pname
CItem.Description = ""
CItem.Price = Val(price)
CItem.Quantity = Val(qty)
Req.AddItem(CItem)
Next
Req.EditCartUrl = "http://domain/ViewCart.aspx"
Req.ContinueShoppingUrl = "http://domain/thankyou.aspx"
Dim Resp As GCheckoutResponse = Req.Send()
Response.Redirect(Resp.RedirectUrl, True)


I want to redirect automatic when payment is made and i want to save transaction data in my db but unfortunately i can't able to redirect automatically. User has to manually click on the button to redirect.

Pls help ASAP
Thanks in Advance
Monish
Dec 18 '10 #1
0 1191

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: AJ | last post by:
Hi, I am a newbee to sql server. I know there is a tool called Notification Services. I want to set up notification for specific entries in sql server table. Thanks a lot for your...
17
by: Michael Fan | last post by:
I am a newbie for web servcie and want to write a web service which monitors the certain field in the database. Once it exceeds the certain value, web service will send out notification to web...
0
missshaikh
by: missshaikh | last post by:
Hi All, Need Help. i m using Google CheckOut in my Site. I have 3 Products when i use deferent ship_method_name_# like (FedEx, 'UPS Ground, UPS Air ) then it will work fine. But when i...
1
by: jecha | last post by:
I'm implementing a shopping cart but am having a problem in checking out a person who has added item in his/her shopping busket.The code for the checkout.php script is given below <?...
5
by: cj | last post by:
Back some time ago I was playing with a little app in VB 2005 that used a google web service to get search results. I was rebuilding this app in 2008 today. I added the web service...
0
by: DaveJ | last post by:
Unfortunately I'm a little upset, I went to one of the free .Net seminars today that Microsoft holds. At the end of the seminar I had just one question. There is only one thing I want to know....
6
omerbutt
by: omerbutt | last post by:
hi I nee d a little guidance regarding google checkout i searched it on google and it took me too a page where it asked me to login through google account and after logging in it was asking for my...
4
by: Bassem | last post by:
Hi, 1. I have add a Google Checkout "Buy Now" button on a HTML page, works fine. 2. I'm trying to access a MySql database as a customer click the Buy Now button. 3. I've put the a PHP code in a...
2
by: mfaisalwarraich | last post by:
Hello everybody, I am working with google checkout and currently working at sandbox environment. I have used Paypal and i thought google checkout should work like the same. but i wonder that...
5
omerbutt
by: omerbutt | last post by:
hi , as we all work with the registration process , the normal and simple is after registring the user , we ask them to click on a link in the email , now what i am trying is that the user wont...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.