Re: Visa Payment Summary

oldawg
Regular Visitor

Visa Payment Summary

I'm using the Visa Checkout Android SDK. I'm creating a ManualCheckoutSession. Visa Checkout is launching and I'm able to get a VisaPaymentSummary back. When I try to use it, I'm trying to get the callId, lastFourDigits, and cardBrand. When I debug and view the VisaPaymentSummary, I see all three. When I try to assign the values to variables, the callId is assigned, but the lastFourDigits and cardBrand assign as the string "null". Has anyone else seen this?

8 REPLIES 8
API_Managers
Visa Developer Support Specialist

Re: Visa Payment Summary

Hi @oldawg,

 

I'll take a look and someone will get back to you soon!

 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Uday
Helper

Re: Visa Payment Summary

This is happening for me in newer version v6.3.0. 

VisaPaymentSummary -> getLastFourDigits(),getCardBrand() returns null. 

I see, 'partialPaymentInstrument' object though, but we have to do custom parsing. 

Please advise.  

API_Managers
Visa Developer Support Specialist

Re: Visa Payment Summary

Hi @Uday,

 

I will take a look and reach out to you soon.

 

                             




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Managers
Visa Developer Support Specialist

Re: Visa Payment Summary

Hi @Uday,                             

 

Thanks for contacting Visa Checkout Developer Support. Please submit an email inquiry to developer@visa.com directly. We will need more information to provide a response for this issue.

 

 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Managers
Visa Developer Support Specialist

Re: Visa Payment Summary

Hi @oldawg,                             

 

Thanks for contacting Visa Checkout Developer Support. Please submit an email inquiry to developer@visa.com directly. We will need more information to provide a response for this issue.

 

 

 

 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

oldawg
Regular Visitor

Re: Visa Payment Summary

We were able to do a workaround. As in the earlier post, trying to get the lastFourDigits returned null. We were able to get the json for partial payment and parse it.

API_Managers
Visa Developer Support Specialist

Re: Visa Payment Summary

Hi @oldawg,

 

Wonderful to hear of your workaround. Can you please share with us how you were able to get the json for partial payment and parse it? I'm sure some others will be excited to see.

 

                              




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

oldawg
Regular Visitor

Re: Visa Payment Summary

Sure.

 

The VisaPaymentSummary has a property "partialPaymentInstrument" that is a json string. If you parse it, you will see it has properties such as "lastFourDigits" and "paymentType". The "paymentType" property has a property "cardBrand". This workaround did it for me.