#wendy
1 messages · Page 1 of 1 (latest)
i like the refund pdf that stripe generates include the giving back of that loyalty$ to the customer balance
Hi, are you asking how you'd be able to refund to the customer's balance? If so, here is an example code: https://stripe.com/docs/invoicing/integration/programmatic-credit-notes#paid-invoices:~:text=Here%2C the credit note creates a credit to the customer credit balance%3A on how you can achieve this.
i tried the custom_line_item but it's complaining i can as it's tax enabled for the invoice
Can you share the request id with me? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
the request that failed due to taxEnabled u mean? ok i will to dig for it
the response i saved are showing this
https://dashboard.stripe.com/test/logs/req_78lGk5bvJbnp8v?t=1676588220
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
right now we create a refund to all the lines of the invoice (assuming full and right now we don't have the -ve invoice line) then we create a credit note to that refund and it updates the original invoice and create a refund pdf
what does -ve mean?
-ve means negative sorry (like the loyalty$ redeemed)
so invoice is 40 but they have 10 loyalty so we add a -10 to the invoice to redeem that 10
when we full refund this invoice, we want the 10 to debit to customer balance
I see. It looks this issue it has been raised to our team. You'd want to write into support and share your request id: https://dashboard.stripe.com/test/logs/req_78lGk5bvJbnp8v. Our support team will be able to assist you better than I can: https://support.stripe.com/contact
oh, you mean i am supposed to???
I think it was identified as a gap, I highly recommend that you write and share the request id there.