Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: Property name: [zeroDollarVerification] is not a valid field for: [QuickBooksOnline\Payments\Modules\Card]. #14

Closed
rogerd330 opened this issue Jan 10, 2020 · 5 comments

Comments

@rogerd330
Copy link
Contributor

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.

@hlu2
Copy link
Contributor

hlu2 commented Jan 10, 2020

@rogerd330 , can you post the actual exception? I didn't see it.

@rogerd330
Copy link
Contributor Author

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

@hlu2
Copy link
Contributor

hlu2 commented Jan 10, 2020

It probably is a new field Payments Team add. Let me check, if it is not presenting, I will add it to the SDK.

@rogerd330
Copy link
Contributor Author

@hlu2 I was just about to submit a PR with the change :) It seems to fix the issue for me while testing locally.

@hlu2
Copy link
Contributor

hlu2 commented Jan 10, 2020

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants