{"id":119,"date":"2008-04-24T02:49:55","date_gmt":"2008-04-24T02:49:55","guid":{"rendered":"http:\/\/ibizsoftinc.com\/blogs\/ipayment\/setting-up-loopback-servlet-in-ipayment"},"modified":"2008-04-24T02:49:55","modified_gmt":"2008-04-24T02:49:55","slug":"setting-up-loopback-servlet-in-ipayment","status":"publish","type":"post","link":"https:\/\/www.ibizsoftinc.com\/blog\/setting-up-loopback-servlet-in-ipayment\/","title":{"rendered":"Setting up Loopback Servlet in iPayment"},"content":{"rendered":"<p>Loopback servlet is an out of the box servlet that Oracle provides to do some preliminary tests. Setting up the servlet is a pretty easy task. One of the tasks that implementors forget is to add the following line of code to the zone.properties file. Additionally, set up a Sample Payment System and make sure it is the Default Payment system for Credit Cards. <\/p>\n<p><!--more--> <\/p>\n<p>Any operation (Authorization or Capture) you do using LoopBack via the iPayment UI (using the Operations tab) is updated in the iby_trxn_summaries_all table and other relevant iby tables. <\/p>\n<p>Let&#8217;s take a quick look at the code of LoopBackServlet <\/p>\n<p>package oracle.apps.iby.bep.loop;<\/p>\n<p>import javax.servlet.ServletException;<br \/>\nimport oracle.apps.fnd.common.VersionInfo;<br \/>\nimport oracle.apps.iby.bep.BEPAdapter;<br \/>\nimport oracle.apps.iby.bep.BEPServlet;<\/p>\n<p>\/\/ Referenced classes of package oracle.apps.iby.bep.loop:<br \/>\n\/\/            LoopBackAdapter<\/p>\n<p>public class LoopBackServlet extends BEPServlet<br \/>\n{<\/p>\n<p>    public LoopBackServlet()<br \/>\n    {<br \/>\n        m_loopAdapter = new LoopBackAdapter();<br \/>\n    }<\/p>\n<p>    protected BEPAdapter makeAdapter()<br \/>\n        throws ServletException<br \/>\n    {<br \/>\n        return m_loopAdapter;<br \/>\n    }<\/p>\n<p>    public static final String RCS_ID = &#8220;$Header: LoopBackServlet.java 115.0 2001\/05\/07 15:30:19 pkm ship        $&#8221;;<br \/>\n    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion(&#8220;$Header: LoopBackServlet.java 115.0 2001\/05\/07 15:30:19 pkm ship        $&#8221;, &#8220;oracle.apps.iby.bep.loop&#8221;);<br \/>\n    protected LoopBackAdapter m_loopAdapter;<\/p>\n<p>}<\/p>\n<p>LoopBackAdapter <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Loopback servlet is an out of the box servlet that Oracle provides to do some preliminary tests. Setting up the servlet is a pretty easy task. One of&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-119","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/posts\/119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/comments?post=119"}],"version-history":[{"count":0,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/posts\/119\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/media?parent=119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/categories?post=119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/tags?post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}