Exception: Property name: [zeroDollarVerification] is not a valid field for: [QuickBooksOnline\Payments\Modules\Card].
Closed this issue · 5 comments
Starting around 12/23/19 responses from the "getCard" method have started throwing this exception.
Here's more information on what a "Zero Dollar Verification" even is:
https://www.cardfellow.com/blog/visa-zero-dollar-verification-fee/
But since this value in the response isn't accounted for in the Card object, the exception is thrown instead of returning the expected response of secure credit card details.
@rogerd330 , can you post the actual exception? I didn't see it.
Type: RuntimeException
Code: 0
Message: Property name: [zeroDollarVerification] is not a valid field for: [QuickBooksOnline\Payments\Modules\Card]. Please check your keys.
File: /vendor/quickbooks/payments-sdk/src/Modules/Card.php
Line: 39
It probably is a new field Payments Team add. Let me check, if it is not presenting, I will add it to the SDK.
@hlu2 I was just about to submit a PR with the change :) It seems to fix the issue for me while testing locally.
@rogerd330 I saw the pull request. Thanks for contributing. Once I get confirmation from Payments Team, I will review your pull request, and merge it.