aviabird / gringotts

A complete payment library for Elixir and Phoenix Framework
https://hexdocs.pm/gringotts/Gringotts.html
MIT License
481 stars 53 forks source link

[SecurionPay] Implemented `authorise/3` #132

Closed xC-Stony closed 6 years ago

xC-Stony commented 6 years ago

Added docs for the gateway and implemented authorise function. Authorise function can be called with either cardID and customerId or with card details. In latter case we have to create a token and then use the token id for authorizing the payment.

codecov-io commented 6 years ago

Codecov Report

Merging #132 into dev will increase coverage by 1.22%. The diff coverage is 95%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #132      +/-   ##
==========================================
+ Coverage   64.76%   65.99%   +1.22%     
==========================================
  Files          14       15       +1     
  Lines         474      494      +20     
==========================================
+ Hits          307      326      +19     
- Misses        167      168       +1
Impacted Files Coverage Δ
lib/gringotts/gateways/securion_pay.ex 95% <95%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7bf1857...4d340b9. Read the comment docs.