Hello, we're using String-php v1.18.0, and I'm trying to update customer information through Stripe API, and according to the
documentation, this can be done like this:
\Stripe\Stripe::setApiKey("sk_test_IQJ1661sgZIUesKzSzUxnVRr");
\Stripe\Customer::update(
'cus_9gpuhuCtsI9GAK',
[
'metadata' => ['order_id' => '6735'],
]
);
But when I added this in my code, it does not work. No errors but it's just doing nothing. So I looked into the code of Customer.php, there's no function called "update", would this be the reason? Is updating customer a newer feature? Is there a way to update customer information with stripe-php v1.18.0?
Thank you!