Skip to content

Commit 965431a

Browse files
committed
Added 25.2.0 changes from private repo.
1 parent 067dfd5 commit 965431a

File tree

20 files changed

+127
-95
lines changed

20 files changed

+127
-95
lines changed

documentation/CJL/CJL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## CJL - Core Java Library <!-- omit in toc -->
44

5-
**Version 25.1.0**
5+
**Version 25.2.0**
66
March 2025
77

88
## Contents <!-- omit in toc -->

documentation/sap-commerce.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## SAP Commerce <!-- omit in toc -->
55

6-
**Version 25.1.0**
6+
**Version 25.2.0**
77
March 2025
88

99
## Contents <!-- omit in toc -->
@@ -161,6 +161,7 @@ March 2025
161161
| March 2021 | 3.2.0 | - SAP Commerce upgrade to 2011 |
162162
| February 2024 | 24.1.0 | - Upgraded Cybersource REST Client SDK to version 0.0.58 |
163163
| March 2025 | 25.1.0 | - Dependencies version upgraded <br>- Security Scan Fixes <br>- Changed the authentication mechanism for SOAP API to P12 Authentication |
164+
| March 2025 | 25.2.0 | - Microform v2 upgrade |
164165

165166
### Audience and Purpose
166167

@@ -311,7 +312,7 @@ All technical installation concepts in this document are initial draft provided
311312
The following components are required:
312313

313314
1. SAP Commerce platform release v2011
314-
2. sap-commerce-payment-plugin-25.1.0.zip
315+
2. sap-commerce-payment-plugin-25.2.0.zip
315316
3. Java 11
316317
4. Required Dependencies installed in maven repository
317318

hybris/bin/b2b/isvb2bpaymentaddon/resources/isvb2bpaymentaddon.build.number

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ name=isvb2bpaymentaddon
55
builddate=20210318 1419
66
releasedate=20210318 1509
77
vendor=isv.sap
8-
version=25.1.0
8+
version=25.2.0
99
version.api=2011

hybris/bin/b2b/isvfulfilmentprocess/resources/isvfulfilmentprocess.build.number

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ name=isvfulfilmentprocess
55
builddate=20210318 1419
66
releasedate=20210318 1509
77
vendor=isv.sap
8-
version=25.1.0
8+
version=25.2.0
99
version.api=2011

hybris/bin/b2b/isvpayment/project.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ext.isvpayment.extension.usemaven=true
4444

4545
# Please contact your ISV Account representative to obtain a value for these fields
4646
isv.payment.customer.request.developer.id=<merchantID>
47-
isv.payment.customer.request.partnerSolution.id=GL89J8L0
47+
isv.payment.customer.request.partnerSolution.id=GM03SKIH
4848

4949
# The environment the code base is running on. Please update accordingly
5050
isv.payment.customer.request.client.environment=<environment>

hybris/bin/b2b/isvpayment/resources/isvpayment.build.number

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ name=isvpayment
55
builddate=20210318 1419
66
releasedate=20210318 1509
77
vendor=isv.sap
8-
version=25.1.0
8+
version=25.2.0
99
version.api=2011
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
build_version=25.1.0
1+
build_version=25.2.0
22
build_number=null

hybris/bin/b2b/isvpaymentaddon/resources/isvpaymentaddon.build.number

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ name=isvpaymentaddon
55
builddate=20210318 1419
66
releasedate=20210318 1509
77
vendor=isv.sap
8-
version=25.1.0
8+
version=25.2.0
99
version.api=2011

hybris/bin/b2b/isvpaymentsampledata/resources/isvpaymentsampledata.build.number

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ name=isvpaymentsampledata
55
builddate=20210318 1419
66
releasedate=20210318 1509
77
vendor=isv.sap
8-
version=25.1.0
8+
version=25.2.0
99
version.api=2011

hybris/bin/b2c/isvb2cpaymentaddon/acceleratoraddon/web/src/isv/sap/payment/addon/b2c/controllers/pages/checkout/payment/flex/FlexMicroformController.java

+13-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
import java.util.Map;
44
import javax.annotation.Resource;
55
import javax.servlet.http.HttpSession;
6-
6+
// import org.apache.commons.lang3.ObjectUtils;
7+
78
import com.cybersource.flex.sdk.CaptureContext;
89
import de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractCheckoutController;
910
import de.hybris.platform.commercefacades.order.data.AbstractOrderData;
@@ -40,6 +41,7 @@
4041

4142
//OLH: For Reflected XSS fix. Used to sanitize some text
4243
import org.apache.commons.text.StringEscapeUtils;
44+
import isv.sap.payment.addon.utils.AjaxResponse;
4345

4446
@Controller
4547
@RequestMapping(path = "/checkout/payment/flex")
@@ -67,18 +69,24 @@ public class FlexMicroformController extends AbstractCheckoutController
6769

6870
@GetMapping(value = "/newJwk", produces = MediaType.APPLICATION_JSON_VALUE)
6971
@ResponseBody
70-
public String newJwk(final HttpSession session, final UriComponentsBuilder uriComponentsBuilder)
72+
public AjaxResponse newJwk(final HttpSession session, final UriComponentsBuilder uriComponentsBuilder)
7173
{
7274
final String targetOrigin = uriComponentsBuilder
7375
.replacePath(null).replaceQuery(null).userInfo(null).fragment(null)
7476
.build()
7577
.toUriString();
78+
final Map<String, String> captureContext = flexService.createKey(targetOrigin);
7679

77-
final CaptureContext captureContext = flexService.createKey(targetOrigin);
80+
session.setAttribute(FLEX_CAPTURE_CONTEXT_ATTRIBUTE, captureContext.get("captureContext"));
7881

79-
session.setAttribute(FLEX_CAPTURE_CONTEXT_ATTRIBUTE, captureContext.toString());
82+
// session.setAttribute("clientLiberary", captureContext.get("clientLiberary"));
83+
// session.setAttribute("clientLibraryIntegrity",captureContext.get("clientLibraryIntegrity"));
84+
return AjaxResponse.success()
85+
.put("captureContext", captureContext.get("captureContext"))
86+
.put("clientLibrary", captureContext.get("clientLibrary"))
87+
.put("clientLibraryIntegrity", captureContext.get("clientLibraryIntegrity"));
8088

81-
return captureContext.toString();
89+
// return captureContext.get("captureContext");
8290
}
8391

8492
@PostMapping(value = "/verifyToken", consumes = MediaType.APPLICATION_JSON_VALUE)

hybris/bin/b2c/isvb2cpaymentaddon/acceleratoraddon/web/src/isv/sap/payment/addon/b2c/controllers/pages/checkout/steps/SummaryCheckoutStepController.java

-4
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ public class SummaryCheckoutStepController extends AbstractCheckoutStepControlle
9393
@Value("${klarna.sdk.url}")
9494
private String klarnaSDKUrl;
9595

96-
@Value("${isv.payment.flex.microform.sdk.url}")
97-
private String flexSDKUrl;
98-
9996
@Value("${isv.payment.flex.card.type.selection}")
10097
private boolean flexCardTypeSelection;
10198

@@ -265,7 +262,6 @@ protected void prepareFlexMicroformData(final Model model)
265262
{
266263
if (checkoutPciStrategy.getSubscriptionPciOption().equals(FLEX))
267264
{
268-
model.addAttribute("flexSdkUrl", flexSDKUrl);
269265
model.addAttribute("flexCardTypeSelection", flexCardTypeSelection);
270266

271267
}

hybris/bin/b2c/isvb2cpaymentaddon/resources/isvb2cpaymentaddon.build.number

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ name=isvb2cpaymentaddon
55
builddate=20210318 1419
66
releasedate=20210318 1509
77
vendor=isv.sap
8-
version=25.1.0
8+
version=25.2.0
99
version.api=2011

hybris/bin/b2c/isvfulfilmentprocess/resources/isvfulfilmentprocess.build.number

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ name=isvfulfilmentprocess
55
builddate=20210318 1419
66
releasedate=20210318 1509
77
vendor=isv.sap
8-
version=25.1.0
8+
version=25.2.0
99
version.api=2011

hybris/bin/b2c/isvpayment/project.properties

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ext.isvpayment.extension.usemaven=true
4444

4545
# Please contact your ISV Account representative to obtain a value for these fields
4646
isv.payment.customer.request.developer.id=<merchantID>
47-
isv.payment.customer.request.partnerSolution.id=GL89J8L0
47+
isv.payment.customer.request.partnerSolution.id=GM03SKIH
4848

4949
# The environment the code base is running on. Please update accordingly
5050
isv.payment.customer.request.client.environment=<environment>
@@ -229,6 +229,8 @@ isv.payment.card.to.commerceIndicator.002=spa
229229
isv.payment.card.to.commerceIndicator.003=aesk
230230
isv.payment.card.to.commerceIndicator.004=dipb
231231

232+
isv.payment.network.to.allowedCardType=VISA,MAESTRO,MASTERCARD,AMEX,DISCOVER,DINERSCLUB,JCB,CUP,CARTESBANCAIRES
233+
232234
isv.payment.network.to.cardType.visa=VISA
233235
isv.payment.network.to.cardType.amex=AMEX
234236
isv.payment.network.to.cardType.mastercard=MASTERCARD_EUROCARD

hybris/bin/b2c/isvpayment/resources/isvpayment.build.number

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ name=isvpayment
55
builddate=20210318 1419
66
releasedate=20210318 1509
77
vendor=isv.sap
8-
version=25.1.0
8+
version=25.2.0
99
version.api=2011
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
build_version=25.1.0
1+
build_version=25.2.0
22
build_number=null

0 commit comments

Comments
 (0)