Skip to content

Commit a6ea189

Browse files
committed
NEXT-37028 - Fixes for app-sdk 4.0
1 parent 73652d5 commit a6ea189

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/ArgumentValueResolver/ContextArgumentResolver.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function resolve(Request $request, ArgumentMetadata $argument): iterable
121121
RefundAction::class => yield $this->contextResolver->assemblePaymentRefund($psrRequest, $shop),
122122
StorefrontAction::class => yield $this->contextResolver->assembleStorefrontRequest($psrRequest, $shop),
123123
CheckoutGatewayAction::class => yield $this->contextResolver->assembleCheckoutGatewayRequest($psrRequest, $shop),
124-
FilterAction::class => yield $this->contextResolver->assembleInAppFeatureFilterRequest($psrRequest, $shop),
124+
FilterAction::class => yield $this->contextResolver->assembleInAppPurchasesFilterRequest($psrRequest, $shop),
125125
default => throw new \RuntimeException(sprintf('Unsupported type %s', $type)),
126126
};
127127
}

src/Resources/config/services.xml

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
<service id="Shopware\App\SDK\Authentication\RequestVerifier"/>
3131
<service id="Shopware\App\SDK\Authentication\ResponseSigner"/>
3232

33+
<service id="Symfony\Component\Cache\Psr16Cache">
34+
<argument type="service" id="cache.app"/>
35+
</service>
36+
3337
<service id="Shopware\App\SDK\Context\InAppPurchase\SBPStoreKeyFetcher">
3438
<argument type="service" id="Psr\Http\Client\ClientInterface"/>
3539
<argument type="service" id="Symfony\Component\Cache\Psr16Cache"/>

0 commit comments

Comments
 (0)