--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jpos-users/CAKxXs%2BM7GOcQtoR%3DwNXCeNFw-GT_VENasp37yK5rcXNUZKXKRQ%40mail.gmail.com.
--
--
Field 34 – Acceptance Environment
Data (TLV Format)
Field 34 – Attributes
variable length
2 bytes, binary
1535 bytes, variable by usage, maximum 1537 bytes
Note: ISO definition supports 9999 bytes.
Field 34 – Description
This field contains acceptance environment data.
The datasets, which are in TLV format, can have multiple subelements. The TLV format is shown
below.
Positions:
1 2-3 4-1535
Subfield 1:
length
Subfield 2:
dataset ID
Subfield 3:
dataset length
Subfield 4:
TLV Subfields
Byte 1-2 Byte 3 Byte 4-5 Byte 6-1537
Length Subfield: 2-byte binary subfield that contains the number of bytes in this field.
Field 34 has the capacity to hold up to 9999 bytes. However, V.I.P. currently only supports
a maximum length of 1535 bytes.
Position 1, Dataset ID: This one-byte binary subfield contains a hexadecimal value that
identifies the TLV data that follows. Values:
l Dataset ID 01, Authentication Data
l Dataset ID 02, Acceptance Environment Additional Data
l Dataset ID 03, Additional Service Request Data
l Dataset ID 04, Additional Service Result Data
l Dataset ID 06, Device Platform Data
21 October 2024 Visa Confidential 209VisaNet Authorization-Only Online Messages – Technical Specifications
Data Field Descriptions
l Dataset ID 07, Device Common Data
l Dataset ID 56, Supplemental Data
l Dataset ID 4A, EU PSD2 Strong Consumer Authentication and Common and Secure
Communication
Positions 2-3, Dataset Length: This 2-byte binary subfield specifies the total length of the TLV
fields present in the dataset. The length is variable, depending on the data that follows.
Positions 4-1535, TLV Data: Each subfield of a dataset has a defined tag, length, and value. The
tag is used with the dataset ID value. The dataset subfields can be present in any order with
other TLV subfields.
The TLV format is used by all clients regardless of region.
To view this discussion visit https://groups.google.com/d/msgid/jpos-users/CAACHDe28yHyS1SCS2EUt6WCaTm_kZZWQRirmSkudN_Ho6qYuhw%40mail.gmail.com.
The spec is the spec, you can't change it and hope Visa will accept it they won't.
The extract you shared states that specifically...
'
Field 34 has the capacity to hold up to 9999 bytes. However, V.I.P. currently only supports
a maximum length of 1535 bytes.
'
Check you have the right data, drop fields or check you are try to present the right thing.
Your Visa contact will be able to advise! I assure you that you don't need to do what you are trying to do.
--
Mark
To view this discussion visit https://groups.google.com/d/msgid/jpos-users/CAKxXs%2BO-nHqz%3Daw3u0D4AUdN1v3SrVkQx6%3D_b5Ww9rFtcX0qdA%40mail.gmail.com.
'They' are?
First you have mentioned needing to receive a message.
'They' (or you) need to comply with the visa spec if Visa are the source or the target.
--
Mark
To view this discussion visit https://groups.google.com/d/msgid/jpos-users/CAKxXs%2BN-YUEwZqgKEugwxONh7HK3aH%2BrUE-7UPyoN_sR_A%3DrzQ%40mail.gmail.com.
Ask Visa for the specification their message complies with.
You have the wrong spec or are misparsing their message.
Check with Visa first for their spec and while waiting for a response check your packager.
--
Mark
To view this discussion visit https://groups.google.com/d/msgid/jpos-users/CAKxXs%2BPYDH1or%3DMiSoHTmGSaiMuLfooQqh78gQzY9h-qtfWDAw%40mail.gmail.com.
Especially any fixed length fields present before these ones you are having trouble receiving.
--
Mark
We use de34 with the 1500 limit. If you don't pack the subfields correctly you will cross the limit.
You should show the hexdump of de34 by just setting the mti and de34 and include the contents of each tlv that you are setting.
-chhil