#xarm-webhooks

1 messages · Page 1 of 1 (latest)

ionic moon
#

@small ginkgo we only really have the concept of a Stripe account having a test mode and a live mode, staging is not really something we model. I think what I see people do often is have a separate Stripe account for their staging environment and use its test mode for that purpose.

#

the other option would be just to combine your 'local' and 'staging' into one Stripe account and have them all use the same endpoint. Or use one account, but have two different endpoints (like local.testing.example.com and staging.testing.example.com) configured to receive the same types of webhook events, and maybe add metadata to your API objects so each endpoint can ignore objects with metadata indicating they belong to the other type. It's not really a great solution, as I said I don't think we really have a native solution/model here unfortunately.

small ginkgo
#

Hi @ionic moon thank you

#

I will try using metadata to segment the two