kapilt / getpaid

Automatically exported from code.google.com/p/getpaid
0 stars 0 forks source link

getpaid.googlecheckout 0.3 blocking getpaid.paypal 0.4.1 #233

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install getpaid to Plone 3.1.7 using getpaid.release, Google Checkout as
payment
processor.  
2.Add item to cart.  Google Checkout button appears in
/@@getpaid-cart, as expected.  Payment processed as expected,  Problem
when trying to change payment processor in PGP Settings.  
3.Clear cart.
4.Select Paypal (or any other processor) in /@@manage-getpaid-overview
(configure ID, etc in processor settings).  
5.Clear cache.  Add item to
cart.  Google Checkout button still appears in /@@getpaid-cart.  No
Paypal icon or any other checkout icon.  When clicking the Google
Checkout button, the following traceback error is returned.  Restoring
Google Checkout as payment processor fixes the problem, but does not
allow any other processor to be selected.

What is the expected output? What do you see instead?

Expected to see a paypal icon.  Instead, no checkout icon/option is shown.

What version of the product are you using? On what version of Plone? How
did you install it (tarball vs buildout vs...)?
Plone 3.1.7 (buildout)
getpaid 0.7.0 (via getpaid.release)
getpaid.paypal 0.4.1
getpaid.googlecheckout 0.3

Please provide any additional information below.

Here is the traceback: 
o
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module getpaid.googlecheckout.browser.checkout, line 39, in __call__
  Module getpaid.googlecheckout.googlecheckout, line 93, in checkout
  Module getpaid.googlecheckout.controller, line 53, in send_xml
  Module gchecky.controller, line 412, in _send_xml
SystemError: Error in urllib2.urlopen: <?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><html
xmlns="http://www.w3.org/1999/xhtml"><head><title></title>
<meta http-equiv="content-Type" content="application/xhtml+xml;
charset=UTF-8" />

<style type="text/css">

      body{font-family:sans-serif;}

      a{color:#0000CC;}
      .items li{margin-bottom: 5px;font-size:smaller}
      ul{margin:5px;padding-left:20px}
      li{margin-bottom:3px}
      .errormsg{color:#990000;margin-bottom:3px;padding:2px;}
      .ci{padding-top:3px;}
      .cp{color:#009900;font-weight:bold;}
      .bo{background:#E5ECF9;margin:6px 0 6px 0;padding:3px;font-weight:normal}
      .t{background:#E5ECF9;font-weight:bold;padding:2px;}
      .x{margin-bottom:6px;margin-top:6px;}
      .pin{-wap-input-format:"*N";}
      .cc{-wap-input-format:"*N";}
      .month{-wap-input-format:"NN";}
      .year{-wap-input-format:"NNNN";}
      .cvc{-wap-input-format:"*N";}
      .issue{-wap-input-format:"*N";}
      .optmonth{-wap-input-format:"*N";}
      .optyear{-wap-input-format:"*N";}
      .x input{margin-top:3px;}
      .e{margin-bottom:3px;width:100%;}
      .e td{background:#FFFFFF;border-bottom:1px solid
#E5ECF9;padding:2px;vertical-align:top;}
      .e td.i{padding-right:0;text-align:left;}
      .e td.p{text-align:right;white-space:nowrap;}
      .e td.o{padding-right:3px;text-align:right;font-weight:bold;}
      .s{color: #999}
      .hint{color:#555;font-size:small;padding-bottom:2px;}

    #footer{display:block;font-size:smaller;margin-top:7px;padding-left:3px;}
    #logo{margin:6px 0;vertical-align:middle;}
    #logo img{border:0;vertical-align:middle;}
    #logo,.b,p,.e{font-size:smaller;}
    .co{color:#555555;margin-top:10px;text-align:center;}

  </style></head>
<body><div id="logo"><img
src="https://checkout.google.com/img/logo-mobile.gif" alt="Google
Checkout" width="133" height="17" /></div>
<div class="b">We were unable to process your request.

</div>
<div id="footer"><br />

<a href="https://checkout.google.com/m/main?gl=US" id="a_home">Google
Checkout Home</a>
<br />

<br />
<a href="https://checkout.google.com/m/helpCenterTerms?type=help"
id="a_help">Help &amp; Terms</a>
<br />

<a href="http://www.google.com/m?gl=US" id="a_google_home">Google Home<br
/></a>
<div class="co">&copy;2009 Google</div></div></body></html>

Original issue reported on code.google.com by eric.c.j...@gmail.com on 27 Jan 2009 at 4:57

GoogleCodeExporter commented 8 years ago
After GC is selected as the processor, URLs for Google Checkout are hard-coded 
in
portlet-cart.pt, cart-actions.pt (and maybe elsewhere).  Might this prevent 
other
processors from loading properly?

Original comment by brian.gr...@gmail.com on 3 Mar 2009 at 7:18

GoogleCodeExporter commented 8 years ago
Currently there is no way to support multiple async payment processors. (Async
processors are the ones that redirect the shopper to a different website to 
complete
the transaction.)

They all use overrides to accomplish their work.

See issue #167 

Original comment by michael....@gmail.com on 2 Jul 2009 at 4:42