Skip to content

Commit fce042d

Browse files
OctopusDeploy release: 14.2.14
1 parent c508817 commit fce042d

File tree

6 files changed

+83
-3
lines changed

6 files changed

+83
-3
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
# Changelog
22

3-
## Latest Version - V14.2.13 (03/27/2025)
3+
## Latest Version - V14.2.14 (04/03/2025)
4+
### Enhancements
5+
- [Portico] - Added variable to Transaction for splitTenderBalanceDueAmt, rewards, and notes.
6+
- [Portico] - Added the parsing of these values to PorticoConnector.
7+
8+
### Bug Fixes
9+
- [Vaps] - Added fix to skip the Bin validation for Visa Ready Link if POS sends cardType as "VisaReadyLink" (10352).
10+
11+
## V14.2.13 (03/27/2025)
412
### Bug Fixes
513
- [Vaps] - Added a fix to set the original batchNumber into a datacollect transaction through TransactionReference object.
614
- [Vaps] - Updated DE 12 dateTime function for non-original transaction.
715
- [Vaps] - Updated the datetime retrieval method from datetime.now() to localdatetime.now() for internal data collect DE 12 tag (10349).
16+
- [UPA] - Cleaned up related files in regards to their use of lombok getters and setter.
17+
- [PAX] - Added a null check on the card type in the account response from Pax Devices.
818

919
## V14.2.12 (02/27/2025)
1020
- [NTS] -Fix issue 10348 : Updated the default value space to 0 for Voyager EMV non-fuel product types.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.heartlandpaymentsystems</groupId>
55
<artifactId>globalpayments-sdk</artifactId>
6-
<version>14.2.13</version>
6+
<version>14.2.14</version>
77
<packaging>jar</packaging>
88
<name>Heartland &amp; Global Payments SDK</name>
99
<description>API for processing payments through Global Payments</description>

src/main/java/com/global/api/entities/Transaction.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ public class Transaction {
7474
@Getter private List<FundsAccountDetails> transferFundsAccountDetailsList;
7575
@Getter @Setter private CardIssuerResponse cardIssuerResponse;
7676
private BigDecimal pointsBalanceAmount;
77+
private BigDecimal splitTenderBalanceDueAmt;
78+
private String rewards;
79+
private String notes;
7780
private Transaction preAuthCompletion;
7881
private String recurringDataCode;
7982
private String referenceNumber;
@@ -569,6 +572,30 @@ public void setPointsBalanceAmount(BigDecimal pointsBalanceAmount) {
569572
this.pointsBalanceAmount = pointsBalanceAmount;
570573
}
571574

575+
public BigDecimal getSplitTenderBalanceDueAmt() {
576+
return splitTenderBalanceDueAmt;
577+
}
578+
579+
public void setSplitTenderBalanceDueAmt(BigDecimal splitTenderBalanceDueAmt) {
580+
this.splitTenderBalanceDueAmt = splitTenderBalanceDueAmt;
581+
}
582+
583+
public String getRewards() {
584+
return rewards;
585+
}
586+
587+
public void setRewards(String rewards) {
588+
this.rewards = rewards;
589+
}
590+
591+
public String getNotes() {
592+
return notes;
593+
}
594+
595+
public void setNotes(String notes) {
596+
this.notes = notes;
597+
}
598+
572599
public String getPosDataCode() {
573600
if(transactionReference != null) {
574601
return transactionReference.getPosDataCode();

src/main/java/com/global/api/gateways/PorticoConnector.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -945,6 +945,9 @@ private Transaction mapResponse(String rawResponse, IPaymentMethod paymentMethod
945945
result.setCvnResponseMessage(root.getString("CVVRsltText"));
946946
result.setEmvIssuerResponse(root.getString("EMVIssuerResp"));
947947
result.setPointsBalanceAmount(root.getDecimal("PointsBalanceAmt"));
948+
result.setSplitTenderBalanceDueAmt(root.getDecimal("SplitTenderBalanceDueAmt"));
949+
result.setRewards(root.getString("Rewards"));
950+
result.setNotes(root.getString("Notes"));
948951
result.setRecurringDataCode(root.getString("RecurringDataCode"));
949952
result.setReferenceNumber(root.getString("RefNbr"));
950953
result.setCardBrandTransactionId(root.getString("CardBrandTxnId"));

src/main/java/com/global/api/paymentMethods/CreditTrackData.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ public String getValue() {
100100
public void setValue(String value) {
101101
this.value = value;
102102
CardUtils.parseTrackData(this);
103-
this.cardType = CardUtils.mapCardType(pan);
103+
if (!cardType.equals("VisaReadyLink")) {
104+
this.cardType = CardUtils.mapCardType(pan);
105+
}
104106
this.fleetCard = CardUtils.isFleet(cardType, pan);
105107

106108
if(cardType.equals("WexFleet") && discretionaryData != null && discretionaryData.length() >= 8) {

src/test/java/com/global/api/tests/network/vaps/VapsDebitTests.java

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1551,4 +1551,42 @@ public void test_debit_sale_capture() throws ApiException {
15511551
assertEquals("000", capture.getResponseCode());
15521552
}
15531553

1554+
@Test
1555+
public void test_visaReadyLink_Data_Collect_withCardType_completion_order1() throws ApiException {
1556+
CreditTrackData track = new CreditTrackData();
1557+
track.setValue(";4009081122223335=25121010000012345678?");
1558+
track.setCardType("VisaReadyLink");
1559+
1560+
Transaction response = track.addValue(new BigDecimal(10))
1561+
.withCurrency("USD")
1562+
.execute();
1563+
assertNotNull(response);
1564+
assertEquals("000", response.getResponseCode());
1565+
1566+
Transaction dataCollectResponse = response.preAuthCompletion(new BigDecimal(10))
1567+
.withCurrency("USD")
1568+
.execute();
1569+
assertNotNull(dataCollectResponse);
1570+
// check response
1571+
assertEquals("000", dataCollectResponse.getResponseCode());
1572+
}
1573+
@Test
1574+
public void test_visaReadyLink_Data_Collect_withCardType_completion_order2() throws ApiException {
1575+
CreditTrackData track = new CreditTrackData();
1576+
track.setCardType("VisaReadyLink");
1577+
track.setValue(";4009081122223335=25121010000012345678?");
1578+
1579+
Transaction response = track.addValue(new BigDecimal(10))
1580+
.withCurrency("USD")
1581+
.execute();
1582+
assertNotNull(response);
1583+
assertEquals("000", response.getResponseCode());
1584+
1585+
Transaction dataCollectResponse = response.preAuthCompletion(new BigDecimal(10))
1586+
.withCurrency("USD")
1587+
.execute();
1588+
assertNotNull(dataCollectResponse);
1589+
// check response
1590+
assertEquals("000", dataCollectResponse.getResponseCode());
1591+
}
15541592
}

0 commit comments

Comments
 (0)