Download the PHP package remp/crm-apple-appstore-module without Composer
On this page you can find all versions of the php package remp/crm-apple-appstore-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download remp/crm-apple-appstore-module
More information about remp/crm-apple-appstore-module
Files in remp/crm-apple-appstore-module
Package crm-apple-appstore-module
Short Description CRM Apple AppStore Module
License MIT
Homepage https://remp2030.com
Informations about the package crm-apple-appstore-module
Apple AppStore Module
Installation
We recommend using Composer for installation and update management. To add CRM Apple AppStore extension to your REMP CRM application use following command:
Enable installed extension in your app/config/config.neon
file:
Add database tables and seed Apple AppStore payment gateway and its configuration:
Configuration
Module uses default implementation of ServerToServerNotificationProcessorInterface
to match notification with system's user and subscription type.
- If subscription type cannot be matched, processor returns an error and doesn't acknowledge the notification.
- If user cannot be matched, processor creates anonymous unclaimed user _(user with
user_meta
flagUnclaimedUser::META_KEY
set to true)_. This is needed to fulfill Apple's rules - user registration cannot be prerequisite of iOS in-app purchases.
If you want to control this process and match the user/subscription type based on your own criteria, or if you want to acknowledge the notification but skip the processing if user/subscription type cannot be matched, you can create your own implementation of interface and use it in your config file:
Enable Server-To-Server notifications
Apple Developer Documentation contains steps how to enable Server-to-Server Notification.
Support Notes
unified_receipt.latest_receipt_info.quantity
must be 1. We allow only one subscription per payment.
All versions of crm-apple-appstore-module with dependencies
aporat/store-receipt-validator Version ^4.2
readdle/app-store-server-api Version ^3.5