epayco / epayco-python

SDK para python pagos con tarjeta de credito,debito y cash
12 stars 12 forks source link

Error en Retrieve customer #9

Open aztrock opened 5 years ago

aztrock commented 5 years ago
Retrieve
customer=objepayco.customer.get("eXj5Wdqgj7xzvC7AR")

Regresa <200>, pero no es un json, es un html, en sandbox

aztrock commented 5 years ago

El mismo error en

In [8]: update_customer_info = { 
   ...:   "token_card": "GTFpox3GvJ6HaTDyk" 
   ...: }                                                                                                                                                     

In [9]: conn_epayco.customer.update("M4HFxPWDcHeTd8pFq", update_customer_info)                                                                                
<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" type="text/css" class="__meteor-css__" href="/1d6ae98d42f808bbae3ef7f1bf284c4968836669.css?meteor_css_resource=true">
<title>Testing sdk</title>

</head>
<body>
  <script type="text/javascript">__meteor_runtime_config__ = JSON.parse(decodeURIComponent("%7B%22meteorRelease%22%3A%22METEOR%401.7.0.3%22%2C%22meteorEnv%22%3A%7B%22NODE_ENV%22%3A%22production%22%2C%22TEST_METADATA%22%3A%22%7B%7D%22%7D%2C%22PUBLIC_SETTINGS%22%3A%7B%7D%2C%22ROOT_URL%22%3A%22https%3A%2F%2Fapi.secure.payco.co%22%2C%22ROOT_URL_PATH_PREFIX%22%3A%22%22%2C%22appId%22%3A%22idhby0lkxpf.ra9cfa4ifxk5%22%2C%22autoupdateVersion%22%3A%222c4941e45a15e565a3bccc39c3c620ac88857c3d%22%2C%22autoupdateVersionRefreshable%22%3A%225dc742118a3bd2c02f693f6ac9bb6204d4fe30a0%22%2C%22autoupdateVersionCordova%22%3A%22none%22%2C%22isModern%22%3Afalse%7D"))</script>

  <script type="text/javascript" src="/c43d60f16c362d8bc3541431ad727060d117db85.js?meteor_js_resource=true"></script>

</body>
</html>