Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer portal created but not showing in the dashboard #52

Closed
v-makh opened this issue Oct 10, 2023 · 3 comments
Closed

Customer portal created but not showing in the dashboard #52

v-makh opened this issue Oct 10, 2023 · 3 comments
Labels
question Further information is requested

Comments

@v-makh
Copy link

v-makh commented Oct 10, 2023

Thanks for this provider. I'm running into an issue where I create a customer portal through terraform and it finishes successfully but when I go to the dashboard, I don't see it. Am I missing something?

@lukasaron
Copy link
Owner

Could @v-makh please share the HCL code (redact any sensitive details)?

@lukasaron lukasaron added the question Further information is requested label Oct 11, 2023
@v-makh
Copy link
Author

v-makh commented Oct 11, 2023

@lukasaron

resource "stripe_portal_configuration" "portal_configuration" {
  active = true
  business_profile {
    privacy_policy_url   = var.privacy_url
    terms_of_service_url = var.terms_url
  }
  default_return_url = var.return_url
  features {
    customer_update {
      enabled         = true
      allowed_updates = ["name", "email", "address", "shipping", "phone"]
    }
    invoice_history {
      enabled = true
    }
    payment_method_update {
      enabled = true
    }
    subscription_cancel {
      enabled = true
      cancellation_reason {
        enabled = true
        options = ["too_expensive", "missing_features", "unused", "customer_service", "too_complex", "low_quality", "other"]
      }
      mode               = "at_period_end"
      proration_behavior = "none"
    }
    subscription_pause {
      enabled = false
    }
    subscription_update {
      enabled                 = true
      default_allowed_updates = ["price"]
      proration_behavior      = "none"
      products {
        product = stripe_product.product1.product_id
        prices  = [stripe_price.product1.id]
      }
    }
  }
  metadata = {
    env = "${var.env}"
  }
}

@lukasaron
Copy link
Owner

Could you please have a look at this documentation: https://stripe.com/docs/customer-management ?

@lukasaron lukasaron closed this as not planned Won't fix, can't repro, duplicate, stale Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants