#Asad

1 messages · Page 1 of 1 (latest)

stone martenBOT
loud ice
#

Hi there!

#

Can you clarify what you are tying to do?

strange badger
#

i am trying to add coupon functionality for subsccription

loud ice
#

And what is the issue?

strange badger
#

can't add coupon_id to deduct amount from price_id

loud ice
#

What do you mean by "can't" ? You tried and you got an error message? If so can you share the request ID (req_xxx)?

strange badger
#

i really don't know how can i do that.

#

but i found price = stripe.Price.modify(
plan.membership_price.stripe_id,
coupon=coupon.id
)