Skip to content

Commit

Permalink
Authorize net integration (saleor#6465)
Browse files Browse the repository at this point in the history
* Rebasing auth.net with updated lock file

* Integrate example auth.net python example into saleor auth.net plugin

* Work check in

* Handle raw_response as string for auth.net

* Capture payment with auth.net now works

* Lint and add auth.net client key

* Add authorize.net process payment tests

* Add searchable_key

* Work check in

* Add authorize.net auth test unit tests

* Add refund function with tests

* Add authorize and capture for authorize.net

* Add void functionality and test to authorize.net

* Added partial support for stored cards

* Remove prints, slight refactors from review

* derp - clean up spacing for cleaner diff

* Make authorize.net plugin conform to saleor style requirements

* More lint, fix tests from breaking due to type change

* Update .isort.cfg for authorize_net package

* authnet list_payment_sources now works

* Test authnet list_client_sources

* Manually rebase requirements_dev again

* Add authnet gateway test

* Add many plugin unit tests

* authnet test reuse_source

* Fix authnet reuse_source test

* more authnet tests

* Auth.net tests

* Manually rebase requirements_dev.txt

* Run updated black version
Change gateway name in authnet payment fixture

* authnet transaction_id should be "" instead of None when not present

Co-authored-by: David Burke <david@burkesoftware.com>
  • Loading branch information
bufke and bufke authored Jan 19, 2021
1 parent e561139 commit d94c7f8
Show file tree
Hide file tree
Showing 28 changed files with 2,298 additions and 115 deletions.
2 changes: 1 addition & 1 deletion .isort.cfg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

252 changes: 138 additions & 114 deletions poetry.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Adyen = "^4.0.0"
google-cloud-pubsub = ">=1.7,<3.0"
uvicorn = {extras = ["standard"], version = ">=0.12.2,<0.14.0"}
gunicorn = "^20.0.4"
authorizenet = "^1.1.3"

[tool.poetry.dev-dependencies]
black = "20.8b1"
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ adyen==4.0.0
amqp==5.0.2; python_version >= "3.6"
aniso8601==7.0.0
asgiref==3.3.1; python_version >= "3.6"
authorizenet==1.1.3
babel==2.9.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
beautifulsoup4==4.7.1
billiard==3.6.3.0; python_version >= "3.6"
Expand Down
1 change: 1 addition & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ asgiref==3.3.1; python_version >= "3.6"
astroid==2.4.2; python_version >= "3.5"
atomicwrites==1.4.0; python_version >= "3.6" and python_full_version < "3.0.0" and sys_platform == "win32" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6") or sys_platform == "win32" and python_version >= "3.6" and python_full_version >= "3.4.0" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6")
attrs==20.3.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
authorizenet==1.1.3
babel==2.9.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
beautifulsoup4==4.7.1
beautifultable==0.7.0
Expand Down
Loading

0 comments on commit d94c7f8

Please sign in to comment.