Hi,
I am using google checkout in my website.
a) It takes me to google checkout
b) Deducts amount from account
c) Show sucess on google site and sends email to buyer.
Question
1) But Can you please help me why its not redirecting back to my website?
So that I can check if its success or failour?
2) Also how to check if success or failour?
3) Do i need to maintain a local database for shopping done?
steps I followed
1) On Button click I have added
CheckoutShoppingCartRequest Req = GCheckoutButton1.CreateRequest();
Req.AddItem("Snickers", "Packed with peanuts.", 10, 2);
GCheckoutResponse Resp = Req.Send();
Req.EditCartUrl = "http://www.mywebsite.com/SWSubscription.aspx";
Response.Redirect(Resp.RedirectUrl, true);
2) web.config
<appSettings>
<addkey="GoogleMerchantID"value="12345"/>
<addkey="GoogleMerchantKey"value="abcd"/>
<addkey="GoogleEnvironment"value="Sandbox"/>
</appSettings>
3)
In my Sandbox account merchant account settings, i set the folowing things,
Call back Url : http://myweb.com/NotifyPayment.aspx. And advanced settings all are unchecked. I entry only the url on this page. And i dont have any certifactes, they are mentioned. I know, certificates only needed for https protocol. In test mode i use only http protocol.
Can you please help me why its not redirecting back to my website?
Thanks and waiting eagerly for reply
Regards,
Rahul M
Last edited by mehta.rahulit; 05-04-2010 at 03:37 AM.