#smriti15s-Checkout

1 messages · Page 1 of 1 (latest)

stray dew
#

Hi! Can you clarify what you are trying to do?
FYI credit notes are to updated finalized invoices, and customer balance is to issue credit/debit adjustments to a customer.

mystic warren
#

Yes, suppose using checkout session, our customer paid 100$, later on instead of issuing refund we want to give him credit note/balanace. So that he can use that in next checkout session transaction. So how can we manage this or implement this?

stray dew
#

customer balance only applies to invoice, so it won't work with Checkout Sessions.

mystic warren
#

Okay. Is there any way we can do so?

stray dew
mystic warren
#

Would it make sense if we fetch the Customer Balance Transaction object on our checkout customer and minus the amount then redirect to checkout page? And simultaneously update the customer balane?

stray dew
mystic warren
#

But would that allow us to compute the customer balance as well us?
As per documentation it seems, we can only update description and metadata on customer balance object.

stray dew
mystic warren
#

Okay. Can you tell me difference betwen credit note and customer balance?

stray dew
#

So that would not be useful in your case.