felicesyforrados / django-webpay-soap Goto Github PK
View Code? Open in Web Editor NEWWebpay Soap plugeable para Django
Webpay Soap plugeable para Django
Sentry Issue: FYF-BACKEND-4H
Webpay OneClick. Ocurrion un error al consultar Token enviado por Transbank ea62272e73e450889bad013cdef7fa06ee8f4d1f83143e4a96deaad47bee0d4e. Error WebpayOneClickInscription matching query does not exist. Traza Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/webpay/oneclick/views.py", line 46, in webpay_oneclick_finish
webpay_oneclick_model(token, get_finish_inscription)
File "/usr/lib/python2.7/site-packages/webpay/oneclick/views.py", line 19, in webpay_oneclick_model
...
Hay que implementar la anulacion en el modulo de webpaynormal para poder crear anulaciones de ventas. https://www.transbankdevelopers.cl/referencia/webpay#anulacion-webpay-plus
Es necesario poder aceptar multiples tarjetas inscritas para WebpayOneclick.
Hay que poder registrar los errores que existen aca https://github.com/felicesyforrados/django-webpay-soap/blob/master/webpay/normal/views.py#L60
Sentry Issue: FYF-BACKEND-8
Hay que retornar un Objeto vacio y controlar el error en donde corresponda.
WebpayOneClick Error al extraer custom . Error Usuario no encontrado inscrito 30gf. Traza Traceback (most recent call last):
File "/code/pagos/views.py", line 484, in webpay_oneclick_final_inscripcion
json.dumps(custom))
File "/usr/lib/python2.7/site-packages/webpay/oneclick/api.py", line 71, in authorizePayment
raise Exception('Usuario no encontrado inscrito {}.'.format(username))
Exception: Usuario no encontrado inscrito 30gf.
. No se pudo
cobrar al usuario ...
Transbank envia un transactionid de 9 characteres
211498891
Y se tiene actualmente de 4 caracteres. https://github.com/felicesyforrados/django-webpay-soap/blob/master/webpay/oneclick/models.py#L69 esta siendo truncado actualmente.
Sentry Issue: FYF-BACKEND-4Y
Ocurrio un error al consultar Token enviado por Transbank ef1b5fba708c1b1223e6157554ff45a337b1b2fc253fb2ce89dac18d10521d73. Error string indices must be integers Traza Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/webpay/normal/views.py", line 54, in webpay_normal_verificacion
webpaymodel = webpay_normal_model(get_normal_transaction)
File "/usr/lib/python2.7/site-packages/webpay/normal/views.py", line 25, in webpay_normal_model
webpaymodel.cardNumber = get_normal_t...
"log": "Rlh26eyKLxKBGpQcI6GbuybkZVSnqsv3RvTTUA==</ds:SignatureValue><ds:KeyInfo Id=\"KI-6ED1723BD2787A33AB15864382821305921672\"><wsse:SecurityTokenReference wsu:Id=\"STR-6ED1723BD2787A33AB15864382821305921673\"><ds:X509Data><ds:X509IssuerSerial><ds:X509IssuerName>CN=10,OU=PRD,O=transbank,L=Santiago,ST=RM,C=CL</ds:X509IssuerName><ds:X509SerialNumber>9652081776504283236</ds:X509SerialNumber></ds:X509IssuerSerial></ds:X509Data></wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature></wsse:Security></soap:Header><soap:Body xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\" wsu:Id=\"id-3947778\"><ns2:getTransactionResultResponse xmlns:ns2=\"http://service.wswebpay.webpay.transbank.com/\"><return><accountingDate>0409</accountingDate><buyOrder>fyf_1586437958_avy1</buyOrder><cardDetail/><detailOutput><sharesNumber>0</sharesNumber><amount>24000</amount><commerceCode>597032701973</commerceCode><buyOrder>fyf_1586437958_avy1</buyOrder><authorizationCode>000000</authorizationCode><paymentTypeCode>VD</paymentTypeCode><responseCode>-2</responseCode></detailOutput><sessionId>fyf_avy1</sessionId><transactionDate>2020-04-09T09:12:40.248-04:00</transactionDate><urlRedirection>https://www.felicesyforrados.cl/core/pagos/webpay/final/</urlRedirection><VCI>TO</VCI></return></ns2:getTransactionResultResponse></soap:Body></soap:Envelope>\n",
"log": "ERROR:webpay.normal.views:Ocurrio un error al consultar Token enviado por Transbank
ed30a8154123b6db6f53c572b0602a8bde573d68ecbfbeb85dc82a5b2cc9db89. Error string indices
must be integers Traza Traceback (most recent call last):\n File \"/usr/lib/python2.7/site-
packages/webpay/normal/views.py\", line 54, in webpay_normal_verificacion\n
webpaymodel = webpay_normal_model(get_normal_transaction)\n File \"/usr/lib/python2.7/site-packages/webpay/normal/views.py\", line 25, in webpay_normal_model\n
webpaymodel.cardNumber = get_normal_transaction.cardDetail['cardNumber']\n",
Es necesario soportar OneClick en la libreria.
Se esta truncando el valor reverse_code cuando lo esta grabando en DB. Hay que ponerlo de unos 30 length https://github.com/felicesyforrados/django-webpay-soap/blob/master/webpay/oneclick/models.py#L72
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.