#Asad
1 messages · Page 1 of 1 (latest)
i am trying to add coupon functionality for subsccription
And what is the issue?
can't add coupon_id to deduct amount from price_id
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)?
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
)