Skip to content

Commit 3fc5f34

Browse files
Merge pull request #271 from payplug/qa
Release 1.11.1
2 parents 69713b7 + 0602fab commit 3fc5f34

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Controller/IpnAction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ public function __invoke(Request $request): JsonResponse
6868
$details = ArrayObject::ensureArrayObject($content);
6969

7070
// if we are too fast canceling a payment before we got an answer from PayPlug gateway
71-
if (null === $details['payment_id']) {
71+
if (null === $details['id']) {
7272
return new JsonResponse(null, Response::HTTP_UNAUTHORIZED);
7373
}
7474

75-
$payment = $this->paymentRepository->findOneByPayPlugPaymentId($details['payment_id']);
75+
$payment = $this->paymentRepository->findOneByPayPlugPaymentId($details['id']);
7676
$paymentMethod = $payment->getMethod();
7777

7878
Assert::isInstanceOf($paymentMethod, PaymentMethodInterface::class);

src/PayPlugSyliusPayPlugPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
final class PayPlugSyliusPayPlugPlugin extends Bundle
1111
{
12-
public const VERSION = '1.11.0';
12+
public const VERSION = '1.11.1';
1313

1414
use SyliusPluginTrait;
1515
}

src/Resources/dev/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sylius-payplug-plugin",
3-
"version": "1.11.0",
3+
"version": "1.11.1",
44
"description": "Sylius Payplug Plugin",
55
"source": "src/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)