We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6485670 commit a23d91cCopy full SHA for a23d91c
src/Services/sdk/MoneiSdkClientFactory.php
@@ -22,8 +22,8 @@ public function get_client() {
22
if ( $this->client === null ) {
23
include_once WC_Monei()->plugin_path() . '/vendor/autoload.php';
24
$config = Configuration::getDefaultConfiguration();
25
- $config->setUserAgent( 'MONEI/WooCommerce/' . WC_Monei()->version );
26
$this->client = new MoneiClient( $this->apiKeyService->get_api_key(), $config );
+ $this->client->setUserAgent( 'MONEI/WooCommerce/'. WC_Monei()->version );
27
}
28
return $this->client;
29
0 commit comments