I use the test .env MOLLIE_KEY beginning with 'test_', but it's not enough while doing authentication through OAuth - it's necessary to pass the 'testmode' parameter. I can see in the code:
$options["testmode"] = $this->mode === "test" ? true : false;
but how to set the $this->mode? There is no setMode() method and while issuing:
$payment = Mollie::api()->payments->create([
// ...
there is no place to set the mode either.
I use the test .env MOLLIE_KEY beginning with 'test_', but it's not enough while doing authentication through OAuth - it's necessary to pass the 'testmode' parameter. I can see in the code:
but how to set the
$this->mode? There is nosetMode()method and while issuing:there is no place to set the mode either.