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

Stripe PI: Add AFT fields #5418

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

yunnydang
Copy link
Contributor

@yunnydang yunnydang commented Feb 28, 2025

This change adds the optional AFT fields, specifically the sender and recipient fields.

Local:
6205 tests, 81261 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Unit:
70 tests, 388 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Remote:
102 tests, 453 assertions, 3 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
97.0588% passed

Note: I have this implemented to bail out of the helper method if none of the 4 conditions are met. Im thinking that this would make sense but can of course listen to others suggestions. Also im not entirely sure how much of a difference it makes for capture_method to be manual, but its only set that way on authorize calls but i tested a purchase call with this and it returns a successful transaction as well.

@yunnydang yunnydang requested a review from a team February 28, 2025 22:52
@yunnydang yunnydang self-assigned this Feb 28, 2025
@yunnydang yunnydang force-pushed the add_aft_fields_stripe_pi branch from 946d131 to 9a4141a Compare March 2, 2025 19:57
last4: '1234'
},
bank: {
account_number: '1234567890'
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey @yunnydang it occurs to me that if this is an option that customers might be sending to stripe, it's something we would need to scrub from the transcript (and also other places in the transaction 😓 ). I'm going to check with the AM about whether or not this is a need; if not, we may want to rethink leaving this wide open and instead be more prescriptive about how we map the fields 😞

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