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

feat(customer_type): Gocardless add firstname and lastname #2557

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

brunomiguelpinto
Copy link
Contributor

@brunomiguelpinto brunomiguelpinto commented Sep 10, 2024

Context

We currently only create Lago customers as companies, but there is a need to support both companies and individuals. This change is motivated by scenarios where customers may be a mix of B2B and B2C, and where external integrations require handling both Contacts and Companies.

Description

We currently only create GoCardless customers with a limited set of details. However, there is a need to ensure that company name, first name, and last name are included when available.

the additional customer attributes to GoCardless, specifically:

  • given_name: If the customer's firstname is present, it will be sent.
  • family_name: If the customer's lastname is present, it will be sent.

@brunomiguelpinto brunomiguelpinto self-assigned this Sep 10, 2024
@brunomiguelpinto brunomiguelpinto added the Customer Customer management label Sep 10, 2024
@brunomiguelpinto brunomiguelpinto marked this pull request as ready for review September 10, 2024 09:31
@brunomiguelpinto brunomiguelpinto changed the title feat: add firstname and lastname feat(Gocardless): Add firstname and lastname Sep 10, 2024
@brunomiguelpinto brunomiguelpinto changed the title feat(Gocardless): Add firstname and lastname feat(customer_type): Gocardless add firstname and lastname Sep 10, 2024
@brunomiguelpinto brunomiguelpinto merged commit 3d638b7 into main Sep 10, 2024
6 checks passed
@brunomiguelpinto brunomiguelpinto deleted the feat-gocardless-add-customer-details branch September 10, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Customer management
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants