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

Rapyd: Update handling of ewallet and billing address phone #4863

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

jcreiff
Copy link
Contributor

@jcreiff jcreiff commented Aug 18, 2023

Changes ewallet_id to ewallet to match Rapyd's specifications
Adds handling for alternate method of passing phone_number in the billing_address object

CER-843, CER-844

LOCAL
5581 tests, 77780 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

763 files inspected, no offenses detected

UNIT
25 tests, 124 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

REMOTE
31 tests, 89 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

@jcreiff jcreiff requested review from a team August 18, 2023 13:53
@@ -107,7 +107,7 @@ def test_successful_purchase_using_ach
end

def test_successful_purchase_with_options
options = @options.merge(metadata: @metadata, ewallet_id: 'ewallet_1a867a32b47158b30a8c17d42f12f3f1')
options = @options.merge(metadata: @metadata, ewallet_id: 'ewallet_897aca846f002686e14677541f78a0f4')
Copy link
Contributor Author

@jcreiff jcreiff Aug 18, 2023

Choose a reason for hiding this comment

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

After updating the field name to ewallet, this test failed because evidently the old ID doesn't exist on the test account, so I created a new one

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.

LGTM 🚀

Changes `ewallet_id` to `ewallet` to match Rapyd's specifications
Adds handling for alternate method of passing `phone_number` in the `billing_address` object

CER-843, CER-844
@jcreiff jcreiff merged commit b7e4193 into master Aug 21, 2023
5 checks passed
@jcreiff jcreiff deleted the rapyd_bug_fixes branch August 21, 2023 13:44
This pull request was closed.
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