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

Worldpay: Update required_status_message and message_from methods #4530

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

rachelkirk
Copy link
Contributor

CER-18

Updating the required_status_message method to only generate the AM response if using one of the actions called out in the method. The transaction types are all multi-response and use a combination of actions.

Remote Tests:
100 tests, 392 assertions, 4 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications
95% passed
*4 failing tests are 3DS tests that hinge on that message being auto-generated. The message being auto-generated means that the transaction itself failed. When prying into the responses, for these tests @success = false. The 1 error is also happening on master, may be related to recent Worldpay updates.

Unit Tests:
104 tests, 613 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Local:
5274 tests, 76180 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

@rachelkirk rachelkirk requested review from a team August 9, 2022 19:48
@jcreiff
Copy link
Contributor

jcreiff commented Aug 10, 2022

I think I will probably defer to Marketplace Services team for final approval once this PR is not a draft anymore, but should the test expectations be changed for those 4 failing tests, since we've changed the logic of how the response message is created?

@rachelkirk rachelkirk force-pushed the CER-18_worldpay_status_message branch from d0d31c3 to f0ff3db Compare August 10, 2022 16:25
@rachelkirk rachelkirk marked this pull request as ready for review August 10, 2022 16:25
Copy link
Contributor

@therufs therufs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have one remote test failing, test_successful_purchase_with_level_two_and_three_fields, that is also failing on master.

lgtm!

CER-18

Updating the `required_status_message` method to only generate the AM response if using one of the actions called out in the method. The transaction types are all multi-response and use a combination of actions.

Remote Tests:
100 tests, 412 assertions, 0 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications
99% passed100 tests, 392 assertions, 4 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications
*The 1 error is also happening on master, may be related to recent Worldpay updates.

Unit Tests:
104 tests, 613 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Local:
5274 tests, 76180 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
@rachelkirk rachelkirk force-pushed the CER-18_worldpay_status_message branch from f0ff3db to ad8f634 Compare August 18, 2022 20:35
@rachelkirk rachelkirk merged commit ad8f634 into master Aug 18, 2022
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.

3 participants