Skip to content

Commit

Permalink
Merge branch 'tpa-1461' into 'master'
Browse files Browse the repository at this point in the history
Add two shipping types -- Delivery (DE) and Pick-up (PU)

See merge request kount/third_party/kount-ris-python-sdk!17
  • Loading branch information
Brett Donahue committed Mar 13, 2023
2 parents f623adb + 6ccb581 commit 64481f6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
The Kount RIS Python SDK is released under the following license:

Copyright (c) 2017-2022 KOUNT, INC.
Copyright (c) 2017-2023 KOUNT, INC.

SDK LICENSE

Expand Down
6 changes: 5 additions & 1 deletion src/kount/request.py
Expand Up @@ -72,11 +72,15 @@ class ShippingType(_RisType):
"ND". Next day shipping type.
"2D". Second day shipping type.
"ST". Standard shipping type.
"DE". Delivery shipping type.
"PU". Pick-up shipping type
"""
SAME_DAY = 'SD'
NEXT_DAY = 'ND'
SECOND_DAY = '2D'
STANDARD = "ST"
STANDARD = 'ST'
DELIVERY = 'DE'
PICK_UP = 'PU'


class RefundChargebackStatus(_RisType):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_api_kount.py
Expand Up @@ -75,7 +75,7 @@
'RULES_TRIGGERED': 1,
'RULE_DESCRIPTION_0': 'Review if order total > $1000 USD',
'SCOR': '34',
'OMNISCORE':29.9,
'OMNISCORE':60.8,
'SESS': 'F8E874A38B7B4B6DBB71492A584A969D',
'SITE': 'DEFAULT',
'THREE_DS_MERCHANT_RESPONSE': None,
Expand Down

0 comments on commit 64481f6

Please sign in to comment.