Push Fund Transaction SDK not working

Solved! Go to solution
API_Products
Visa Developer Support Specialist

Re: Push Fund Transaction SDK not working

Hey @mpays4visa,

 

Thanks for providing this info. I've sent it over to the engineering team to take a look at.

 




Thanks,

Diana H.



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_Products
Visa Developer Support Specialist

Re: Push Fund Transaction SDK not working

Hey @mpays4visa,

 

Please check sender PAN senderPrimaryAccountNumber, error details below:

 

 

at [Source: (String)"{"systemsTraceAuditNumber":451018,"retrievalReferenceNumber":"XXXX","localTransactionDateTime":"2016-11-17T00:39:13","acquiringBin":408999,"acquirerCountryCode":840,"senderReference":"","senderAccountNumber":"XXXX","senderCountryCode":"124","transactionCurrencyCode":"USD","senderName":"Mohammed Qasim","senderAddress":"XXXX","senderCity":"XXXX","senderStateCode":"XXXX","senderPostalCode":null,"senderFirstName":XXXX,"senderMiddleInitial":null,"senderLastNa"[truncated 1075 chars]; line: XXXX, column: 1521] (through reference chain: com.visa.vpp.api.oct.OctV2V2Request["senderPrimaryAccountNumber"]) com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "senderPrimaryAccountNumber" (class com.visa.vpp.api.oct.OctV2V2Request), not marked as ignorable (63 known properties: "nationalReimbursementFee", "surcharge", "accountType", "purchaseIdentifier", "optionalResponseParameters", "senderIdentificationNumberBusiness", "integratedCircuitCardData", "feeProgramIndicator", "senderReference", "cardAcceptor", "transactionCurrencyCode", "retrievalReferenceNumber", "senderAccountNumber", "settlementServiceIndicator", "recipientCity", "senderDateOfBirth", "senderFirstName", "acquirerCountryCode", "sourceOfFundsCode", "recipientCardExpiryDate", "businessApplicationId", "recipientPrimaryAccountNumber", "localTransactionDateTime", "secondaryId", "vauFlag", "messageReasonCode", "senderMiddleInitial", "magneticStripeData", "chipConditionCode", "senderCity", "recipientFirstName", "systemsTraceAuditNumber", "recipientName", "recipientCountryCode", "recipientMiddleInitial", "amount", "pinData", "senderName", "senderIdentificationNumberIndividual", "pointOfServiceCapability", "otherEmailAddress", "senderStateCode", "senderPostalCode", "discountPromotionCode" [truncated]]) at [Source: (String)"{"systemsTraceAuditNumber":451018,"retrievalReferenceNumber":"412770451018","localTransactionDateTime":"2016-11-17T00:39:13","acquiringBin":408999,"acquirerCountryCode":840,"senderReference":"","senderAccountNumber":"4653459515756154","senderCountryCode":"124","transactionCurrencyCode":"USD","senderName":"Mohammed Qasim","senderAddress":"901 Metro Center Blvd","senderCity":"Foster City","senderStateCode":"CA","senderPostalCode":null,"senderFirstName":null,"senderMiddleInitial":null,"senderLastNa"[truncated 1075 chars]; line: 1, column: 1521] (through reference chain: com.visa.vpp.api.oct.OctV2V2Request["senderPrimaryAccountNumber"]) at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61) at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:823) at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1153) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1589) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1567) at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:294) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)

 




Thanks,

Diana H.



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

mpays4visa
Helper

Re: Push Fund Transaction SDK not working

Hi,

Thanks for the deserialization pointer. We tweaked our data set and got this working. However, the error message that was sent in the last mail was not the issue. One or more of the common data in the test data was not getting serialized in the right manner. We hard coded all the common values in our source code, and it worked fine. And we did not touch the sender account number. It is still the same code as it was since the last two weeks.

 

The only plus point from this issue resolution is that the code is now working. What I understood from this issue resolution is that the data being passed in the Visa API internally gets converted to Jackson JSON data, and if the data does not fit the Jackson serialization rules, it will throw a technical exception.

 

Thanks for the long support that you provided us the past week. It was indeed helpful.

API_Products
Visa Developer Support Specialist

Re: Push Fund Transaction SDK not working

Hey @mpays4visa,

 

Thanks for letting us know that you're now getting successful results! Can you please share with us the successful code that you have tweaked and got to work? It'd be nice to see what you did! Thanks so much 🙂

 




Thanks,

Diana H.



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

mpays4visa
Helper

Re: Push Fund Transaction SDK not working

Hi,

 

There is no change in the SDK.

We chose to use a CSV file to copy the contents of your test data (directly from the HTML tables into Microsoft Excel) and load the csv data set into the Java runtime (Obviously to save time) . But looks like there must be some (not clearly visible ) characters being copied into the CSV from HTML. Instead, we copied the contents one by one into a properties file and executed the SDK. It worked.

API_Products
Visa Developer Support Specialist

Re: Push Fund Transaction SDK not working

Hey @mpays4visa,

 

Brilliant! Thanks for letting us know. Have a wonderful weekend!

 




Thanks,

Diana H.



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