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

Airwallex: change timestamps to uuids and remove _setup suffix from merchant_order_id #4480

Merged
merged 1 commit into from
Jun 30, 2022

Conversation

dsmcclain
Copy link
Contributor

Airwallex has requested that we default to a uuid instead of a timestamp for these fields.

They have also requested that we remove the _setup suffix from the merchant_order_id field, as that field does not need to be unique per transaction and will be used by customers during reconciliation.

The _setup suffix remains for the request_id field, because that field must be unique for every request, so the suffix is useful for differentiating two separate but associated requests (e.g. a create_payment_intent followed by a subsequent sale).

SER-65

Unit:
5243 tests, 76069 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Rubocop:
746 files inspected, no offenses detected

Remote:
Loaded suite test/remote/gateways/remote_airwallex_test
26 tests, 61 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

merchant_order_id

SER-65

Unit:
5243 tests, 76069 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Rubocop:
746 files inspected, no offenses detected

Remote:
Loaded suite test/remote/gateways/remote_airwallex_test
26 tests, 61 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
Copy link
Contributor

@naashton naashton left a comment

Choose a reason for hiding this comment

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

Looks good! 🚢

@dsmcclain dsmcclain merged commit e1c3f02 into master Jun 30, 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.

2 participants