intuit/PHP-Payments-SDK

Exception: Property name: [status] is not a valid field for: [QuickBooksOnline\Payments\Modules\Card]. Please check your keys.

Closed this issue · 2 comments

Starting at ~7:45pm (central time) I started getting the exception when calling PaymentClient->getAllCardsFor($customer_id).

My simply adding the $status property to the Modules\Card class, the error goes away and requests seem to be processing normally.

I'm guessing the API team released something new today for the SDK to handle.

Same thing happened to me and I added the same change to Modules\Card, and it fixed it. It seems like there are others that have had similar issues, and the devs haven't released a new package yet, although they released the server-side changes.

We have handled this in our latest release v1.0.8