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

DLocal: update the phone and ip fields #5143

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

yunnydang
Copy link
Contributor

@yunnydang yunnydang commented Jun 6, 2024

Updates the top level ip and phone fields to correctly be mapped.
Note: the onboarding_ip_address is actually supposed to be within the addtional_risk_data object according to DLocals documention. Unsure why we were trying to set it as the ip field prior, but it wasn't being used correctly.

Local:
5932 tests, 79858 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

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

Remote:
40 tests, 110 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

@yunnydang yunnydang requested a review from a team June 6, 2024 22:19
@yunnydang yunnydang self-assigned this Jun 6, 2024
Copy link
Contributor

@jcreiff jcreiff left a comment

Choose a reason for hiding this comment

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

I'm not sure it will make any difference in the outcome of the tests, but just in case, can we send something that looks like an actual ip address as the ip? We could just use the default 127.0.0.1, for example

@yunnydang yunnydang force-pushed the d_local_update_ip_and_phone_fields branch from 1fd4cea to 71c953a Compare June 7, 2024 18:54
@yunnydang yunnydang requested a review from jcreiff June 7, 2024 18:54
Copy link
Contributor

@jcreiff jcreiff 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!

@yunnydang yunnydang changed the title DLocal: update the zip and ip fields DLocal: update the phone and ip fields Jun 10, 2024
@yunnydang yunnydang force-pushed the d_local_update_ip_and_phone_fields branch from 71c953a to 23169a5 Compare June 12, 2024 19:19
@yunnydang yunnydang merged commit 23169a5 into master Jun 12, 2024
5 checks passed
@yunnydang yunnydang deleted the d_local_update_ip_and_phone_fields branch June 12, 2024 19:24
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.

None yet

2 participants