aviabird / gringotts

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

[PinPayments] purchase and refund function with test cases #146

Open ravirocx opened 6 years ago

ravirocx commented 6 years ago

PinPayments

purchase/3

refund/2

Docs

Tests

function store/2 is also added, as the purchase was dependent on store

codecov-io commented 6 years ago

Codecov Report

Merging #146 into pinpay will increase coverage by 6.11%. The diff coverage is 80.43%.

Impacted file tree graph

@@            Coverage Diff             @@
##           pinpay     #146      +/-   ##
==========================================
+ Coverage   60.04%   66.15%   +6.11%     
==========================================
  Files          15       15              
  Lines         498      520      +22     
==========================================
+ Hits          299      344      +45     
+ Misses        199      176      -23
Impacted Files Coverage Δ
lib/gringotts/gateways/pin_payments.ex 80.43% <80.43%> (+80.43%) :arrow_up:
lib/gringotts/gateways/global_collect.ex 100% <0%> (ø) :arrow_up:

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 69f0aca...0d09a81. Read the comment docs.