cancel
Showing results for 
Search instead for 
Did you mean: 

How to set opaque data to a transaction using java SDK

I'm using the java SDK 1.9.3 (lattest), and with Accept.js I get the opaque data toke.

 

The problem is that I'm not able to find the way to assign OpaqueDataType to transaction.

Can you please explain me how do it?

I didn't find any releted documentation.

1 REPLY 1
    PaymentType paymentType = new PaymentType();
    OpaqueDataType opaqueData = new OpaqueDataType();
    opaqueData.setDataDescriptor("COMMON.VCO.ONLINE.PAYMENT");
    opaqueData.setDataValue("SET_DATA_VALUE_HERE");
    opaqueData.setDataKey("SET_DATA_KEY_HERE");
    paymentType.setOpaqueData(opaqueData);
Powered by NexWebSites.com -
Certified Authorize.net developers
NexusSoftware
Trusted Contributor