呵呵,怎么没人来发表你的高见呢?作为卖家我如何设置 API return URL呢?上面的问题可能与这个有关,不过目前还不确定。请同仁看一下哈!

解决方案 »

  1.   

    with xml you send these variables:edit-cart-url
    continue-shopping-urland you can't get the people back to your site automatically after a
    transaction... google just puts a little tiny link on the order
    complete page that if you're lucky the customer will click on and
    return to your site .
    ==================================================================================================
    Hi Fididel,
     
        Here its not possible to redirect automatically after the transaction from google checkout site, Even its successful or unsuccessful transaction, But speciality with this google checkout site is that there itself the buyer will come to know that the transaction is successful or unsuccessful, From google checkout site you can provide two links from those you can redirect to your site. 
     
    1) <input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.edit-cart-url" value="http://www.example.com/edit ">
     
    by passing this field you can give link to edit your cart before checkout.
     
    2)<input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.continue-shopping-url" value="http://www.example.com/continue ">
     
    with this you can give link to your site after the transaction irrespectively of transaction result.
     
    regards
    Vinayaka K
      

  2.   

    1)   <input   type="hidden"   name="checkout-flow-support.merchant-checkout-flow-support.edit-cart-url"   value="http://www.example.com/edit   "> 
      
    by   passing   this   field   you   can   give   link   to   edit   your   cart   before   checkout. 
      
    2) <input   type="hidden"   name="checkout-flow-support.merchant-checkout-flow-support.continue-shopping-url"   value="http://www.example.com/continue   "> 
      
    with   this   you   can   give   link   to   your   site   after   the   transaction   irrespectively   of   transaction   result. 
      

  3.   

    2) <input  type="hidden"  name="checkout-flow-support.merchant-checkout-flow-support.continue-shopping-url"  value="http://www.example.com/continue  "> 我尝试了此方法,貌似不行啊,是不是和form的action链接有关系,没有匹配?
    <form action="https://checkout.google.com/cws/v2/Merchant/<?php echo $merchant_id; ?>/checkout" method="post">
    <input type="hidden" name="cart" value="<?php echo base64_encode($GCheckout->getCart());?>">
    <input type="hidden" name="signature" value="<?php echo base64_encode($GCheckout->getSignature($GCheckout->getCart()));?>">
    <input type="hidden"  name="checkout-flow-support.merchant-checkout-flow-support.continue-shopping-url"  value="http://www.michaelroland.com"> 
    <input type="image" name="Google Checkout" alt="Fast checkout through Google"   src="http://checkout.google.com/buttons/checkout.gif?merchant_id=<?php echo $merchant_id;?>&w=180&h=46
    &style=white&variant=text&loc=en_US" height="46" width="180">
    </form>
      

  4.   

    这(1) 和(2)是同一问题的两个步骤, 你仔细看一下每种方法下面的英文解释你也在做Google Checkout的付费方式吗?俺好久没有做了啊