-
Notifications
You must be signed in to change notification settings - Fork 48
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
Remove obsolete data from interface interactions #84
Conversation
…ceIntegration.fields.notification
@@ -52,7 +52,7 @@ describe('Cancel or refund', () => { | |||
|
|||
const interfaceInteractionFields = updatedPayment.interfaceInteractions[1].fields | |||
const adyenRequest = JSON.parse(interfaceInteractionFields.request) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const adyenRequest = JSON.parse(interfaceInteractionFields.request) | |
const adyenRequestBody = JSON.parse(interfaceInteractionFields.request) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extension/test/integration/fetch-payment-method.handler.spec.js
Outdated
Show resolved
Hide resolved
extension/test/integration/credit-card-make-payment.handler.spec.js
Outdated
Show resolved
Hide resolved
extension/test/integration/credit-card-make-payment.handler.spec.js
Outdated
Show resolved
Hide resolved
@@ -97,6 +97,9 @@ function calculateUpdateActionsForPayment (payment, notification) { | |||
} | |||
|
|||
function getAddInterfaceInteractionUpdateAction (notification) { | |||
delete notification.additionalData |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// strip away sensitive data
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related Issue: #63
Extensions:
Notification:
additionalData
andreason
from notification requests/responses: 0dff86bNote: cypress was not working in Travis for this I needed to update travis.yml: 95cd24c
Details: cypress-io/cypress#4069