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 22777c7 commit 4276beeCopy full SHA for 4276bee
1 file changed
src/Client.php
@@ -5,6 +5,7 @@
5
use Cone\SimplePay\Api\TransactionApi;
6
use GuzzleHttp\Client as Http;
7
use GuzzleHttp\ClientInterface;
8
+use GuzzleHttp\HandlerStack;
9
10
class Client
11
{
@@ -64,9 +65,14 @@ public function config(): Configuration
64
65
*/
66
public function client(): ClientInterface
67
- $client = new Http();
68
+ $stack = HandlerStack::create();
69
- //
70
+ // Siganture Header middleware
71
+ // Form data middleware
72
+
73
+ $client = new Http([
74
+ 'handler' => $stack,
75
+ ]);
76
77
return $client;
78
}
0 commit comments