Skip to content

Node.js SDK 0.12.0

Choose a tag to compare

@devwatts devwatts released this 14 Oct 09:30
· 93 commits to main since this release
0cddf41

Added

  • customers.upsert() accepts billingConfiguration (paymentProvider, paymentProviderCode, providerCustomerId, syncWithProvider, providerPaymentMethods) and sends it as Core's billing_configuration, so a customer can be linked to an existing Stripe customer in the same call. Upserts without it send the same body as before. (#39)

Verification

  • Published to npm from the tagged merge commit by the Publish node SDK workflow.
  • Fresh consumer install of @nozle-js/node@0.12.0 sends billing_configuration on customers.upsert().
  • Before release: tested live against production Core with a test-mode Stripe connection (link, repeat upsert, plain upsert); one link per Stripe customer, no Stripe customers created.

Install: npm install @nozle-js/node@0.12.0