Quantcast
Channel: SCN : All Content - Web Dynpro Java
Viewing all articles
Browse latest Browse all 1288

Payment Gateway Integration to a Web Dynpro Java Application

$
0
0

Hi,

 

I have a requirement to integrate my Web Dynpro Java application to a payment gateway. Currently, I configured my application to use Suspend-Resume plug but I need to get the sap-wd-resumeurl so that I can include it on the payment gateway Url parameter as per their specification.

 

Is there a way to get the sap-wd-resumeurl before I fire the suspend plug?

 

My problem with the Suspend-Resume plug option is that after I made navigate to the payment gateway, it cannot go back to my web dynpro application because I did not pass the resumeurl as per their specification. In effect, I did not get the status of the payment for me to proceed with other processing in my web dynpro application.

 

One option that I was looking at is using createNonModalExternalWindow as shown below but I also don't know how to get the payment status. If only I could get the session id, I think I can probably re-construct the sap-wd-resumeurl values because I notice from the sap-wd-resumeurl, the only thing that varies is the session id on sap-wd-cltwndid and sap-wd-appwndid.

 

Example: ...\sap-wd-cltwndid=187e2518bdf811e3a8420000002c99c6&sap-wd-appwndid=187e2519bdf811e380d80000002c99c6&sap-wd-resume=true

 

Code snippet: wdComponentAPI.getWindowManager().createNonModalExternalWindow(url+"?"+postParameters,null,true).show();

 

Is there any other options for me to do the navigation to the payment gateway and get the response after the payment transaction?

 

Please help.

 

Btw, I'm using SAP NetWeaver 7.2 SP04.

 

Sincerely,

 

Jonathan


Viewing all articles
Browse latest Browse all 1288

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>