- handle 201 reason code as a REJECT (#27811)
- deps: update dependency phonenumbers to ^8.13.47
- deps: update dependency django-oscar-api-checkout to ^3.5.0
- deps: update dependency phonenumbers to ^8.13.46
- deps: update dependency django-oscar to v3.2.5
- deps: update dependency django-oscar-api to v3.3.0
- deps: update dependency django-oscar to v3.2.5
- pin django-oscar version due to breaking changes in patch versions
- deps: update dependency phonenumbers to ^8.13.45
- deps: update dependency django to ^4.2.16
- deps: update dependency thelabdb to ^0.1.2
- deps: update dependency django-oscar-api-checkout to ^3.4.1
- deps: update dependency phonenumbers to ^8.13.44
- deps: update dependency lxml to ^5.3.0
- deps: update dependency phonenumbers to ^8.13.43
- deps: update dependency django to ^4.2.15
- deps: update dependency phonenumbers to ^8.13.42
- deps: update dependency django to ^4.2.14
- deps: update dependency phonenumbers to ^8.13.40
- deps: update dependency django to ^4.2.13
- deps: update dependency phonenumbers to v8.13.39
- deps: update dependency phonenumbers to v8.13.38
- deps: update dependency django-oscar-api-checkout to v3.4.0
- deps: update dependency python-dateutil to v2.9.0.post0
- deps: update dependency thelabdb to v0.1.1
- deps: update dependency phonenumbers to v8.13.37
- deps: update dependency lxml to v4.9.4
- deps: update dependency django-oscar to v3.2.4
- deps: update dependency django to v4.2.13
- Add support for capturing funds from authorization transactions.
- General refactoring and code cleanup.
- Add support for django-oscar 3.2.2
- Add support for django 4.2
- Fix Django deprecation warnings
- Fix bug in handling of Cybersource SOAP API downtime.
- Oscar 3.1 Compatibility
- Oscar 3.0 Compatibility
- Fix bug causing Bluefin to trigger payment declined signal twice per declined order.
- Support django-oscar 2.1
- Fix test suite issues by mocking Cybersource SA requests
- Remove StatsD metrics
- Add support for django-oscar 2.x.
- Drop support for django-oscar 1.x.
- Fix bug causing Transaction.reference to refer to the payment-token transaction instead of the authorization transaction.
- Fix checkout issue when using SameSite=Lax for session cookies.
- Replace a few instances of
datetime.now
withtimezone.now
to fix naive datetime warnings.
- Fix bug in Internationalization string interpolation
- Use Cybersource SOAP API for performing card authorizations
- Support Bluefin encrypted card entry / swipe devices.
- Improve Internationalization
- Make payment methods create separate
payment.Source
objects per Reference number (!7 <https://gitlab.com/thelabnyc/django-oscar/django-oscar-cybersource/merge_requests/7>
_). - Fix pate parsing bug which occurs during a spring-time daylight savings time transition.
- Fix bug with missing payment token fields on REVIEW replies.
- Adds support for
django-oscar-api-checkout>=0.4.0
- Fix error handling behavior in CyberSourceReplyView which often times lead to infinite loops.
- Add management command for unreadable Secure Acceptance Profiles from the database:
python manage.py remove_unreadable_cybersource_profiles
- Add exception try/catch into
SecureAcceptanceProfile.get_profile
method to more gracefully handle Fernet decryption errors thrown when fetching a profile from the database. - Makes
SecureAcceptanceProfile.get_profile
method fall-back to Django settings when no readable profiles exist in the database. - Fix unit tests broken by an expired development key
- Add
order
as a value for theCARD_REJECT_ERROR
string template literal.
- Use Cybersource's
reason_code
field in addition to thedecision
field when deciding how to handle a response. - Move secure acceptance profile data into the database.
- Profiles can be configured in the Django Admin interface. A default profile is created when running migrations based on the old environment variable settings.
- Stores the profile secret key in the using Fernet encryption via
django-fernet-fields <https://django-fernet-fields.readthedocs.io/en/latest/>
_. Therefore, you should declare aFERNET_KEYS
setting in your project. - Since secure acceptable profiles are limited to a single domains for customer redirect pages, this change allows a single Django instance to serve multiple domains (by using multiple profiles).
- Fix Django 2.0 Deprecation warnings.
- Make it possible to use a placeholder (
{order_number}
) insettings.CARD_REJECT_ERROR
.
- Add better error handling to the Cybersource response view. Prevents exceptions when a customer refreshes and resends one of the payment POST requests.
- Adds an order's shipping method into calls to Cybersource. This field can then be used by decision manager to help make decision regarding order fraud.
- Cybersource expects to receive one of the following values:
sameday
: courier or same-day serviceoneday
: next day or overnight servicetwoday
: two-day servicethreeday
: three-day servicelowcost
: lowest-cost servicepickup
: store pick-upother
: other shipping methodnone
: no shipping method
- You can configure the mapping of Oscar shipping method code to Cybersource shipping method codes using the
CYBERSOURCE_SHIPPING_METHOD_DEFAULT
andCYBERSOURCE_SHIPPING_METHOD_MAPPING
Django settings.
- Cybersource expects to receive one of the following values:
- Added exception handling and logging for bug sometimes occurring in the Cybersource reply handler.
- Add support for Django 1.11 and Oscar 1.5
- Improve testing with tox.
- Upgrade dependencies.
- Make
DecisionManagerNotificationView
directly set order status instead of relying on theset_status
method. This avoids issues with order status pipelines. - Add optional
CYBERSOURCE_DECISION_MANAGER_KEYS
keys setting to allow token-based authentication on the decision manager web hook endpoint.- Default is disabled, which equates to disabled authentication.
- To enable authentication, set it to a list of valid authentication keys/tokens.
- When enabled, the
DecisionManagerNotificationView
view will inspect thekey
query parameter on incoming requests and compare it to the predefined keys in the setting. If it doesn't match one of the keys, the request is aborted.
- Make sure amounts sent to Cybersource are always properly quantized
- Support flagging authorizations for review with Decision Manager
- Transactions under review are marked with status
REVIEW
. - Adds new boolean property to payment.Transaction model:
transaction.is_pending_review
. - When handling an authorization that is pending review in Decision Manager, a note is added to the order.
- Transactions under review are marked with status
- Fix IntegrityError sometimes thrown when processing a declined payment.
- Fix exception from typo in record_declined_authorization.
- Fix case-mismatch of payment source types.
- Add data migration to populate
CyberSourceReply.order
on rows from before 3.0.1.
- Added foreign key from
cybersource.CyberSourceReply
fromorder.Order
.
- Change to two step SOP method with discrete get_token and authorization steps. This works around a bug in Cybersource's code which will leave a pending authorization on a user's card, even if the address verification or decision manager rejects the transaction. By doing the transaction in two phases, we can catch most AVN / DM rejections before the authorization is placed on the credit card. The downside is that the client must now perform 2 separate form posts to Cybersource.
- Refactor as a plugin to django-oscar-api-checkout to eliminate code not related to Cybersource.
- Make profile, access, and secret mandatory
- Upgrade to
django-oscar-api>=1.0.4
to get rid of the need for our custom empty basket check - Make test coverage much more expansive
- README Updates
- Added tests for FingerprintRedirectView
- Fixed a bug in the img-2 redirect url
- README Updates
- Initial release.