{{/* abono/owner-stripe: GET /admin/stripe, how payments are taken: the sandbox, Stripe in test mode, Stripe live, or not at all (and what to do about it), and the address Stripe's webhook must call. Data: Title string, the page title's message key Mode string, sandbox, test, live or off WebhookURL string, the site's origin plus abono.WebhookPath L the request's localizer */}} {{define "content"}}{{$L := localizer $}} {{template "page-header" dict "L" $L "Title" (T $L .Title)}} {{if eq .Mode "sandbox"}}{{template "callout" dict "L" $L "Tone" "warning" "Body" (T $L "abono.owner.stripe_sandbox")}} {{else if eq .Mode "test"}}{{template "callout" dict "L" $L "Tone" "info" "Body" (T $L "abono.owner.stripe_test")}} {{else if eq .Mode "live"}}{{template "callout" dict "L" $L "Tone" "positive" "Body" (T $L "abono.owner.stripe_on")}} {{else}}{{template "callout" dict "L" $L "Tone" "warning" "Body" (T $L "abono.owner.stripe_off")}}
{{T $L "abono.owner.stripe_off_help"}}
{{end}} {{if or (eq .Mode "test") (eq .Mode "live")}}{{T $L "abono.owner.stripe_webhook"}}
{{.WebhookURL}}
{{T $L "abono.owner.stripe_webhook_help"}}