#bondero

1 messages · Page 1 of 1 (latest)

next solarBOT
eternal loom
#

Hi, can you reword this question please?

#

I'd like to make sure that I understand your question fully so I can provide the best support.

mighty topaz
#

sure. i created a coupon with promo codes. i'm watching for checkout session completed triggers and kicking off a workflow from that. i already have the checkout session object, the payment intent, the line items, but i'd like to know what promo code was used too

#

i can see the discounted amount tho

#

i created 1 coupon with multiple promo codes to it, to be precise

#

i'd like to know what promo code was used in a transaction

eternal loom
#

Got it, looking

mighty topaz
#

like, i had to go find balance transactions to figure out the fee, so i'm sure this bit is lurking somewhere there too 😅

eternal loom
mighty topaz
#

kool lemme try that

#

nah, it gives me the discount

#

i already had thaat

#

i wanna know what coupon code was used to get that discount

eternal loom
#

Let me test this on my end

mighty topaz
#

oh i didn't know about expand that's helpful but also sneaky

#

let me play with that too, may save me a couple of calls actually