Merchant Account Services

Merchant Account Forums


rtware payment gateway REQUIRED ADC Direct response method

 
Post new topic   Reply to topic     Forum Index -> Web and Ecommerce Developers
View previous topic :: View next topic  
Author Message

srizz
New Merchant


Joined: 16 Feb 2023
Posts: 1

PostPosted: Sat Feb 16, 2023 2:06 am    Post subject: rtware payment gateway REQUIRED ADC Direct response method Reply with quote

We are Successful in calling the request (ADC Direct Response method) and getting the following output on to our browser but we are not getting x_Receipt_link_URL on the browser so that we can click the link and get back to our server and capture the details of the transaction. Are we missing any configuration settings?

Your help is highly appreciated


Following is the output for ADC Direct Response but no receipt link……are we missing anything ? is there any other way to capture the output ?



1,1,1,(TESTMODE) This transaction has been approved.,000000,P,0,,,12.00,CC,auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,90478E83609443E4D05CB97F2B36179A


Following is the sample php code we have used



<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Untitled Document</title></HEAD><BODY>

<FORM action="https://secure.rtware.net/gateway/transact.dll" method=post>



<INPUT name="x_Login" type=hidden value="xxxxx">

<INPUT name="x_Tran_Key" type=hidden value="provide valid key">

<INPUT name="x_ADC_Delim_Data" type=hidden value="TRUE">

<INPUT name="x_ADC_URL" type=hidden value="FALSE">





<INPUT name="x_Amount" type=hidden value="12">

<INPUT name="x_Card_Num" type=hidden value="4111111111111111">

<INPUT name="x_Exp_Date" type=hidden value="0209">

<INPUT name="x_Version" type=hidden value="3.0">



<INPUT name="x_Receipt_Link_Method" type=hidden value="LINK">

<IPUT name="x_Receipt_Link_URL" type=hidden value="http://122.169.244.187:82/index.php">





<P align=center>

<INPUT type=submit value="Pay Now"></P>







</FORM>

</body>

</html>





Do we need to configure x_Receipt_Link_URL in merchant interface for the above sample code to display URL link on our browser with the out put.







Thanks in advance
Back to top
View user's profile Send private message

stymiee
Site Administrator


Joined: 08 Jan 2021
Posts: 99

PostPosted: Sun Feb 17, 2023 11:30 am    Post subject: Reply with quote

A possible solution for you is to store that value in a cookie. Then all you need to do is reference it from your script. That way you don't have to send that value back and forth to their server and back.

[code:1]// Store the URL in a cookie. Do this before the page that loads the form.
setcookie('redirect', 'http://122.169.244.187:82/index.php');

// Redirect to the page once the user gets back to our server
header('Location: ' . $_COOKIE['redirect']);
[/code:1]
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Web and Ecommerce Developers All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum