|
|
| (同じ利用者による、間の12版が非表示) |
| 行1: |
行1: |
| − | ==appleのstorekitの返金のドキュメント==
| + | [[Php/アプリストア連携/返金API/AppStore/v2]] |
| − | https://developer.apple.com/jp/documentation/storekit/in-app_purchase/handling_refund_notifications/
| + | |
| | | | |
| − | https://developer.apple.com/documentation/AppStoreServerNotifications/unified_receipt/Latest_receipt_info-data.dictionary
| + | [[Php/アプリストア連携/返金API/AppStore/v1]] |
| − | | + | |
| − | ==ストアからの通知url設定箇所==
| + | |
| − | appstore管理画面/配信/アプリ情報/appstoreサーバ通知
| + | |
| − | | + | |
| − | ==返金通知のサーバ側モックJSON==
| + | |
| − | *subtype: "DISPUTE", or "OTHER"
| + | |
| − | *signedRenewalInfo: 省略可能(テスト時)
| + | |
| − | *signedTransactionInfo: 省略可能(テスト時)
| + | |
| − | *cancellation_reason: 1:ユーザー申請, 0:その他
| + | |
| − | <pre>
| + | |
| − | {
| + | |
| − | "notificationType": "REFUND",
| + | |
| − | "subtype": "DISPUTE", // または "OTHER"
| + | |
| − | "notificationUUID": "a1b2c3d4-5678-90ef-1234-567890abcdef",
| + | |
| − | "data": {
| + | |
| − | "appAppleId": 123456789,
| + | |
| − | "bundleId": "com.example.app",
| + | |
| − | "bundleVersion": "1.0",
| + | |
| − | "environment": "Sandbox",
| + | |
| − | "signedRenewalInfo": "...",
| + | |
| − | "signedTransactionInfo": "...",
| + | |
| − | "unifiedReceipt": {
| + | |
| − | "environment": "Sandbox",
| + | |
| − | "latest_receipt": "BASE64_ENCODED_RECEIPT_DATA",
| + | |
| − | "latest_receipt_info": [
| + | |
| − | {
| + | |
| − | "cancellation_date_ms": "1625097600000",
| + | |
| − | "cancellation_reason": "1",
| + | |
| − | "product_id": "premium_subscription",
| + | |
| − | "transaction_id": "1000000123456789",
| + | |
| − | "original_transaction_id": "1000000123456789",
| + | |
| − | "purchase_date_ms": "1625000000000",
| + | |
| − | "expires_date_ms": "1627600000000"
| + | |
| − | }
| + | |
| − | ],
| + | |
| − | "status": 0
| + | |
| − | }
| + | |
| − | },
| + | |
| − | "version": "2.0"
| + | |
| − | }
| + | |
| − | </pre>
| + | |
| − | | + | |
| − | ==appstore内の返金リクエストurl==
| + | |
| − | ttps://reportaproblem.apple.com/
| + | |