Jul 18, 2019
0
Level 7
Cashier Update Card Error: You cannot set 'id'to an empty string. We interpret empty strings as NULL in requests. You may set obj->id = NULL to delete the property
Hi all,
Just had this error from Stripe when a user tried to update their card. I'm using Laravel Cashier on Laravel 5.2. (Currently in the process of upgrading to 5.8 and implementing the new SCA implementation in development.)
Has anybody seen this before?
$user->updateCard($request->stripeToken);
Response:
"You cannot set 'id'to an empty string. We interpret empty strings as NULL in requests. You may set obj->id = NULL to delete the property"
Only thing I have found is this thread but haven't got any further yet.
https://github.com/stripe/stripe-php/issues/379
Thanks!
Please or to participate in this conversation.