File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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);
Original file line number Diff line number Diff line change 99
1010final class PayPlugSyliusPayPlugPlugin extends Bundle
1111{
12- public const VERSION = '1.11.0 ' ;
12+ public const VERSION = '1.11.1 ' ;
1313
1414 use SyliusPluginTrait;
1515}
Original file line number Diff line number Diff line change 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" : {
You can’t perform that action at this time.
0 commit comments