#bugkiller.

1 messages ยท Page 1 of 1 (latest)

weary jungleBOT
modern ore
#

Hello! That depends on how your integration works, but typically Stripe will send it after the Invoice is created and finalized.

zinc umbra
#

the point is that big companies needed invoice before making a real payment

#

๐Ÿ™‚

modern ore
#

Can you provide more details? Like what exactly do you want to accomplish and what specifically is preventing you from accomplishing it?

zinc umbra
#

I don't know how to send an invoice like upcoming invoice to user

modern ore
#

Upcoming Invoices don't exist and can't be sent to users. They're previews of Invoices that are expected to be created in the future.

zinc umbra
#

let's say you're using our service, you're using our software for your company

modern ore
#

It sounds like you want to create an Invoice with a due date in the future?

zinc umbra
#

so company paying it

#

but to make company pay, you need to provide invoice to the company (to explain why money has to be paid)

#

so our users are asking about invoice feature

modern ore
zinc umbra
#

no, how it will look like if we change this parameter

#

from 'charge_automatically' to 'send_invoice'

#

what will be sent to user?

modern ore
#

Yeah, instead of attempting to pay the Invoice immediately it will be sent to the customer for them to pay manually.

zinc umbra
#

sent via email?

modern ore
#

Yes, if you configure it that way.

zinc umbra
#

do you have that eamil example so that I can see it

zinc umbra
#

so this pdf will be sent to user?

modern ore
#

Yes.

zinc umbra
#

is there any way to send this email and also auto try for charge if user didn't take action ๐Ÿ˜‰

#

and when this email will be sent?

#

how many days ago before current subscription period (if monhtly subscription) ended

modern ore
#

All of these questions are answered in our documentation. I recommend you read through our docs, give this a try in test mode, and see how it works first-hand.

zinc umbra
#

how to test it immediately though?

#

like wait for 1 month for test?

modern ore
zinc umbra
#

sorry for too much questions

modern ore
#

Questions are fine, we're here to help! But if a question can be answered by a quick read of the docs or some experimentation in test mode it's best to do those things on your end rather than run them through us. You can self-serve those kinds of things a lot faster than we can help you here. If you get stuck or have a technical question, though, we're here to help!

zinc umbra
#

ok, thanks I'll try

#

another quetion for you

#

I heard that paypal is available through stripe

#

When will you support that feature for USA?

modern ore
#

I can't comment on future plans here, sorry.

zinc umbra
#

very dummy question but want to ask at last

#

If I leave collection_method as charge_automatically

#

and then check this box on

#

what will happen

#

this will send an invoice email or not?

modern ore
#

That will send a notification that a renewal is coming up, but it will not send the Invoice.

zinc umbra
#

So this will send an email notification ?

#

but it will not have pdf as attachment?

modern ore
#

Correct.

zinc umbra
#

basically subscription is created something like this by checkout session

#

then where can I pass the collection_method?

modern ore
#

You can't. Checkout doesn't support collection_method. You would need to create the Subscriptions yourself directly via the API.

zinc umbra
#

then is there any way to change it?

#

for example 'checkout.session.completed'

#

in this webhook

#

I'll retreive subscription and change the collection_method

modern ore
#

No, you can't use Checkout if you want to send Invoices the way you're describing.

zinc umbra
#

but how to create subscription myself without card info

modern ore
#

Checkout is designed to collect payment details for future automatic use.

zinc umbra
#

in the prev, we used checkout modal

modern ore
#

You would need to use something like the Payment Element.

zinc umbra
#

now migrated to checkout session due to stripe update

modern ore
zinc umbra
#

๐Ÿ˜ฆ

#

we just migrated from stripe payment popup ( get token from the popup and create subscription in backend with it) to checkout session

#

now maybe need to change again for send_invoice

#

๐Ÿฅบ

#

anyway, let me think on this a little bit. thanks for your help

modern ore
#

Yes, sorry. Checkout doesn't support your use case as described.

zinc umbra
#

I read this answer so asked you to confirm

#

he said like

#

""
Create the Checkout Session
Provide payment in the Checkout UI. Once payment is complete this will create a Subscription with collection_method: charge_automatically
After it's been created, update the Subscription to set collection_method: send_invoice so that all future renewals email the invoice to the customer.
""

#

Is this wrong information?

#

in my check 'update subscription' api has parameter for

#

'collection_method'

modern ore
#

You can do that, but it won't work the way you described for the initial payment.

zinc umbra
#

don't need to work for initial payment

#

initial payment is just once user signup

modern ore
#

Oh, then yes, that should work.

zinc umbra
#

so fine

#

so from the next cycle ( next month pay or next year pay), user will get invoice email correct?

modern ore
#

Yes, after you update to send_invoice they'll get an Invoice to pay when the next period starts.

zinc umbra
#

Nice then

#

I couldn't find any information about when that email will be sent

#

from the stripe doc unfortunately

modern ore
#

It will be sent when the Invoice is finalized.

zinc umbra
#

sorry but please make me clear on this

#

user signed up with monthly subscription on 12th Oct

#

next payment should be 12th Nov right?

modern ore
#

If you have it set to send_invoice Nov 12th is when the Invoice will be sent to them, and then they have whatever number of days you give them to pay it.

zinc umbra
#

number of days I give? ( where can I set it)

#

Is there any way sending that email on like 10th Nov ( before 2 days)

modern ore
#

There is no way to send it early, it's always set on the billing cycle anchor date, when a new period starts.

zinc umbra
#

Ok, thanks @modern ore