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

GlobalCollect: Add support for 3DS exemptions #4917

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

almalee24
Copy link
Contributor

Remote
53 tests, 121 assertions, 10 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications 79.2453% passed

Unit
46 tests, 234 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed

@almalee24 almalee24 requested a review from a team October 16, 2023 16:40
@almalee24 almalee24 force-pushed the global_collect_3ds_exemptions branch from 0ec47bd to 2bf77e1 Compare October 16, 2023 16:50
Comment on lines 23 to 26
moto: 'MOTO',
mail: 'MAIL',
telephone: 'TELEPHONE',
ecommerce: 'ECOMMERCE'
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm surprised there's moto, telephone, and mail since MOTO stands for mail order telephone order. Does the gateway specify when to use moto vs the other two?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I know but it doesn't specify when to use which. Now I'm actually thinking about removing ecommerce since it says that's the default value.

Copy link
Contributor

Choose a reason for hiding this comment

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

MAIL - The transaction is a Mail Order.
MOTO - The transaction is a Mail Order/Telephone Order.
TELEPHONE - The transaction is a Telephone Order.

Did the merchant specifically reqest to add MAIL and TELEPHONE? If not then I'd suggest we just add MOTO

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We want to support all available exemption types which is why I added mail and telephone but it does seem redundant with them also supporting MOTO

Copy link
Contributor

@aenand aenand left a comment

Choose a reason for hiding this comment

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

Code looks good to me :shipit: nice work! I'm wary about adding mail and telephone as exemption types when moto is supported but I'll defer to you 🚀

@almalee24
Copy link
Contributor Author

Code looks good to me :shipit: nice work! I'm wary about adding mail and telephone as exemption types when moto is supported but I'll defer to you 🚀

I think you are right so I will remove mail and telephone

@almalee24 almalee24 force-pushed the global_collect_3ds_exemptions branch 2 times, most recently from 4e5daef to 8265e67 Compare October 23, 2023 16:18
Remote
53 tests, 121 assertions, 10 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications
79.2453% passed

Unit
46 tests, 234 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
@almalee24 almalee24 force-pushed the global_collect_3ds_exemptions branch from 8265e67 to ba4a1e3 Compare October 24, 2023 20:14
@almalee24 almalee24 merged commit ba4a1e3 into master Oct 24, 2023
5 checks passed
@almalee24 almalee24 deleted the global_collect_3ds_exemptions branch October 24, 2023 20:25
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