#imad-top ups

1 messages ยท Page 1 of 1 (latest)

regal python
#

๐Ÿ‘‹ happy to help

#

could you please elaborate more? are you talking about your customers?

sour delta
#

yes

regal python
#

but it really depends on your business use case how you get/or not the money from the customer first and then add it to their credit balance

#

one scenario could be something like:
1- creating a PaymentIntent with the desired Amount
2- collecting that amount
3- using the webhooks you could create a customer balance transaction with a negative amount
4- on their next invoice that amount will be used automatically in the invoice / if it's a one-off payment you'll have to create another customer balance transaction this time with a positive amount

sour delta
#

the real use cases is to get commissioms for every transaction between users

#

so should i work with trasactions or separate it to
1-receive payment
2-make a top-up after taking my commission

regal python
#

when you say between users do you mean you have a merchant on your platform and a customer who is purchasing from that merchant using your platform?

sour delta
#

yes exactly

rich ember
#

Hi ๐Ÿ‘‹ my teammate needed to step away, please bear with me a moment while I catch up on the context here.

#

Alright, so if you have a scenario where you have customers and third-parties providing goods/services, have you started looking into Stripe Connect?

sour delta
#

but i need to freeze the payment for the merchant until the customer get his product

#

the product is service of renting acommodations so untill he finish his renting time

rich ember
#

Sorry, I'm confused, are you saying that's a reason you can't use Connect?

rich ember
sour delta
#

thank you so much i get now i will use connect

rich ember
#

Happy to help! Let us know if you run into any problems implementing that.