Assist_Design/docs/ja/how-it-works/subscriptions.md
ramirez d7efc99fdc Add Japanese translations of UAT and how-it-works documentation
Translated all UAT test guides and how-it-works documentation to Japanese.
Files are organized under docs/ja/uat/ and docs/ja/how-it-works/.
2026-02-24 12:11:14 +09:00

29 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
sidebar_position: 8
title: "サブスクリプション"
---
# サブスクリプションとサービス
アクティブなサービスの表示と更新方法を説明します。
## データソース
- サブスクリプション(サービス/商品はマッピングされたクライアントID経由でWHMCSから読み取ります。
- ステータスActive、Pending、Suspended、Cancelled、CompletedはWHMCSから直接取得。
## 鮮度
- サブスクリプション一覧は5分、個別サブスクリプションは10分キャッシュ。
- WHMCSが変更を通知Webhookするか、関連サービスに影響する可能性のあるプロフィール/住所データを更新した際にキャッシュをクリア。
## 表示内容
- WHMCSに保存されているサービス名、ステータス、開始日、金額、通貨。
- サブスクリプションはダッシュボード統計にも使用(例:アクティブ数)。統計はキャッシュ無効化後に更新。
## エラー時の動作
- WHMCSマッピング不足空のリストではなく明確なエラーを返却。
- WHMCS利用不可「後でやり直してください」を表示。失敗をキャッシュしません。