Open mmachatschek opened 4 years ago
Can you try passing an array?
@sandervanhooft The plan model only accepts a string as payment method. Passing a array will lead in a PHP error.
/**
* @param string $firstPaymentMethod
* @return $this
*/
public function setFirstPaymentMethod(?string $firstPaymentMethod)
{
$this->firstPaymentMethod = $firstPaymentMethod;
return $this;
}
I create a small PR for this: https://github.com/laravel/cashier-mollie/pull/210
Thanks @chris-redbeed !
It is not possible to add a comma-separated list for the first payment method in the config. The comment says it is possible but not handled correctly in the code.
Should the comment be updated or the code adapted accordingly?