Giter Site home page Giter Site logo

picazoh / spree_sermepa Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 7.0 456 KB

Basic support for the Spanish SERMEPA “TPV Virtual” and the spree e-commerce solution

License: BSD 3-Clause "New" or "Revised" License

Ruby 87.75% JavaScript 0.08% CSS 0.10% HTML 12.07%

spree_sermepa's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

spree_sermepa's Issues

Suggestion: change extension name

I would suggest a renaming of the extension in order to include redsys term, which is the actual name of this payment service.
This gem works like a charm, but it has been very difficult to me to find it. I think that if it is name (or at least documentation) includes some references to Redsys (as sermepa does not exist any longer), many more Spanish developers (yes, we are the only ones who will look for redsys integration) will be able to find and use it.

Migración a SHA256

¡Hola!, habría que actualizar la gema para cifrar la firma con SHA256 en vez de SHA1. Si no, a partir del día 23 de Noviembre, quedará deprecada :(

A parte del tipo de cifrado, se han realizado cambios también en la forma de enviar los parámetros a Sermepa. Ahora sólo hacen falta 3:

  • Ds_SignatureVersion:
    • Versión de la firma: HMAC_SHA256_V1
  • Ds_MerchantParameters:
    • JSON codificado en base64 de los parámetros que antes se enviaban en el formulario.
  • Ds_Signature
    • Codificación de la clave del banco, junto con los demás parámetros (viene explicado en la documentación)

También cambiaría la forma de comprobar los datos que se reciben.

Se puede acceder a documentación, etc. aquí: https://canales.sermepa.es/canales/ayuda/migracionSHA256.html

Y el PDF en concreto: https://canales.sermepa.es/canales/ayuda/documentacion/Guia%20migracion%20a%20HMAC%20SHA256%20-%20conexion%20por%20redireccion.pdf

¡Un saludo!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.