#alban_best-practices
1 messages ยท Page 1 of 1 (latest)
๐ 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/1267785535909400679
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
๐
unless you provide the customer with a way of cancelling their subscription in your app it's not really possible for them to control the subscription and cancel it
Ok thank you.
And do you think using a subscription is a valid approach ? Because it's just a way to have multiple payments scheduled for a single product.
as I understood from your initial message you're using subscription schedules with phases right?
yes
if it's a recurring payment then subscriptions is the way to go, if on top of that you need to schedule different phases then using subscription schedules is the way to go
Ok thank you. Can I ask you more questions ?
sure of course
Each service provided by the dog trainers can be paid either upfront or after the service, via Stripe or in cash. Therefore, I need to record cash payments in Stripe to indicate who paid what.
I saw that Stripe allows reporting of out-of-brand payments. Additionally, it's possible to declare a customer balance.
Is it possible to report a partial out-of-brand payment for an invoice?
For example, a customer gives 10โฌ to a trainer for a class that costs 40โฌ. They will pay the remaining amount next time.
Or would it be better to use the Customer Balance and cancel and recreate the invoice after adding a credit to the customer balance?
hi! well we don't have great support for this really but yes there are various options.
Is it possible to report a partial out-of-brand payment for an invoice?
no(you do this by calling https://docs.stripe.com/api/invoices/pay#pay_invoice-paid_out_of_band and that's always for the full amount)
Or would it be better to use the Customer Balance and cancel and recreate the invoice after adding a credit to the customer balance?
if I were doing this I'd probably just add $10 to the CustomerBalance and that offsets future payments on future invoices. If you want to apply it to an open invoice then yes you'd have to use a CreditNote to adjust the invoice, which is a bit of a pain to use.
OK thank you
Another one :
Is it safe to offer in my application redirections to specific customer pages (for connected account) ? For example: https://dashboard.stripe.com/test/customers/cus_QX9jottfRIbAzN
Is this URL stable ?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
hmm like you're sharing that URL to merchants who have their own connected account?
well if they're a Standard Connected account(with access to the full Dashboard) then the URL is fairly stable I would think, but we make no particular claims about it. You could also link to https://dashboard.stripe.com/[test|live]/search?query=<cusomer_id>
Ok !
I'm going back to my previous question, because something is bothering me : Using a subscription just to allow multiple payments for a single product means that i also will get multiple invoices. But I don't want that. I want a single Invoice for a single product, but several scheduled paiements.
Does another option (except subscription) exists ?
building your own cron job etc that just process three separate off-session payments on a saved payment method https://docs.stripe.com/payments/save-during-payment?platform=web&ui=elements#charge-saved-payment-method
in our model a Subscription is a process that generates and charges Invoices on a given cadence so there's no getting around the concept of each payment being an Invoice(though depending on how complex you want to make this maybe you can hide the Stripe Invoices from the customer and just generate and send your own PDF to the customer, and just use the Subscription sub_xxx as a backend concept of the recurring payments; though at that point you're a bit off the beaten track)
I understand what you mean. I didn't thought about it. I will explore the link you gave me, and decide what to do.
Thank you for your help