active_merchant icon indicating copy to clipboard operation
active_merchant copied to clipboard

Adds new Punto Pagos gateway

Open ldlsegovia opened this issue 6 years ago • 0 comments

I made a gateway to integrate https://www.puntopagos.com (a Chilean service for payments) https://www.puntopagos.com/Home/Integracion https://github.com/PuntoPagos/documentacion

Form the contributing section:

Include test/fixtures.yml if the gateway’s test credentials are shareable (recommended)

the key and secret are not shareable. You need to contact with puntopagos to get sandbox access.

Must have unit tests and functional remote tests

  • Unit
unit
  • Remote
remote

Remote tests for a gateway should cover all supported transaction methods (auth, purchase, capture, refund, void, verify, store and scrub) and validate critical response formats such as charge amounts

Punto Pagos works like PaypalExpressGateway. Because of this, the generated template did not fit. So, I improvised a bit and copied from that gateway.

Your code should support all the Ruby versions and ActiveSupport versions we have enabled on Travis CI

Done.

No new gem dependencies will be accepted

No new dependencies added.


Finally, a working example:

punto-pagosexample-success

ldlsegovia avatar Mar 09 '18 22:03 ldlsegovia