#haulc_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/1410166511997550626
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! Looking into this!
Hi, could you clarify how capture_method is related to application_fee_amount?
Making an assumption here, if you don't know the tip yet, and will need to decide the application_fee based on the tip amount after transaction, I would suggest using Separate Charges and Transfer flow.
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Is there no way we can charge application_fee for that tip?
do you have any other solution?
Do you have an example Payment Intent that demonstrates the problem I can look at? pi_xxx
wait for me a few munites please
pi_3RzJOoKukcQuF86S1jghm0gL
please check this payment intent
application fee is 3.9%.
OK so as I understand it you want to increase the application_fee_amount as a portion of the tip the customer enters on the reader at payment?
yep
Let me check
Yeah unfortunately not seeing any alternative other than what has already been suggested
What do you want me to check?
Is it ok to transfer a small amount of money from this transfer?
Sure, should work fine. Try it
but in this dashboard page of connected account show this transaction is refund
i think they will not accept this
Hey! Taking over for my colleague. Let me catch up.
Sorry I'm not sure I understand the follow up here, that was refunded for some reason by your integration (?)
no. i created a reversal transfer when transaction is capture
Yes, your integration created a reversal which triggered the refunds
The ideal flow then, is to complete the charge and then do a separate transfer with the net amount
as you know. i want to charge application fee with tip when customer enters on the reader. please give me other solution to do this.
because solution create reversal transfer merchant will not accept. with tag transaction is partial refund
But what about Separate charge and transfers ?
You create the transfer after the payment is completed, the compute the tips and the final application fees, then make a transfer to the connected account with the remaining amount
hmm let me check.
when payment is processed the transfer is auto when i set payment intent transfer_data.destination is connected account
and then i create a reversal transfer. that's correct with this flow?
No, you'd omit the transfer_data, application_fee_amount parameters completely from the intent to prevent the auto transfer. Then, once the Payment Intent is confirmed, you'd then initialise a Transfer separately via the API for the desired amount leaving the net amount on platform
An example:
- 100 USD payment, you want to keep 10% of the total (inc. tip) on the platform
- You collect card details on the reader, present the tip UI as normal
- Customer selects a 10 USD tip, making the total payment 110 USD
- One the payment is confirmed on the platform, you can then initialise the transfer for 90% of the total, 99 USD to the connected account
- That leaves 11 USD (10%) on the platform for your 'fee'
Actually, it seems like tipping on Terminal requires manual capture: https://docs.stripe.com/terminal/features/collecting-tips/overview#how-tips-are-displayed-on-receipt-or-on-reader
So I don't think any workaround today will support tipping for Interac cards as you'll always need to do capture_method: 'manual'