Cybersource print utils issue

Solved! Go to solution
Vijaypc
Regular Visitor

Cybersource print utils issue

Hi Team,

 

As we are integrating new MDD fields with new cybsource_client.jar which is available in ATG11.0. We downloaded Devloper tools kit from cyber-source site, where we got CyberSourceIntegration folder which has latest code changes. When we integrate the same folder in our project, we are getting below error. Issue happens when we enable logdebug only. 

 

Caused by: java.lang.NoSuchMethodError: com.cybersource.stub.Item.getQuantity()Ljava/math/BigInteger;
at atg.integrations.cybersourcesoap.CyberSourcePrintUtils.appendItems(Unknown Source) [_CyberSourceIntegration_slib_sclasses.jar:]
at atg.integrations.cybersourcesoap.CyberSourcePrintUtils.printRequest(Unknown Source) [_CyberSourceIntegration_slib_sclasses.jar:]
at atg.integrations.cybersourcesoap.cc.processor.ProcSendRequest.runCreditCardProcess(Unknown Source) [_CyberSourceIntegration.CreditCard_slib_sclasses.jar:]

 

Can anybody help me on this !

7 REPLIES 7
vkamboj
Community Moderator

Re: Cybersource print utils issue

Hi @Vijaypc

 

I am working on your request and will get back to you soon. 

 

Thank you, 

Vaibhav 

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

Re: Cybersource print utils issue

Hi @Vaibhav/@vkamboj,

Thanks for replying. Please update me once you found the resolution. Waiting for response.

 

Thanks,

Vijay

Vijaypc
Regular Visitor

Re: Cybersource print utils issue

Hi Team,

 

Any updates for this issue. please let me the solution. 

 

Thanks,

Vijay

vkamboj
Community Moderator

Re: Cybersource print utils issue

Hello @Vijaypc

 

Thank you for your patience. To further debug the issue, can you provide complete request fields and values?

 

Thank you, 

Vaibhav 

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

Re: Cybersource print utils issue

Hey @Vijaypc - were you able to figure this out? Let us know how we can help.




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

Re: Cybersource print utils issue

Hi Team,

As u requested for complete request fields and values , please find the below request xml when we disable CybersourcePrintUtil class to print request. But when enable CyberSourcePrintUtil class we come across the above mentioned error. Still issue exists. Please help us in resolving the issue.

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.153"><merchantID>XYZ</merchantID><merchantReferenceCode>ABCD11018123</merchantReferenceCode><invoiceHeader><tenderType>private1</tenderType></invoiceHeader><billTo><firstName>vijay</firstName><lastName>test</lastName><street1>testtt</street1><city>test</city><state>test</state><country>AB</country><phoneNumber>1234567899</phoneNumber><email>xyz@abc.com</email><ipAddress></ipAddress><customerID>1233333</customerID></billTo><shipTo><firstName>vijay</firstName><lastName>test</lastName><street1>testtt</street1><city>test</city><state>test</state><country>AB</country><phoneNumber>1234567899</phoneNumber><email>xyz@abc.com</email></shipTo><item id="0"><unitPrice>9900.0</unitPrice><quantity>1</quantity><productCode>123456</productCode><productName>testtt</productName><productSKU>123445</productSKU><totalAmount>9900.0</totalAmount></item><purchaseTotals><currency>USD</currency><discountAmount>0.0</discountAmount><taxAmount>0.0</taxAmount><grandTotalAmount>9900.0</grandTotalAmount><freightAmount>165.0</freightAmount></purchaseTotals><card><accountNumber>5282097117</accountNumber></card><decisionManager><enabled>true</enabled></decisionManager><merchantDefinedData><field1>internet</field1><field2>1</field2><field3>home shipping</field3><field4>3</field4><field5>N</field5><field6>2019-02-27T04:33:06.840</field6><field7>c60eefb9e968ecd1b152680899626ef394db413c</field7><field9>58</field9><field10>TEST_TEST</field10><field11>79398083</field11><field12>CARD</field12><field13>N</field13><field16>0.00%</field16><field17>test</field17><field19>135</field19><field20>135</field20><mddField id="21">79398083</mddField></merchantDefinedData><afsService run="true"/><businessRules><ignoreAVSResult>false</ignoreAVSResult></businessRules><deviceFingerprintID>1234567</deviceFingerprintID></requestMessage></soapenv:Body></soapenv:Envelope>

 

please let me know if you need anything. Waiting for Response. 

 

Thanks,

Vijay

vkamboj
Community Moderator

Re: Cybersource print utils issue

Hi @Vijaypc

 

You would need to work with CyberSource support team to get help on SOAP integration.

You need to be signed merchant to get this support.

 

Please use the link below to contact CYBS Support team. 

 

https://www.cybersource.com/about/contact_us/

 

Thank you, 

Vaibhav 

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

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