Add get response details

This commit is contained in:
Emili Castells Guasch 2025-01-29 16:51:12 +01:00
parent b6e5a0f3ab
commit 40edcdfc3d
2 changed files with 22 additions and 9 deletions

View file

@ -127,7 +127,9 @@ return array(
);
},
'settings.rest.pay_later_messaging' => static function ( ContainerInterface $container ) : PayLaterMessagingEndpoint {
return new PayLaterMessagingEndpoint();
return new PayLaterMessagingEndpoint(
$container->get( 'wcgateway.settings' )
);
},
'settings.rest.settings' => static function ( ContainerInterface $container ) : SettingsRestEndpoint {
return new SettingsRestEndpoint(