Search code examples
servicestackstripe-paymentsservicestack-text

ServiceStack and Stripe


I'm using the ServiceStack Stripe package, but it seems the serializer for the GetStripeCustomer method doesn't parse the Subscription Status correctly.

In the JSON I can see that the Status is "past_due", but when ServiceStack converts it to StripeCollection the Status value is "Unknown".

I'm using ServiceStack.Stripe v4.0.24

Has anyone encountered this?


Solution

  • There was an issue automatically converting Stripe's Lower_Case_Enums into ServiceStack's .NET enums PascalCase naming convention which should be resolved with this commit.

    This change is available from v4.0.37+ that's now available on MyGet.