#Jaba

1 messages · Page 1 of 1 (latest)

wind quailBOT
wise token
#

Good question, checking in to this. You can definitely issue customer credit that can be used like that but that does mostly apply to subscriptions. If you are doing one-off checkout things I think you would have to apply the discounts yourself. Will get back to you with what I can find

modest coral
#

thanks for the speedy response. I'm happy to apply the credit myself via the api. As a quick test I added some customer credit to a user in my test environment but when i went to do a payment as that customer the credit wasn't used and they were just billed as usual

#

I've read that customer balance gets auto-applied to the next invoice so is there a way of creating an invoice that the customer balance can be used for as part of the checkout process?

#

(I'm using stripe checkout )

wise token
#

I don't believe so but will check in to it. For that you may have to use something like a coupon which might require something like creating a custom one time coupon before creating your Checkout Session

modest coral
#

ooo i guess coupon could be a potential route. although it feels a little clunky manging coupons in the place of refund although not outrageous. I'll do some digging around coupons but please do let me know if you find anything regarding using customer balance for one time payments. That defo feels like the cleaner solution

wise token
#

One other thing that I can think of is that you can just create an invoice with these items and apply the customer credit to that. Some users use our hosted invoice pages instead of Checkout so that could work here, albeit the UI of the page they are paying on would be different

modest coral
#

okay great, i'll checkout the docs around invoices too. Thanks for clarifying why i can't use the create invoice option on the checkout session, I saw that and was wondering if that'd be an option. I think I should be able to make either the coupon or invoice route work. Thanks for the speedy replies! Hope you have a great rest of your day! Also super impressed with this channel, you guys are rocking it!

wise token
#

Thanks! Glad we could provide such great help