├── .gitignore ├── CONTRIBUTING.md ├── LICENSE.txt ├── NOTICE.txt ├── README.md ├── composer.json ├── hooks ├── pre-commit └── pre-push ├── phpcs.xml.dist ├── phpstan.neon ├── phpunit.xml.dist ├── src └── AppStoreServerLibrary │ ├── AppStoreServerAPIClient.php │ ├── AppStoreServerAPIClient │ ├── APIError.php │ ├── APIException.php │ └── GetTransactionHistoryVersion.php │ ├── ChainVerifier.php │ ├── JWSSignatureCreator.php │ ├── JWSSignatureCreator │ ├── AdvancedCommerceAPIInAppSignatureCreator.php │ ├── IntroductoryOfferEligibilitySignatureCreator.php │ └── PromotionalOfferV2SignatureCreator.php │ ├── Models │ ├── AccountTenure.php │ ├── AdvancedCommerceAPIInAppRequest.php │ ├── AppTransaction.php │ ├── AutoRenewStatus.php │ ├── CheckTestNotificationResponse.php │ ├── ConsumptionRequest.php │ ├── ConsumptionRequestReason.php │ ├── ConsumptionStatus.php │ ├── Data.php │ ├── DeliveryStatus.php │ ├── Environment.php │ ├── ExpirationIntent.php │ ├── ExtendReasonCode.php │ ├── ExtendRenewalDateRequest.php │ ├── ExtendRenewalDateResponse.php │ ├── ExternalPurchaseToken.php │ ├── HistoryResponse.php │ ├── InAppOwnershipType.php │ ├── JWSRenewalInfoDecodedPayload.php │ ├── JWSTransactionDecodedPayload.php │ ├── LastTransactionsItem.php │ ├── LifetimeDollarsPurchased.php │ ├── LifetimeDollarsRefunded.php │ ├── MassExtendRenewalDateRequest.php │ ├── MassExtendRenewalDateResponse.php │ ├── MassExtendRenewalDateStatusResponse.php │ ├── NotificationHistoryRequest.php │ ├── NotificationHistoryResponse.php │ ├── NotificationHistoryResponseItem.php │ ├── NotificationTypeV2.php │ ├── OfferDiscountType.php │ ├── OfferType.php │ ├── OrderLookupResponse.php │ ├── OrderLookupStatus.php │ ├── Platform.php │ ├── PlayTime.php │ ├── PriceIncreaseStatus.php │ ├── PurchasePlatform.php │ ├── RefundHistoryResponse.php │ ├── RefundPreference.php │ ├── ResponseBodyV2DecodedPayload.php │ ├── RevocationReason.php │ ├── SendAttemptItem.php │ ├── SendAttemptResult.php │ ├── SendTestNotificationResponse.php │ ├── Status.php │ ├── StatusResponse.php │ ├── SubscriptionGroupIdentifierItem.php │ ├── Subtype.php │ ├── Summary.php │ ├── TransactionHistoryRequest.php │ ├── TransactionHistoryRequest │ │ ├── Order.php │ │ └── ProductType.php │ ├── TransactionInfoResponse.php │ ├── TransactionReason.php │ ├── Type.php │ ├── UpdateAppAccountTokenRequest.php │ └── UserStatus.php │ ├── PromotionalOfferSignatureCreator.php │ ├── ReceiptUtility.php │ ├── SignedDataVerifier.php │ ├── SignedDataVerifier │ ├── VerificationException.php │ └── VerificationStatus.php │ └── X509 │ └── Certificate.php └── tests ├── AppStoreServerLibrary ├── AppStoreServerAPIClientTest.php ├── ChainVerifierTest.php ├── JWSSignatureCreatorTest.php ├── JWSSignatureCreatorTest │ └── TestInAppRequest.php ├── PromotionalOfferSignatureCreatorTest.php ├── ReceiptUtilityTest.php ├── SignedDataVerifierTest.php └── resources │ ├── certs │ ├── testCA.der │ └── testSigningKey.p8 │ ├── mock_signed_data │ ├── legacyTransaction │ ├── missingX5CHeaderClaim │ ├── renewalInfo │ ├── testNotification │ ├── transactionInfo │ └── wrongBundleId │ ├── models │ ├── apiException.json │ ├── apiTooManyRequestsException.json │ ├── apiUnknownError.json │ ├── appTransaction.json │ ├── extendRenewalDateForAllActiveSubscribersResponse.json │ ├── extendSubscriptionRenewalDateResponse.json │ ├── familyTransactionNotSupportedError.json │ ├── getAllSubscriptionStatusesResponse.json │ ├── getNotificationHistoryResponse.json │ ├── getRefundHistoryResponse.json │ ├── getStatusOfSubscriptionRenewalDateExtensionsResponse.json │ ├── getTestNotificationStatusResponse.json │ ├── invalidAppAccountTokenUUIDError.json │ ├── lookupOrderIdResponse.json │ ├── requestTestNotificationResponse.json │ ├── signedConsumptionRequestNotification.json │ ├── signedExternalPurchaseTokenNotification.json │ ├── signedExternalPurchaseTokenSandboxNotification.json │ ├── signedNotification.json │ ├── signedRenewalInfo.json │ ├── signedSummaryNotification.json │ ├── signedTransaction.json │ ├── transactionHistoryResponse.json │ ├── transactionHistoryResponseWithMalformedAppAppleId.json │ ├── transactionHistoryResponseWithMalformedEnvironment.json │ ├── transactionIdNotOriginalTransactionId.json │ └── transactionInfoResponse.json │ └── xcode │ ├── xcode-app-receipt-empty │ ├── xcode-app-receipt-with-transaction │ ├── xcode-signed-app-transaction │ ├── xcode-signed-renewal-info │ └── xcode-signed-transaction └── bootstrap.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /NOTICE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/NOTICE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/composer.json -------------------------------------------------------------------------------- /hooks/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/hooks/pre-commit -------------------------------------------------------------------------------- /hooks/pre-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/hooks/pre-push -------------------------------------------------------------------------------- /phpcs.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/phpcs.xml.dist -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/phpstan.neon -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/AppStoreServerAPIClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/AppStoreServerAPIClient.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/AppStoreServerAPIClient/APIError.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/AppStoreServerAPIClient/APIError.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/AppStoreServerAPIClient/APIException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/AppStoreServerAPIClient/APIException.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/AppStoreServerAPIClient/GetTransactionHistoryVersion.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/AppStoreServerAPIClient/GetTransactionHistoryVersion.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/ChainVerifier.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/ChainVerifier.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/JWSSignatureCreator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/JWSSignatureCreator.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/JWSSignatureCreator/AdvancedCommerceAPIInAppSignatureCreator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/JWSSignatureCreator/AdvancedCommerceAPIInAppSignatureCreator.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/JWSSignatureCreator/IntroductoryOfferEligibilitySignatureCreator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/JWSSignatureCreator/IntroductoryOfferEligibilitySignatureCreator.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/JWSSignatureCreator/PromotionalOfferV2SignatureCreator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/JWSSignatureCreator/PromotionalOfferV2SignatureCreator.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/AccountTenure.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/AccountTenure.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/AdvancedCommerceAPIInAppRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/AdvancedCommerceAPIInAppRequest.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/AppTransaction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/AppTransaction.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/AutoRenewStatus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/AutoRenewStatus.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/CheckTestNotificationResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/CheckTestNotificationResponse.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/ConsumptionRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/ConsumptionRequest.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/ConsumptionRequestReason.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/ConsumptionRequestReason.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/ConsumptionStatus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/ConsumptionStatus.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/Data.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/Data.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/DeliveryStatus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/DeliveryStatus.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/Environment.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/Environment.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/ExpirationIntent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/ExpirationIntent.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/ExtendReasonCode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/ExtendReasonCode.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/ExtendRenewalDateRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/ExtendRenewalDateRequest.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/ExtendRenewalDateResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/ExtendRenewalDateResponse.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/ExternalPurchaseToken.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/ExternalPurchaseToken.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/HistoryResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/HistoryResponse.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/InAppOwnershipType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/InAppOwnershipType.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/JWSRenewalInfoDecodedPayload.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/JWSRenewalInfoDecodedPayload.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/JWSTransactionDecodedPayload.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/JWSTransactionDecodedPayload.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/LastTransactionsItem.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/LastTransactionsItem.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/LifetimeDollarsPurchased.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/LifetimeDollarsPurchased.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/LifetimeDollarsRefunded.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/LifetimeDollarsRefunded.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/MassExtendRenewalDateRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/MassExtendRenewalDateRequest.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/MassExtendRenewalDateResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/MassExtendRenewalDateResponse.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/MassExtendRenewalDateStatusResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/MassExtendRenewalDateStatusResponse.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/NotificationHistoryRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/NotificationHistoryRequest.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/NotificationHistoryResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/NotificationHistoryResponse.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/NotificationHistoryResponseItem.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/NotificationHistoryResponseItem.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/NotificationTypeV2.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/NotificationTypeV2.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/OfferDiscountType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/OfferDiscountType.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/OfferType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/OfferType.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/OrderLookupResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/OrderLookupResponse.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/OrderLookupStatus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/OrderLookupStatus.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/Platform.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/Platform.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/PlayTime.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/PlayTime.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/PriceIncreaseStatus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/PriceIncreaseStatus.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/PurchasePlatform.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/PurchasePlatform.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/RefundHistoryResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/RefundHistoryResponse.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/RefundPreference.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/RefundPreference.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/ResponseBodyV2DecodedPayload.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/ResponseBodyV2DecodedPayload.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/RevocationReason.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/RevocationReason.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/SendAttemptItem.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/SendAttemptItem.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/SendAttemptResult.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/SendAttemptResult.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/SendTestNotificationResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/SendTestNotificationResponse.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/Status.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/Status.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/StatusResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/StatusResponse.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/SubscriptionGroupIdentifierItem.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/SubscriptionGroupIdentifierItem.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/Subtype.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/Subtype.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/Summary.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/Summary.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/TransactionHistoryRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/TransactionHistoryRequest.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/TransactionHistoryRequest/Order.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/TransactionHistoryRequest/Order.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/TransactionHistoryRequest/ProductType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/TransactionHistoryRequest/ProductType.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/TransactionInfoResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/TransactionInfoResponse.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/TransactionReason.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/TransactionReason.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/Type.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/Type.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/UpdateAppAccountTokenRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/UpdateAppAccountTokenRequest.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/Models/UserStatus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/Models/UserStatus.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/PromotionalOfferSignatureCreator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/PromotionalOfferSignatureCreator.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/ReceiptUtility.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/ReceiptUtility.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/SignedDataVerifier.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/SignedDataVerifier.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/SignedDataVerifier/VerificationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/SignedDataVerifier/VerificationException.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/SignedDataVerifier/VerificationStatus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/SignedDataVerifier/VerificationStatus.php -------------------------------------------------------------------------------- /src/AppStoreServerLibrary/X509/Certificate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/src/AppStoreServerLibrary/X509/Certificate.php -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/AppStoreServerAPIClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/AppStoreServerAPIClientTest.php -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/ChainVerifierTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/ChainVerifierTest.php -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/JWSSignatureCreatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/JWSSignatureCreatorTest.php -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/JWSSignatureCreatorTest/TestInAppRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/JWSSignatureCreatorTest/TestInAppRequest.php -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/PromotionalOfferSignatureCreatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/PromotionalOfferSignatureCreatorTest.php -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/ReceiptUtilityTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/ReceiptUtilityTest.php -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/SignedDataVerifierTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/SignedDataVerifierTest.php -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/certs/testCA.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/certs/testCA.der -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/certs/testSigningKey.p8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/certs/testSigningKey.p8 -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/mock_signed_data/legacyTransaction: -------------------------------------------------------------------------------- 1 | ewoicHVyY2hhc2UtaW5mbyIgPSAiZXdvaWRISmhibk5oWTNScGIyNHRhV1FpSUQwZ0lqTXpPVGt6TXprNUlqc0tmUW89IjsKfQo= -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/mock_signed_data/missingX5CHeaderClaim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/mock_signed_data/missingX5CHeaderClaim -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/mock_signed_data/renewalInfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/mock_signed_data/renewalInfo -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/mock_signed_data/testNotification: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/mock_signed_data/testNotification -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/mock_signed_data/transactionInfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/mock_signed_data/transactionInfo -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/mock_signed_data/wrongBundleId: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/mock_signed_data/wrongBundleId -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/apiException.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/apiException.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/apiTooManyRequestsException.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/apiTooManyRequestsException.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/apiUnknownError.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/apiUnknownError.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/appTransaction.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/appTransaction.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/extendRenewalDateForAllActiveSubscribersResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "requestIdentifier": "758883e8-151b-47b7-abd0-60c4d804c2f5" 3 | } -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/extendSubscriptionRenewalDateResponse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/extendSubscriptionRenewalDateResponse.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/familyTransactionNotSupportedError.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/familyTransactionNotSupportedError.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/getAllSubscriptionStatusesResponse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/getAllSubscriptionStatusesResponse.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/getNotificationHistoryResponse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/getNotificationHistoryResponse.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/getRefundHistoryResponse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/getRefundHistoryResponse.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/getStatusOfSubscriptionRenewalDateExtensionsResponse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/getStatusOfSubscriptionRenewalDateExtensionsResponse.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/getTestNotificationStatusResponse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/getTestNotificationStatusResponse.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/invalidAppAccountTokenUUIDError.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/invalidAppAccountTokenUUIDError.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/lookupOrderIdResponse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/lookupOrderIdResponse.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/requestTestNotificationResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "testNotificationToken": "ce3af791-365e-4c60-841b-1674b43c1609" 3 | } -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/signedConsumptionRequestNotification.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/signedConsumptionRequestNotification.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/signedExternalPurchaseTokenNotification.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/signedExternalPurchaseTokenNotification.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/signedExternalPurchaseTokenSandboxNotification.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/signedExternalPurchaseTokenSandboxNotification.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/signedNotification.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/signedNotification.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/signedRenewalInfo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/signedRenewalInfo.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/signedSummaryNotification.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/signedSummaryNotification.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/signedTransaction.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/signedTransaction.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/transactionHistoryResponse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/transactionHistoryResponse.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/transactionHistoryResponseWithMalformedAppAppleId.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/transactionHistoryResponseWithMalformedAppAppleId.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/transactionHistoryResponseWithMalformedEnvironment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/transactionHistoryResponseWithMalformedEnvironment.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/transactionIdNotOriginalTransactionId.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/transactionIdNotOriginalTransactionId.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/models/transactionInfoResponse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/models/transactionInfoResponse.json -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/xcode/xcode-app-receipt-empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/xcode/xcode-app-receipt-empty -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/xcode/xcode-app-receipt-with-transaction: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/xcode/xcode-app-receipt-with-transaction -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/xcode/xcode-signed-app-transaction: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/xcode/xcode-signed-app-transaction -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/xcode/xcode-signed-renewal-info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/xcode/xcode-signed-renewal-info -------------------------------------------------------------------------------- /tests/AppStoreServerLibrary/resources/xcode/xcode-signed-transaction: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoels/app-store-server-library-php/HEAD/tests/AppStoreServerLibrary/resources/xcode/xcode-signed-transaction -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- 1 |