Happy Business Starts Here

Re: How to query CreditCardHolderName

Highlighted
New Student

How to query CreditCardHolderName

Hi!

I'm trying to create a query to get AccountId and PaymentMethodStatus from PaymentMethod. My ZOQL query looks like: 

 

 

select AccountId, PaymentMethodStatus from PaymentMethod where CreditCardHolderName='Ana Castro'

^ this query throws an error. But if I do: 

 

select AccountId, PaymentMethodStatus from PaymentMethod where CreditCardHolderName='Ana'

 

^ that works well, and it retrieves the values. Seems like I cannot query the card holder name if it has a space/tab in it?

Any help will be appreciated. Thanks!

 

 

1 REPLY 1
Highlighted
Zuora Support

Re: How to query CreditCardHolderName

@anymoto I tested your query with a similar filter (with a space) and it worked fine. I recommend that you reached out to Zuora Support for further help.



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √