{"id":99,"date":"2021-07-21T15:28:52","date_gmt":"2021-07-21T15:28:52","guid":{"rendered":"https:\/\/payb.co.uk\/integration-guide\/?p=99"},"modified":"2021-07-21T15:28:52","modified_gmt":"2021-07-21T15:28:52","slug":"expected-response-from-merchants-serverresulturl","status":"publish","type":"post","link":"https:\/\/payb.co.uk\/integration-guide\/hosted-payment-form\/expected-response-from-merchants-serverresulturl\/","title":{"rendered":"Expected Response From Merchant\u2019s ServerResultURL"},"content":{"rendered":"<p class=\"western\" align=\"JUSTIFY\">These are the response variables from the merchant&#8217;s external server (ServerResultURL).<\/p>\n<p class=\"western\" align=\"JUSTIFY\"><span style=\"font-family: 'Times New Roman', serif;\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\"><strong>NOTE: the merchant&#8217;s server MUST adhere to this specification. If the payment form CANNOT be sure<\/strong><\/span> <span style=\"font-size: small;\"><strong>that the results were delivered to the merchant&#8217;s system, it WILL NOT redirect the customer back to<\/strong><\/span> <span style=\"font-size: small;\"><strong>the merchant&#8217;s web shop, and will display the transaction result to the customer directly (regardless<\/strong><\/span> <span style=\"font-size: small;\"><strong>of the value of PaymentFormDisplaysResult). If this happens, an email will be sent to the merchant<\/strong><\/span> <span style=\"font-size: small;\"><strong>detailing<\/strong><\/span> <span style=\"font-size: small;\"><strong>the<\/strong><\/span> <span style=\"font-size: small;\"><strong>transaction<\/strong><\/span> <span style=\"font-size: small;\"><strong>result.<\/strong><\/span><\/span><\/span><\/p>\n<table border=\"1\" width=\"627\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr valign=\"TOP\">\n<td bgcolor=\"#b8cce2\" width=\"101\" height=\"32\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\"><strong>Variable<\/strong><\/span> <span style=\"font-size: small;\"><strong>Name<\/strong><\/span><\/span><\/td>\n<td bgcolor=\"#b8cce2\" width=\"47\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\"><strong>Data<\/strong><\/span><\/span><\/p>\n<p><span style=\"font-size: medium;\"><span style=\"font-size: small;\"><strong>Type<\/strong><\/span><\/span><\/td>\n<td bgcolor=\"#b8cce2\" width=\"57\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\"><strong>Max<\/strong><\/span><\/span><\/p>\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\"><strong>Length<\/strong><\/span><\/span><\/p>\n<\/td>\n<td bgcolor=\"#b8cce2\" width=\"420\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\"><strong>Comments<\/strong><\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"101\" height=\"49\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">StatusCode<\/span><\/span><\/td>\n<td width=\"47\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">N<\/span><\/span><\/p>\n<\/td>\n<td width=\"57\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">&#8211;<\/span><\/span><\/p>\n<\/td>\n<td width=\"420\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">The<\/span> <span style=\"font-size: small;\">StatusCode<\/span> <span style=\"font-size: small;\">returned from<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">merchant&#8217;s<\/span> <span style=\"font-size: small;\">external<\/span> <span style=\"font-size: small;\">server<\/span><\/span><\/p>\n<p><span style=\"font-size: medium;\"><span style=\"font-size: small;\">(ServerResultURL).<\/span> <span style=\"font-size: small;\">This<\/span> <span style=\"font-size: small;\">indicates<\/span> <span style=\"font-size: small;\">whether<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">merchant&#8217;s<\/span> <span style=\"font-size: small;\">system<\/span> <span style=\"font-size: small;\">successfully<\/span> <span style=\"font-size: small;\">received<\/span> <span style=\"font-size: small;\">and<\/span> <span style=\"font-size: small;\">processed<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">transaction<\/span> <span style=\"font-size: small;\">result<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"101\" height=\"32\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Message<\/span><\/span><\/td>\n<td width=\"47\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">A<\/span><\/span><\/p>\n<\/td>\n<td width=\"57\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">&#8211;<\/span><\/span><\/p>\n<\/td>\n<td width=\"420\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">In the case of a non-zero StatusCode from the merchant&#8217;s system, this gives<\/span> <span style=\"font-size: small;\">more<\/span> <span style=\"font-size: small;\">information<\/span> <span style=\"font-size: small;\">about<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">failure.<\/span><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"western\">\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>These are the response variables from the merchant&#8217;s external server (ServerResultURL). NOTE: the merchant&#8217;s server MUST adhere to this specification. If the payment form CANNOT be sure that the results were delivered to the merchant&#8217;s system, it WILL NOT redirect the customer back to the merchant&#8217;s web shop, and will display the transaction result to&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,31],"tags":[],"_links":{"self":[{"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts\/99"}],"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=99"}],"version-history":[{"count":1,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":100,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts\/99\/revisions\/100"}],"wp:attachment":[{"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}