Skip to content

Releases: remp2020/crm-apple-appstore-module

2.5.0

21 Apr 12:25
Compare
Choose a tag to compare
  • Fixed data-integrity issue for renewals which were stopped by system (multiple failures) but Apple was still able to charge them later. remp/crm#2807

2.2.0

27 Jan 12:35
Compare
Choose a tag to compare
  • Fixed scenario when late S2S notification would cause system to create a payment for already expired subscription. remp/crm#2679

2.1.0

25 Nov 14:00
Compare
Choose a tag to compare
  • Added support to enforce gateway mode during online verification via payload. remp/dn-mofa#474
  • Changed the registration of widgets - module now uses improved LazyWidgetManager and all widgets extend BaseLazyWidget class. remp/crm#2075

2.0.0

26 Aug 13:39
Compare
Choose a tag to compare
  • BREAKING: Changed PHP version requirement to 8.0. remp/crm#2519
  • Fixed unnecessary warning regarding exclude_old_transactions option in Apple's validation request. remp/crm#2515
  • Fixed possibly discarded server-to-server notification if both cancellation and subscription fields are present. remp/crm#2516

1.1.0

02 Jun 06:41
Compare
Choose a tag to compare
  • Fixed processing of INTERACTIVE_RENEWAL server to server notification. remp/crm#2396
    • Notification processing could wrongly log an error that purchased payment starts before previous subscription ends.
  • Fixed processing of CANCEL server to server notification. remp/crm#2400
    • Apple is not able to deliver the notification based on their documentation. Fix changes the handling to be compatible with documentation and also the real state.
  • Added locale parameter into API call /api/v1/apple-appstore/verify-purchase. remp/crm#2308
  • Added payload into log within ServerToServerNotificationWebhookApiHandler if validator/parser doesn't return errors but notification is not processed. remp/crm#2437

1.0.0

31 Mar 08:36
Compare
Choose a tag to compare

Changelog

  • Added handling of subscription type selection for trial subscriptions. #1
    • Non-trial subscriptions now honour "next subscription type" setting of the subscription type.
  • Changed translation files. remp/crm#2276
    • Switch tabs to 4 spaces. Weblate can parse only YAML format (doesn't support tabs).
    • Change extension from NEON to YML.
  • Added fallback when processing DID_CHANGE_RENEWAL_STATUS notification type. In case of missing payment, new payment is created. remp/heldpesk#1130
  • Fixed "Missing original transaction ID" error generated by user data check. remp/crm#2323
    • Apple payment metadata were incorrectly checked also for unfinished payments.
  • Fixed log message about already logged appstore's notification due to the shared memory of webhook handler. remp/crm#2321
  • Changed API handlers (non breaking). remp/crm#2342
    • Changed return type of handle() from Crm\ApiModule\Response\ApiResponseInterface to Tomaj\NetteApi\Response\ResponseInterface.
    • Changed deprecated Crm\ApiModule\Api\JsonResponse to Tomaj\NetteApi\Response\JsonApiResponse.

Nette 3.0

  • Changed Compiler::loadDefinitions() (deprecated) to CompilerExtension->loadDefinitionsFromConfig(). remp/crm#1979

Nette 3.1

  • Changed deprecated Nette\Caching\IStorage to Nette\Caching\Storage. remp/crm#1979
  • Changed deprecated Nette\Database\Context to Nette\Database\Explorer. remp/crm#1979
  • Changed deprecated Nette\Database classes. Nette\Database\IRow and Nette\Database\Table\IRow are deprecated. Using Nette\Database\Table\ActiveRow instead. remp/crm#1979
  • Changed deprecated Nette\Localization\ITranslator to Nette\Localization\Translator. remp/crm#1979

0.38.0

11 Feb 23:08
Compare
Choose a tag to compare
  • Added deleting purchase or subscription metadata if account was anonymised. remp/crm#2154
  • Fixed directory names to follow PSR-4 standard. Namespaces weren't changed (no breaking change). remp/crm#2228

0.36.0

18 Nov 13:40
Compare
Choose a tag to compare
  • Fixed inconsistency in placeholder emails. Added prefix apple_appstore_ to unclaimed users created from ServerToServerNotificationProcessor to unite it with unclaimed users created from VerifyPurchaseApiHandler. Already created users are not changed. remp/crm#2110
  • Fixed array_flip-related warning generated on places which used AppleSignIn auth model and Apple sign in was not configured. remp/crm#2128

0.35.0

25 Oct 12:03
Compare
Choose a tag to compare
  • BREAKING: Bump minimal PHP version to 7.4. remp/crm#2068

0.34.0

06 Oct 11:16
Compare
Choose a tag to compare
  • Fixed possible undefined index property during error handling if request from Apple is empty. remp/crm#2015
  • Added support for trusted client IDs allowing apps to have different clientId than the web application. remp/crm#2016
  • Changed exception returned by AppleAppstoreGateway->checkExpire() from \Exception() to Omnipay\Common\Exception\InvalidRequestException which is used by all our gateways if checkExpire() is missing.