Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CyberSourceRest: support TMS store/unstore, and void of captures/refunds #5369

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

egliang
Copy link

@egliang egliang commented Dec 13, 2024

Description

This pull request enhances the CyberSourceRest gateway to support Token Management Service (TMS) token creation and unstoring, providing closer parity with the CyberSource gateway SOAP API implementation. This requires expanding the API url path to support not only the pts/ (payments) API, but also the tms/ (token) API as well. This also requires extending the commit method to support not only HTTP POST but also other HTTP verbs, like DELETE, which is the verb used for unstoring.

The void method is also extended to support voiding of not just authorizations, but also captures, payments, and refunds.

Unit Tests

6149 tests, 80957 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Remote Tests

61 tests, 210 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Rubocop

806 files inspected, no offenses detected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant