Skip to content

nk-billing: the customer address carries line2 - #104

Merged
Jerome Leclanche (jleclanche) merged 1 commit into
mainfrom
nk-billing-address-line2
Nov 26, 2026
Merged

Jerome Leclanche (jleclanche) merged 1 commit into
mainfrom
nk-billing-address-line2

Conversation

@jleclanche

Copy link
Copy Markdown
Member

findOrCreateCustomer dropped details.address.line2, and updateCustomerBillingAddress had no line2 in its type, so financica calls stripe.customers.update directly to send a second address line.

  • CustomerDetails.address.line2, passed to customers.create.
  • updateCustomerBillingAddress takes an optional line2; an empty one is not sent.
  • Tests for both, which fail without the change.

Changeset: minor bump of @ingram-tech/nk-billing. No release needed right away.

🤖 Generated with Claude Code

findOrCreateCustomer dropped details.address.line2 and
updateCustomerBillingAddress had no line2 in its type, so a site had to
call Stripe directly for a second address line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 26, 2026 01:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@jleclanche
Jerome Leclanche (jleclanche) merged commit 007d578 into main Nov 26, 2026
1 check passed
@jleclanche
Jerome Leclanche (jleclanche) deleted the nk-billing-address-line2 branch November 26, 2026 01:40
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