Comments (4)
El error es obtenido porque el método json espera contenido que pueda ser transformado a JSON, pero recibe es un HTML, ya que la url de la petición esta errada
En la linea 74, del archivo resources.py cambiar:
"payment/v1/customer/" + uid + "/",
por:
"payment/v1/customer/"+ self.epayco.api_key +"/" + uid + "/",
y listo, el metodo funciona.
from epayco-python.
Hola, @sairth19 este Issue ya fue resuelto. Por favor descargar la librería nuevamente. Le agradecemos amablemente por su reporte.
from epayco-python.
Installed using pip and also upgraded using
pip install --upgrade pyepayco
. But still have the issue.What i found is that the fix in line 74 of
resources.py
is not reflected in my package ?
from epayco-python.
Good Afternoon @Akhilvis
Install from Packages (Linux), Pyhton = 3.7
$ pip install epaycosdk
Install from Packages (Windows) Pyhton = 3.7
$ pip install epaycosdk-win
from epayco-python.
Related Issues (13)
- create a pending charge HOT 1
- Integración con Django (Django integration) HOT 2
- Error 100, desconocido HOT 1
- Carpeta Utils no es instalada junto con los demas archivos [No such file or directory -> key_lang.json] HOT 3
- Soporte para Reversiones
- Banka: Ocurrió uno error: undefined
- No such file or directory: 'pyepayco/utils/key_lang.json' HOT 9
- pip install epayco-python no funciona HOT 4
- epayco python necesita pagos divididos HOT 1
- El SDK de Python no permite cancelar suscripciones HOT 2
- https://api.secure.payco.co/ STATUS 502 HOT 2
- Error en Retrieve customer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epayco-python.