in stripe customer portal settings I have set "Allow customers to apply promotion codes", but when I open customer portal I can't find anywhere, where I could add promo code. I can cancel subscription, update payment methods or customer data as I configured in settings, but not promotion code. Is there something special that needs to be done? In production we are opening that via special BillingPortalSession (stripe api), but I also checked with generated link from stripe it self.
billing portal configuration features looks like this:
"features": {
"customer_update": {
"allowed_updates": [
"email",
"address",
"phone"
],
"enabled": true
},
"invoice_history": {
"enabled": true
},
"payment_method_update": {
"enabled": true
},
"subscription_cancel": {
"cancellation_reason": {
"enabled": true,
"options": [
"too_expensive",
"missing_features",
"switched_service",
"unused",
"other",
"customer_service",
"too_complex"
]
},
"enabled": true,
"mode": "at_period_end",
"proration_behavior": "none"
},
"subscription_pause": {
"enabled": false
},
"subscription_update": {
"default_allowed_updates": [
"price",
"promotion_code"
],
"enabled": true,
"proration_behavior": "create_prorations"
}