$customer->cards() will return new OmiseCardList, and set $publickey & $secretkey to it.
however, it didn't call self::getInstance to set $instances array with keys, when $customer->cards()->retrieve (OmiseCardList@retrieve) , here call self::getResourceKey(), will receive empty or ENV key, not code var key.
Please make sure if this is a bug or a problem with my code.
Code like this:
$customer->cards()
will return new OmiseCardList, and set $publickey & $secretkey to it.however, it didn't call self::getInstance to set $instances array with keys, when
$customer->cards()->retrieve
(OmiseCardList@retrieve) , here callself::getResourceKey()
, will receive empty or ENV key, not code var key.Please make sure if this is a bug or a problem with my code.
omise-php 2.17.0 php 8.2