Misc PHP errors to fix for D10 compatibility

Created on 1 December 2023, 7 months ago
Updated 2 December 2023, 7 months ago

Problem/Motivation

I am seeing a few issues when trying to add the "Paykings" Gateway:

TypeError: Drupal\commerce_paykings\Plugin\Commerce\PaymentGateway\PayKingsFrame::__construct(): Argument #8 ($payKingsRestApiClient) must be of type Drupal\commerce_paykings\Client\PayKingsRestApiClientInterface, Drupal\commerce_paykings\Client\PayKingsClient given, called in /var/www/html/web/modules/contrib/commerce_paykings/src/Plugin/Commerce/PaymentGateway/PayKingsFrame.php on line 127 in Drupal\commerce_paykings\Plugin\Commerce\PaymentGateway\PayKingsFrame->__construct() (line 87 of /var/www/html/web/modules/contrib/commerce_paykings/src/Plugin/Commerce/PaymentGateway/PayKingsFrame.php).

Steps to reproduce

- Install the commerce_paykings module, try to add a new gateway, select "Paykings (Credit Card)" or "PayKings Frame"

Proposed resolution

- Fix the D10 compatibility issues

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada danrod

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024