PiDelport / django-payfast

Django integration for the PayFast payment gateway
MIT License
17 stars 22 forks source link

Update PayFast IP address whitelisting #4

Closed PiDelport closed 6 years ago

PiDelport commented 6 years ago

This enhances PAYFAST_IP_ADDRESSES to allow specifying networks, and updates the default values (PayFast docs) to reflect PayFast's current server addresses (which are given as network ranges, no longer individual hosts).

codecov[bot] commented 6 years ago

Codecov Report

Merging #4 into master will increase coverage by 1.27%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #4      +/-   ##
==========================================
+ Coverage      87%   88.27%   +1.27%     
==========================================
  Files          12       12              
  Lines         377      418      +41     
  Branches       28       34       +6     
==========================================
+ Hits          328      369      +41     
  Misses         38       38              
  Partials       11       11
Impacted Files Coverage Δ
payfast/conf.py 76.19% <100%> (ø) :arrow_up:
payfast/tests.py 100% <100%> (ø) :arrow_up:
payfast/forms.py 82.53% <100%> (+1.18%) :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 46479ee...01fff14. Read the comment docs.