#oleurud

1 messages ยท Page 1 of 1 (latest)

white rainBOT
terse coral
#

The full command looks like this:

stripe billing_portal configurations create \
  -d "business_profile[terms_of_service_url]=https://whatever.com/privacy/terms-of-service" \
  -d "business_profile[privacy_policy_url]=https://whatever.com/privacy/privacy-policy" \
  -d "features[customer_update][allowed_updates][]=email" \
  -d "features[customer_update][allowed_updates][]=name" \
  -d "features[customer_update][allowed_updates][]=address" \
  -d "features[customer_update][enabled]=true" \
  -d "features[invoice_history][enabled]=true" \
  -d "features[payment_method_update][enabled]=true" \
  -d "features[subscription_cancel][enabled]=true" \
  -d "features[subscription_cancel][cancellation_reason][enabled]=true" \
  -d "features[subscription_cancel][cancellation_reason][options][]=too_expensive" \
  -d "features[subscription_cancel][cancellation_reason][options][]=missing_features" \
  -d "features[subscription_cancel][cancellation_reason][options][]=switched_service" \
  -d "features[subscription_cancel][cancellation_reason][options][]=unused" \
  -d "features[subscription_cancel][cancellation_reason][options][]=customer_service" \
  -d "features[subscription_cancel][cancellation_reason][options][]=too_complex" \
  -d "features[subscription_cancel][cancellation_reason][options][]=low_quality" \
  -d "features[subscription_cancel][cancellation_reason][options][]=other" \
  -d "features[subscription_pause][enabled]=true" \
  -d "features[subscription_update][enabled]=true" \
  -d "features[subscription_update][proration_behavior]=create_prorations" \
  -d "features[subscription_update][default_allowed_updates][]=price" \
  -d "features[subscription_update][default_allowed_updates][]=promotion_code" \
  -d "features[subscription_update][products][][product]=prod_B1" \
  -d "features[subscription_update][products][][prices][]=price_123" \
  -d "features[subscription_update][products][][prices][]=price_456"
lucid plinth
#

Hi! Let me help you with this.

#

What's not working?

terse coral
#

req_KWr4FQ67l6sHUK

lucid plinth
#

So, what's not working?

terse coral
#

checking now the result, maybe it is done successfully, but it is just the response does not contain the products and so?

#

I was expecting, in the response, to see the products

#
"subscription_update": {
      "default_allowed_updates": [
        "price",
        "promotion_code"
      ],
      "enabled": true,
      "proration_behavior": "create_prorations"
    }
#

but maybe it is correct

#

I will try it

#

ahh

#

OMG it is working properly!

#

sorry

#

๐Ÿ™‡โ€โ™‚๏ธ

#

thank you

lucid plinth