- 🇨🇿Czech Republic jaroslav červený
I would need to upgrade the module to Drupal 10.
I have prepared a patch for this purpose.
Please test it.
note: I desire to install module using composer.
- 🇨🇿Czech Republic jaroslav červený
I tested patch #4
Upgrade to drupal 10 and in status report I see message:GoPay: OAuth2 authentication
Token was not returned, credentials may be wrong.There will still be work to do.
- 🇨🇿Czech Republic vrotbauer
I laso tried patch #4 📌 Automated Drupal 10 compatibility fixes Needs review with local D10
I found some warnings that should preferably be eliminated
- the patch uses CRLF instead of LF
- after installation, before setting the module in configuration form, at /admin/config I get error :
Warning: Undefined array key "gatewayUrl" in GoPay\GoPay->getConfig() (line 28 of /var/www/html/vendor/gopay/payments-sdk-php/src/GoPay.php).
- dtto
Warning: Undefined array key "gatewayUrl" in GoPay\GoPay->buildUrl() (line 42 of /var/www/html/vendor/gopay/payments-sdk-php/src/GoPay.php).
- dtto
Deprecated function: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in GoPay\GoPay->buildUrl() (line 42 of /var/www/html/vendor/gopay/payments-sdk-php/src/GoPay.php).
but that looks really like SDK error that we cant fix - dtto at /admin/config/gopay/settings I get
Warning: foreach() argument must be of type array|object, null given in Drupal\Core\Render\Element\Checkboxes::valueCallback() (line 113 of core/lib/Drupal/Core/Render/Element/Checkboxes.php).
- First commit to issue fork.