#taviksha-akar_api

1 messages ¡ Page 1 of 1 (latest)

celest pagodaBOT
daring ginkgoBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

celest pagodaBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1276053894694436864

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

pine willow
#

hello! Can you share more on why you want to create a subscription without taking payment?

#

in most cases, you're typically provide a service and hence would want to collect payment for that.

last prism
#

Sometimes customer want to pay via cash and we record offline record for it.

#

Can you please help me in one more query -

Suppose I am creating a subscription of amount 200. I want to take only 10% of payment to paid and remaining add to due amount. So how can we do it? Just for initial invoice when creating a scheduled subscription.

pine willow
#

it sounds to me like you would want to use subscription with collection_method=send_invoice

last prism
#

is this email the customer for card payment or what?

and this - Suppose I am creating a subscription of amount 200. I want to take only 10% of payment to paid and remaining add to due amount. So how can we do it? Just for initial invoice when creating a scheduled subscription.

pine willow
#

can you illustrate this with an example? what does remaining add to due amount mean?

#

is this email the customer for card payment or what? - i don't understand this question, what email are you referring to?

last prism
#

remaining add to due amount means like amount is 200 , so take 10% of payment on it and pay immediately and remaining 90% add to due amount.

pine willow
#

if i understand correctly, you want the customer to pay 10% immediately, and then the remaining 90% to be paid later?

last prism
#

yes, so 90% amount will be due amount and on particular date I will collect the remaining 90% of amount on that invoice.

pine willow
#

putting everything together, you mentioned :

  • create a subscription without taking payment so initial invoice can be created with due payment and I want to set auto collection off so that it cannot attempt to charge after 1 hour. Afterward, if customer wants to add card, then the auto collection can be turned on and the due payment is taken on it for the invoice.
  • at the same time you want the customer to pay 10% immediately, and then the remaining 90% to be paid later
#

so you want the initial invoice to be created for 10% (to not be paid automatically at first) and then the remaining 90% to be a separate invoice created at a time of your choosing?

last prism
#

the first point -> create a subscription without taking payment is different and the second point to take 10% is different.

lets discuss one at a time so first can we discuss on second point - want the customer to pay 10% immediately, and then the remaining 90% to be paid later

pine willow
#

what happens if the payment for the first 10% fails? do you still leave the subscription open and wait for the user to attempt payment again?

#

or will you only start the subscription if the payment for the first 10% is successful?

last prism
#

No, if 10% payment fails then don't create that scheduled subscription and want to give error to customer. So taking 10% payment is must to create a scheduled subscription

pine willow
#

okay then you should collect a one-off payment from your customer, only if that is successful, then you create a subscription schedule for the remaining 90%, and after which the normal pricing for that subscription

last prism
#

But how the 90% amount will be added as due amount so that i can pay it later on particular date

pine willow
#

there's where you create a subscription schedule to charge for the remaining 90% at a later point in time

#

the Subscription Schedule can look like :

  • phase 1 : $0 price to take into account the 10% that was already paid
  • phase 2 : 90% remaining amount
  • phase 3 : regular pricing
last prism
#

Emm, let me try this. Till the time, if this thread is closed then how can i continue our chat from here if i have any more questions on it?

pine willow
#

you can ask a the question in a new thread

last prism
#

Ok thanks let me try the approach that you have suggested.

#

but like we are adding 90% payment in a phase on particular date, but that date can be changed later from my admin panel then ? the phase is already scheduled for 90% on particular date.

pine willow
#

what do you mean by admin panel?

last prism
#

I mean suppose i have created a subscription so i have a subscription detail page in my project, from there if my date is edited on which the 90% payment should be taken, then how the phase will be updated as i have scheduled its date in the phase on subscriptio creation.

pine willow
#

is your question how to edit the 90% invoice scheduled date?

last prism
#

yes. Or there any other approach to take the 90% payment on particular date without using phases ?

pine willow
#

no, there's no other good way to go about it, Subscription Schedules are what you would want to use

last prism
#

you have said - then you should collect a one-off payment from your customer, only if that is successful, then you create a subscription schedule for the remaining 90%, and after which the normal pricing for that subscription
for a one-off payment by building your own custom form

but the one-off payment is done at customer level, in my case one customer can have multiple subscription, so how we will identify that the one off charge is for which subscription. I mean I have to create this flow at subscription level.

celest pagodaBOT
pine willow
#

you can always define metadata on the PaymentIntent to identify what it is for