{"id":123,"date":"2021-07-21T15:44:54","date_gmt":"2021-07-21T15:44:54","guid":{"rendered":"https:\/\/payb.co.uk\/integration-guide\/?p=123"},"modified":"2021-07-21T15:44:54","modified_gmt":"2021-07-21T15:44:54","slug":"post-result-delivery-method-2","status":"publish","type":"post","link":"https:\/\/payb.co.uk\/integration-guide\/hosted-payment-form\/post-result-delivery-method-2\/","title":{"rendered":"POST Result Delivery Method"},"content":{"rendered":"<p class=\"western\">\n<ol>\n<li>\n<p align=\"LEFT\"><span style=\"font-family: Calibri, serif;\"><span style=\"font-size: small;\">The<\/span> <span style=\"font-size: small;\">results<\/span> <span style=\"font-size: small;\">of<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">transaction<\/span> <span style=\"font-size: small;\">are<\/span> <span style=\"font-size: small;\">then<\/span> <span style=\"font-size: small;\">passed<\/span> <span style=\"font-size: small;\">back<\/span> <span style=\"font-size: small;\">to<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">merchant\u2019s<\/span> <span style=\"font-size: small;\">system<\/span> <span style=\"font-size: small;\">(CallbackURL).<\/span> <span style=\"font-size: small;\">The<\/span> <span style=\"font-size: small;\">data<\/span> <span style=\"font-size: small;\">passed<\/span> <span style=\"font-size: small;\">to<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">Merchant\u2019s<\/span> <span style=\"font-size: small;\">System<\/span> <span style=\"font-size: small;\">should<\/span> <span style=\"font-size: small;\">be<\/span> <span style=\"font-size: small;\">checked<\/span> <span style=\"font-size: small;\">for<\/span> <span style=\"font-size: small;\">errors<\/span> <span style=\"font-size: small;\">at<\/span> <span style=\"font-size: small;\">this<\/span> <span style=\"font-size: small;\">point.<\/span><\/span><\/p>\n<ol type=\"a\">\n<li>\n<p align=\"LEFT\"><span style=\"font-family: Calibri, serif;\"><span style=\"font-size: small;\"><strong>At<\/strong><\/span> <span style=\"font-size: small;\"><strong>this<\/strong><\/span> <span style=\"font-size: small;\"><strong>point,<\/strong><\/span> <span style=\"font-size: small;\"><strong>the<\/strong><\/span> <span style=\"font-size: small;\"><strong>payment<\/strong><\/span> <span style=\"font-size: small;\"><strong>processing<\/strong><\/span> <span style=\"font-size: small;\"><strong>has<\/strong><\/span> <span style=\"font-size: small;\"><strong>been<\/strong><\/span> <span style=\"font-size: small;\"><strong>completed.<\/strong><\/span> <span style=\"font-size: small;\"><strong>If<\/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>was<\/strong><\/span> <span style=\"font-size: small;\"><strong>successful,<\/strong><\/span> <span style=\"font-size: small;\"><strong>money<\/strong><\/span> <span style=\"font-size: small;\"><strong>hasbeenexchangedbetweenbanks.<\/strong><\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"LEFT\"><span style=\"font-family: Calibri, serif;\"><span style=\"font-size: small;\">If<\/span> <span style=\"font-size: small;\">errors<\/span> <span style=\"font-size: small;\">occur<\/span> <span style=\"font-size: small;\">with<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">results<\/span> <span style=\"font-size: small;\">(for<\/span> <span style=\"font-size: small;\">example;<\/span> <span style=\"font-size: small;\">Variable<\/span> <span style=\"font-size: small;\">Tampering),<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">merchant\u2019s<\/span> <span style=\"font-size: small;\">system<\/span> <span style=\"font-size: small;\">should<\/span> <span style=\"font-size: small;\">stop<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">transaction<\/span> <span style=\"font-size: small;\">from<\/span> <span style=\"font-size: small;\">going<\/span> <span style=\"font-size: small;\">any<\/span> <span style=\"font-size: small;\">further<\/span> <span style=\"font-size: small;\">and<\/span> <span style=\"font-size: small;\">move<\/span> <span style=\"font-size: small;\">to step<\/span> <span style=\"font-size: small;\">12.<\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"LEFT\"><span style=\"font-family: Calibri, serif;\"><span style=\"font-size: small;\">If there is an error in the payment gateway being able to reach the merchant\u2019s<\/span> <span style=\"font-size: small;\">system (Callback URL), an invalid URL for example, then <\/span><span style=\"font-size: small;\"><strong>the transaction result is<\/strong><\/span> <span style=\"font-size: small;\"><strong>displayed on the payment gateway and the customer is not redirected back to the<\/strong><\/span> <span style=\"font-size: small;\"><strong>merchant\u2019s<\/strong><\/span> <span style=\"font-size: small;\"><strong>website<\/strong><\/span> <span style=\"font-size: small;\">and<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">process does<\/span> <span style=\"font-size: small;\">not<\/span> <span style=\"font-size: small;\">go<\/span> <span style=\"font-size: small;\">any<\/span> <span style=\"font-size: small;\">further.<\/span><\/span><\/p>\n<\/li>\n<\/ol>\n<\/li>\n<li>\n<p align=\"LEFT\"><span style=\"font-family: Calibri, serif;\"><span style=\"font-size: small;\">The<\/span> <span style=\"font-size: small;\">merchant\u2019s<\/span> <span style=\"font-size: small;\">system<\/span> <span style=\"font-size: small;\">should<\/span> <span style=\"font-size: small;\">display<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">transaction<\/span> <span style=\"font-size: small;\">result<\/span> <span style=\"font-size: small;\">to<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">customer<\/span> <span style=\"font-size: small;\">(or<\/span> <span style=\"font-size: small;\">desired<\/span> <span style=\"font-size: small;\">error<\/span> <span style=\"font-size: small;\">information<\/span> <span style=\"font-size: small;\">if<\/span> <span style=\"font-size: small;\">any<\/span> <span style=\"font-size: small;\">occurred<\/span> <span style=\"font-size: small;\">before<\/span> <span style=\"font-size: small;\">this<\/span> <span style=\"font-size: small;\">point).<\/span><\/span><\/p>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The results of the transaction are then passed back to the merchant\u2019s system (CallbackURL). The data passed to the Merchant\u2019s System should be checked for errors at this point. At this point, the payment processing has been completed. If the transaction was successful, money hasbeenexchangedbetweenbanks. If errors occur with the results (for example; Variable Tampering),&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,29],"tags":[],"_links":{"self":[{"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts\/123"}],"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=123"}],"version-history":[{"count":1,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts\/123\/revisions"}],"predecessor-version":[{"id":124,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts\/123\/revisions\/124"}],"wp:attachment":[{"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/media?parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/categories?post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/tags?post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}