Closed dinkelspiel closed 9 months ago
Hi!
I stumbled into this myself. After checking the source, i found you need to specify that you are targeting the MSS-environment.
You specify the MSS url like this:
$client = Client::make($rootCert, $clientCert, Client::SWISH_TEST_URL);
I added a comment to the example in the README to make this a bit easier to discover.
When i try to send a create payment request using this code
i get
the
client-cert.pem
is a file where i've created which is a concatenation ofSwish_Merchant_TestCertificate_1234679304.key
andSwish Merchant Test Certificate 1231181189.pem
where the .key file is added first.