Skip to content

Releases: stripe/stripe-dotnet

Orders and Sources

05 May 23:34
Compare
Choose a tag to compare
  • Create, get, update, pay, and list StripeOrder's with the newStripeOrderService.
  • StripeSourceCard is now returned as the Card property on StripeSource when creating a source with a card token.
  • Added a Token option to BankAccountOptions
  • The Bancontact source is now supported.
  • Webhook processing was modified to protect against timing attacks

Transfer Reversals, Secure Events

02 May 02:26
Compare
Choose a tag to compare
  • Added the Transfer Reversals service
  • Added secure events - see the readme
  • Added the transfer group to StripeTransferCreateOptions
  • Added ExpandSource to the StripeBalanceService

SMALL BREAKING CHANGE

  • StripeBalanceTransaction Source was previously a string with the source id. It is now a StripeSource (expandable type). To upgrade your existing code, just change Source to SourceId.

TotalCounts, ThreeDSecure

27 Apr 00:37
Compare
Choose a tag to compare
  • Listing balance transactions now supports including the total count.
  • Added the ThreeDSecure Source.
  • Fixed StripeError so the StripeResponse property is populated.

SMALL BREAKING CHANGES
The List() method on the StripeBalanceService now returns a StripeList. To refactor your existing code, just add .Data to the result of the call. This will give you the list you had before.

The total count when listing charges was previously defaulted to true. It now must be explicitly set in the options. e.g. options.IncludeTotalCount = true.

StripeAccount Property Renames

19 Apr 23:22
Compare
Choose a tag to compare
  • The StripeAccount transfer_* properties were renamed payout_*

Product Support

19 Apr 22:52
Compare
Choose a tag to compare
  • Support for Stripe Products - Create/Get/Update/Delete
  • Added the sofort and sepa_debit resources
  • Added a few properties missing from the shipping entity
  • Added the other entities for all of Relay (Order, OrderItem, Sku, etc)

Payouts/Transfers Split

12 Apr 23:58
Compare
Choose a tag to compare

I would recommend reading the Transfer Payout Split release from Stripe, as that describes the majority of the changes in 8.0.

  • The Transfer service has been refactored to match the 2017-04-06 api release, and the new Payouts service was added.
  • The new Payout events were added to StripeEvents, and the transfer events no longer relevant have been removed.
  • Added the business tax/vat provided bool's to StripeAccount.LegalEntity.
  • Documentation added/updated for both Transfers and Payouts. The Payouts example code is an elegant way to write your Stripe.net code, imo 👍

StripeList returned when listing charges, Ideal

06 Apr 18:06
Compare
Choose a tag to compare

BREAKING CHANGES

The List() method on StripeChargeService now returns a StripeList. To refactor your existing code, just add .Data to the result of the call. This will give you the list you had before.

  • Added the Ideal source

Infrastructure note: Renamed stripe_net_test_key to STRIPE_TEST_KEY as the environment variable to execute the tests.

Bug Fixes and Tools Updates

01 Apr 00:50
Compare
Choose a tag to compare
  • The parameter writer was fixed to correctly convert periods into commas for decimals (FR culture)
  • Removed a trailing space from the boundary on a multipart file post causing Xamarin Forms to fail for Android #802
  • Converted the Stripe.net source and test projects to VS2017 (csproj format)

Subscription Source

28 Mar 16:43
Compare
Choose a tag to compare
  • Delete is now supported for the new StripeExternalAccountService
  • AvailablePayoutMethods was added as an array on StripeCard
  • When creating a subscription source, card is now obsolete. Use Source for a token, or SourceCard

Recipients was removed from the readme, and will start being removed entirely from Stripe.net.

Multiple Item Subscriptions, maintenance

17 Mar 21:55
Compare
Choose a tag to compare

This release has a couple of small breaking changes:

  • SubscriptionItems was renamed to Items on StripeSubscription

  • Quantity on StripeSubscription was changed from an int to an int? (this can be null now if you are using Subscription Items instead of directly on the Subscription)

  • Subscriptions create/update now supports multiple plans. There is a new SubscriptionService method for Create, that does not accept a plan id. This test is an example of how to create and update multiple items on a subscription

  • Internal dependencies updated

  • RedirectReturlUrl fixed in StripeSourceCreateOptions