Thanks for the idea - I might give it a try, I’ll start with a bunch of if statements and see how maintainable it will be!
@George for your consideration, let me explain my use case:
It’s a SaaS application. We’re using Stripe Connect. So for example, we want to support ‘Stripe Tax’. We will let our clients (who have Stripe Standard Accounts) decide if they want to use it.
IF yes: they need to enable it in their Stripe dashboard, and then WE need to tick the ‘Automatic Tax → Enabled’ checkboxes in the server connect module here:
Right now if they do not have stripe tax enabled, but we DO enable it in the SC module… it will throw an error when trying to create the check out session: “stripe tax needs to be enabled”
So it would be great to allow our customers to set these options, you’re right that it wouldn’t be necessary if it’s just our own check out where we can decide once what we want to enable and disable.
This would improve Wapplers stripe support for SaaS applications a lot! (Just like you added the advanced options)
PS If you’re interested, I can create a clear list of current limitations with Wapplers stripe support for SaaS use cases (there’s more with webhooks and also with the client -side components)