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

Fix: return donation billing address in Stripe Payment Element Gateway #7395

Merged
merged 4 commits into from
Jun 3, 2024

Conversation

jonwaldstein
Copy link
Contributor

@jonwaldstein jonwaldstein commented May 24, 2024

Resolves: GIVE-831
Related (Recurring): https://github.com/impress-org/give-recurring/pull/1205

Description

This updates the Stripe Payment Element gateway to send the billing address details (supplied by the billing address block) to Stripe.

Also note that Stripe recommends using their address element that we can also explore

Affects

Stripe payment element gateways

Visuals

Screenshot 2024-05-24 at 10 53 05 AM

Testing Instructions

  • Setup and enable Stripe Payment Element for v3 forms
  • Create a v3 form with a billing address block
  • Submit donation with Stripe and make sure billing address is supplied to Stripe.

Pre-review Checklist

  • Acceptance criteria satisfied and marked in related issue
  • Relevant @unreleased tags included in DocBlocks
  • Includes unit tests
  • Reviewed by the designer (if follows a design)
  • Self Review of code and UX completed

@jonwaldstein jonwaldstein changed the title Feature: add donation address to Stripe billingDetails Feature: add donation billing address to Stripe Payment Element Gateway May 24, 2024
@jonwaldstein jonwaldstein marked this pull request as ready for review May 30, 2024 12:52
Copy link
Contributor

@glaubersilva glaubersilva left a comment

Choose a reason for hiding this comment

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

@jonwaldstein I just left a comment related to a missing unreleased tag. After adding that, it's ready for QA. Nice work!

@@ -89,6 +89,9 @@ interface StripeGateway extends Gateway {
settings?: StripeSettings;
}

/**
* @since 3.0.0
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need an unreleased tag here as well to document the changes related to the address fields.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

resolved d6a35b0

Copy link
Member

@rickalday rickalday left a comment

Choose a reason for hiding this comment

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

Passed manual QA tests

@jonwaldstein jonwaldstein changed the title Feature: add donation billing address to Stripe Payment Element Gateway Fix: return donation billing address in Stripe Payment Element Gateway Jun 3, 2024
@jonwaldstein jonwaldstein merged commit 7a2a8a5 into develop Jun 3, 2024
20 checks passed
@jonwaldstein jonwaldstein deleted the fix/stripe-billing-address-GIVE-831 branch June 3, 2024 20:24
kjohnson pushed a commit that referenced this pull request Aug 21, 2024
#7395)

Co-authored-by: Jon Waldstein <jonwaldstein@jwaldstein-mbp.mynetworksettings.com>
Co-authored-by: Jon Waldstein <jonwaldstein@Jons-Air.EAP1200H>
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.

3 participants