thephpleague / omnipay-common

Core components for the Omnipay PHP payment processing library
MIT License
329 stars 242 forks source link

require php-http/message-factory directly #261

Closed dbu closed 1 year ago

dbu commented 1 year ago

This library still uses the deprecated php-http message factories. They have been deprecated since a while in favor of PSR-17 message factories.

php-http/discovery no longer automatically installs php-http/message-factory.

This is a quickfix for the issue. The real fix will be to change to the PSR-17 RequestFactoryInterface in omnium http client and use Psr17FactoryDiscovery

WHITE-developer commented 1 year ago

@barryvdh Can you at least merge this? Our Craft Commerce sites are breaking without it.