#kr7pt0-checkout-invoicecreation
1 messages ยท Page 1 of 1 (latest)
@somber lagoon usually that's because you're just on an old version of stripe-dotnet and you have to upgrade the SDK.
kr7pt0-checkout-invoicecreation
is this automatic invoice creation also possible in old versions ?
or is there a global setting where i can toggle this in stripe ?
there's no setting no. This is done in code. Your SDK version is too old and you should upgrade to get access to this. Alternatively you can use https://github.com/stripe/stripe-dotnet#parameters
oooh that is nice. an upgrade would mean weeks of work to change all implementations & webhooks
so with this i can just add the "new" parameter and use it in my request ?
yes
so if i would use this for invoice_creation and i also want to fill the description, how do i set this? (just for my understanding when the parameter is layered)
like this ?:
options.AddExtraParam("invoice_creation[invoice_data][description]", "primary value");
yes. Easiest is to try as a developer to confirm
hmm can't really debug this. Is invoice sending enabled in sandbox ?
options.AddExtraParam("invoice_creation[enabled]", true);
it would generate an Invoice you can look at in the Dashboard.
Hence the need to try it first as a developer and see what happens
haven't seen it cause its a connect platform
but invoice sending is automatically activated in production ? so just not possible in sandbox
but generation works
i want the customer to automatically receive this mail
I mean you can test all of this on your own account without Connect, in Test mode, to confirm it all works as expected. I'm sorry but you have to try a bit of this on your own to debug things
i did everything works. except for the sending. Is this disabled in sandbox or not ?
everything generated just fine
Hi there ๐ taking over, as my colleague needs to step away
Emails aren't sent in test mode unless you manually click the button to have them sent from the payment view in the Dashboard.
Monday through Friday 24 hours a day
haha good to hear. thanks for your help you can close this thread ๐