#junaid_abbasi999
1 messages · Page 1 of 1 (latest)
Yeah that error message is accurate. You need to also set destination if setting applicationFee
but we don't know the destinatin accont while creating it...... I can only know the destination when I am capturing the hold intent
Why is that?
because I have a system where a person is accepting the order.... then we know about the destination. before when the customer is ordering we don't know about the destination.
I am getting the customer's card info for off-session payments.
can i specify both the destination and application fee while capturing it?
??
@delicate zephyr ??
HI 👋
I'm stepping in as @delicate zephyr has to go. GIve me a sec to catch up
You can specify the destination in the transfer_data parameter when capturing the funds. https://stripe.com/docs/api/payment_intents/capture