Results 1 to 1 of 1

Thread: Redirection Issue in .net c# Google Checkout

  1. #1
    Noogle

    Join Date
    May 2010
    Posts
    1

    Redirection Issue in .net c# Google Checkout

    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.

Similar Threads

  1. Redirection
    By oper in forum Domain Name Forum
    Replies: 3
    Last Post: 04-02-2008, 05:28 AM
  2. Redirection and alias
    By scislaghi in forum Search Engine Optimization Forum
    Replies: 2
    Last Post: 11-22-2007, 02:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •