{"id":141,"date":"2021-07-21T16:44:41","date_gmt":"2021-07-21T16:44:41","guid":{"rendered":"https:\/\/payb.co.uk\/integration-guide\/?p=141"},"modified":"2021-07-21T16:44:41","modified_gmt":"2021-07-21T16:44:41","slug":"initial-request","status":"publish","type":"post","link":"https:\/\/payb.co.uk\/integration-guide\/transparent-redirect\/appendix-3-example-transparent-redirect-messages\/initial-request\/","title":{"rendered":"Initial Request"},"content":{"rendered":"<p>This is a sample SALE transaction HTML form which is submitted to the gateway Hosted Payment Form URL.<\/p>\n<p><code><br \/>\n  &lt;form action=\"https:\/\/mms.paymentprocessor.net\/Pages\/PublicPages\/TransparentRedirect.aspx\" method=\"post\"&gt;<br \/>\n&nbsp;<br \/>\n&lt;input type=\"hidden\" value=\"39a6ef30d02e723d3d80c051a704a2b74e82f7dc\" name=\"HashDigest\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"VALID_MERCHANT_ID_HERE\" name=\"MerchantID\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"1000\" name=\"Amount\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"826\" name=\"CurrencyCode\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"Order-1234\" name=\"OrderID\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"SALE\" name=\"TransactionType\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"2013-04-26 14:45:20 +01:00\" name=\"TransactionDateTime\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"VALID_CALLBACK_URL_HERE\" name=\"CallbackURL\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"A Test Order\" name=\"OrderDescription\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"A Customer\" name=\"CardName\"&gt;<br \/>\n&lt;select name=\"ExpiryDateMonth\"&gt;<br \/>\n&lt;option value=\"12\" selected=\"selected\"&gt;12&lt;\/option&gt;<br \/>\n&lt;\/select&gt;<br \/>\n&lt;select name=\"ExpiryDateYear\"&gt;<br \/>\n&lt;option value=\"13\" selected=\"selected\"&gt;2013&lt;\/option&gt;<br \/>\n&lt;\/select&gt;<br \/>\n&nbsp;<br \/>\n&lt;select name=\"StartDateMonth\"&gt;<br \/>\n&lt;option value=\"1\" selected=\"selected\"&gt;01&lt;\/option&gt;<br \/>\n&lt;\/select&gt;<br \/>\n&lt;select name=\"StartDateYear\"&gt;<br \/>\n&lt;option value=\"13\" selected=\"selected\"&gt;2013&lt;\/option&gt;<br \/>\n&lt;\/select&gt;<br \/>\n&lt;input type=\"text\" maxlength=\"2\" value=\"\" name=\"IssueNumber\"&gt;<br \/>\n&lt;input type=\"text\" maxlength=\"4\" value=\"452\" name=\"CV2\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"14 Some Address\" name=\"Address1\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"\" name=\"Address2\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"\" name=\"Address3\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"\" name=\"Address4\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"Some City\" name=\"City\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"Some State\" name=\"State\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"PO57 0DE\" name=\"PostCode\"&gt;<br \/>\n&lt;input type=\"hidden\" value=\"826\" name=\"CountryCode\"&gt;<br \/>\n&lt;select name=\"CountryCode\"&gt;<br \/>\n&lt;option selected=\"selected\" value=\"826\"&gt;United Kingdom&lt;\/option&gt;<br \/>\n&lt;\/select&gt;<br \/>\n&nbsp;<br \/>\n&lt;\/form&gt;<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a sample SALE transaction HTML form which is submitted to the gateway Hosted Payment Form URL. &lt;form action=&#8221;https:\/\/mms.paymentprocessor.net\/Pages\/PublicPages\/TransparentRedirect.aspx&#8221; method=&#8221;post&#8221;&gt; &nbsp; &lt;input type=&#8221;hidden&#8221; value=&#8221;39a6ef30d02e723d3d80c051a704a2b74e82f7dc&#8221; name=&#8221;HashDigest&#8221;&gt; &lt;input type=&#8221;hidden&#8221; value=&#8221;VALID_MERCHANT_ID_HERE&#8221; name=&#8221;MerchantID&#8221;&gt; &lt;input type=&#8221;hidden&#8221; value=&#8221;1000&#8243; name=&#8221;Amount&#8221;&gt; &lt;input type=&#8221;hidden&#8221; value=&#8221;826&#8243; name=&#8221;CurrencyCode&#8221;&gt; &lt;input type=&#8221;hidden&#8221; value=&#8221;Order-1234&#8243; name=&#8221;OrderID&#8221;&gt; &lt;input type=&#8221;hidden&#8221; value=&#8221;SALE&#8221; name=&#8221;TransactionType&#8221;&gt; &lt;input type=&#8221;hidden&#8221; value=&#8221;2013-04-26 14:45:20 +01:00&#8243; name=&#8221;TransactionDateTime&#8221;&gt; &lt;input type=&#8221;hidden&#8221; value=&#8221;VALID_CALLBACK_URL_HERE&#8221;&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[15],"tags":[],"_links":{"self":[{"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts\/141"}],"collection":[{"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/comments?post=141"}],"version-history":[{"count":1,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts\/141\/revisions"}],"predecessor-version":[{"id":142,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts\/141\/revisions\/142"}],"wp:attachment":[{"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/media?parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/categories?post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/tags?post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}