{"id":91,"date":"2021-07-21T15:19:37","date_gmt":"2021-07-21T15:19:37","guid":{"rendered":"https:\/\/payb.co.uk\/integration-guide\/?p=91"},"modified":"2021-07-21T15:19:37","modified_gmt":"2021-07-21T15:19:37","slug":"outgoing-hash-digest","status":"publish","type":"post","link":"https:\/\/payb.co.uk\/integration-guide\/hosted-payment-form\/outgoing-hash-digest\/","title":{"rendered":"Outgoing Hash Digest"},"content":{"rendered":"<p class=\"western\">Below is the order that the variables should be listed when creating the hash digest to check against the one in submitted in the form. The string to be hashed must be comprised of the variables listed in the order below in standard URL format (i.e. listed in name\/value pairs, delimited with an ampersand character e.g. &#8220;variable1=value&amp;variable2=value&amp;variable3=value&#8221;). The variable names and values are case-sensitive and the values should be represented EXACTLY as they appear in the form (NON-URL ENCODED). This hash must be checked against the one submitted in the form, and it should be exactly the same as the hash digest created by us. Any differences should be treated with EXTREME caution, as this indicates that the variables in the form have been tampered with.<\/p>\n<p class=\"western\">\n<table border=\"1\" width=\"627\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr valign=\"TOP\">\n<td bgcolor=\"#b8cce2\" width=\"242\" height=\"15\"><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=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\"><strong>Mandatory<\/strong><\/span><\/span><\/p>\n<\/td>\n<td bgcolor=\"#b8cce2\" width=\"297\"><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=\"242\" height=\"114\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">PreSharedKey<\/span><\/span><\/td>\n<td width=\"85\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">See<\/span> <span style=\"font-size: small;\">comments<\/span><\/span><\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">The<\/span> <span style=\"font-size: small;\">pre<\/span> <span style=\"font-size: small;\">shared<\/span> <span style=\"font-size: small;\">key<\/span> <span style=\"font-size: small;\">should<\/span> <span style=\"font-size: small;\">ONLY<\/span> <span style=\"font-size: small;\">be<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">hash<\/span> <span style=\"font-size: small;\">digest if the chosen hash method is standard (i.e. not<\/span> <span style=\"font-size: small;\">HMAC) MD5 or SHA1. If the chosen hash method is<\/span> <span style=\"font-size: small;\">either HMACMD5 or HMACSHA1, then the pre shared<\/span> <span style=\"font-size: small;\">key is used as part of the hash generation so should be<\/span> <span style=\"font-size: small;\">ENTIRELY<\/span> <span style=\"font-size: small;\">omitted<\/span> <span style=\"font-size: small;\">from the string<\/span> <span style=\"font-size: small;\">to be<\/span> <span style=\"font-size: small;\">hashed<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"16\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">MerchantID<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\">&nbsp;<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"16\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Password<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\">&nbsp;<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"16\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">StatusCode<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\">&nbsp;<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"16\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Message<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\">&nbsp;<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"33\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">PreviousStatusCode<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must<\/span> <span style=\"font-size: small;\">be<\/span> <span style=\"font-size: small;\">included as<\/span> <span style=\"font-size: small;\">&#8220;PreviousStatusCode=&#8221;<\/span> <span style=\"font-size: small;\">if<\/span> <span style=\"font-size: small;\">an<\/span><\/span><\/p>\n<p><span style=\"font-size: medium;\"><span style=\"font-size: small;\">empty variable<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"32\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">PreviousMessage<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;PreviousMessage=&#8221; if an<\/span> <span style=\"font-size: small;\">empty variable<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"16\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">CrossReference<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\">&nbsp;<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"65\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">AddressNumericCheckResult<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;AddressNumericCheckResult=&#8221;<\/span> <span style=\"font-size: small;\">if<\/span> <span style=\"font-size: small;\">an<\/span> <span style=\"font-size: small;\">empty<\/span> <span style=\"font-size: small;\">variable<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form.<\/span> <span style=\"font-size: small;\">NOT<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">hash if not present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"65\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">PostCodeCheckResult<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;PostCodeCheckResult=&#8221; if an<\/span> <span style=\"font-size: small;\">empty variable in the form. NOT included in the hash if<\/span> <span style=\"font-size: small;\">not present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"65\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">CV2CheckResult<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;CV2CheckResult=&#8221; if an empty<\/span> <span style=\"font-size: small;\">variable in the form. NOT included in the hash if not<\/span> <span style=\"font-size: small;\">present<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span> <span style=\"font-size: small;\">(only<\/span> <span style=\"font-size: small;\">for<\/span> <span style=\"font-size: small;\">backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"81\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">ThreeDSecureAuthenticationCheckResult<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as<\/span> <span style=\"font-size: small;\">&#8220;ThreeDSecureAuthenticationCheckResult=&#8221; if an<\/span> <span style=\"font-size: small;\">empty variable in the form. NOT included in the hash<\/span> <span style=\"font-size: small;\">if not present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"67\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">FraudProtectionCheckResult<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">as<\/span> <span style=\"font-size: small;\">&#8220;FraudProtectionCheckResult=&#8221; if<\/span> <span style=\"font-size: small;\">an<\/span> <span style=\"font-size: small;\">empty variable in the form. NOT included in the<\/span> <span style=\"font-size: small;\">hash<\/span> <span style=\"font-size: small;\">if<\/span> <span style=\"font-size: small;\">not<\/span> <span style=\"font-size: small;\">present in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span> <span style=\"font-size: small;\">(only<\/span> <span style=\"font-size: small;\">for<\/span><\/span><\/p>\n<p><span style=\"font-size: medium;\"><span style=\"font-size: small;\">backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"65\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">CardType<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;CardType=&#8221; if an empty<\/span> <span style=\"font-size: small;\">variable in the form. NOT included in the hash if not<\/span> <span style=\"font-size: small;\">present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"59\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">CardClass<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"CENTER\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;CardClass=&#8221; if an empty<\/span> <span style=\"font-size: small;\">variable in the form. NOT included in the hash if not<\/span> <span style=\"font-size: small;\">present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table border=\"1\" width=\"627\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"64\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">CardIssuer<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;CardIssuer=&#8221; if an empty<\/span> <span style=\"font-size: small;\">variable in the form. NOT included in the hash if not<\/span> <span style=\"font-size: small;\">present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"65\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">CardIssuerCountryCode<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;CardIssuerCountryCode=&#8221; if an<\/span> <span style=\"font-size: small;\">empty variable in the form. NOT included in the hash if<\/span> <span style=\"font-size: small;\">not present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"65\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">CardNumberFirstSix<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must<\/span> <span style=\"font-size: small;\">be<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">as<\/span> <span style=\"font-size: small;\">&#8220;CardNumberFirstSix=&#8221; if an<\/span> <span style=\"font-size: small;\">empty<\/span> <span style=\"font-size: small;\">variable in the form. NOT included in the hash if not<\/span> <span style=\"font-size: small;\">present<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span> <span style=\"font-size: small;\">(only<\/span> <span style=\"font-size: small;\">for<\/span> <span style=\"font-size: small;\">backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"65\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">CardNumberLastFour<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;CardNumberLastFour=&#8221; if an<\/span> <span style=\"font-size: small;\">empty variable in the form. NOT included in the hash if<\/span> <span style=\"font-size: small;\">not present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"65\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">CardExpiryDate<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;CardExpiryDate=&#8221; if an empty<\/span> <span style=\"font-size: small;\">variable in the form. NOT included in the hash if not<\/span> <span style=\"font-size: small;\">present<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span> <span style=\"font-size: small;\">(only<\/span> <span style=\"font-size: small;\">for<\/span> <span style=\"font-size: small;\">backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"16\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Amount<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\">&nbsp;<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"65\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">DonationAmount<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must<\/span> <span style=\"font-size: small;\">be<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">as<\/span> <span style=\"font-size: small;\">&#8220;DonationAmount=&#8221;<\/span> <span style=\"font-size: small;\">if<\/span> <span style=\"font-size: small;\">an<\/span> <span style=\"font-size: small;\">empty<\/span> <span style=\"font-size: small;\">variable in the form. NOT included in the hash if not<\/span> <span style=\"font-size: small;\">present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"16\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">CurrencyCode<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\">&nbsp;<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"49\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">OrderID<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Note: make sure that special characters in the<\/span> <span style=\"font-size: small;\">OrderID are properly escaped, otherwise the hash<\/span> <span style=\"font-size: small;\">digest<\/span> <span style=\"font-size: small;\">will<\/span> <span style=\"font-size: small;\">not match<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"16\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">TransactionType<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\">&nbsp;<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"16\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">TransactionDateTime<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\">&nbsp;<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"84\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">OrderDescription<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;OrderDescription=&#8221; if an<\/span> <span style=\"font-size: small;\">empty variable in theform. Note: make surethat<\/span> <span style=\"font-size: small;\">special characters in the OrderDescription are<\/span> <span style=\"font-size: small;\">properly<\/span> <span style=\"font-size: small;\">escaped,<\/span> <span style=\"font-size: small;\">otherwise<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">hash<\/span> <span style=\"font-size: small;\">digest<\/span> <span style=\"font-size: small;\">will<\/span> <span style=\"font-size: small;\">not<\/span><\/span><\/p>\n<p><span style=\"font-size: medium;\"><span style=\"font-size: small;\">match<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"33\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">CustomerName<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Mustbeincludedas&#8221;CustomerName=&#8221;ifanempty<\/span> <span style=\"font-size: small;\">variable<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"33\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Address1<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;Address1=&#8221; if an empty<\/span> <span style=\"font-size: small;\">variable<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"32\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Address2<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must<\/span> <span style=\"font-size: small;\">be<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">as<\/span> <span style=\"font-size: small;\">&#8220;Address2=&#8221;<\/span> <span style=\"font-size: small;\">if<\/span> <span style=\"font-size: small;\">an<\/span> <span style=\"font-size: small;\">empty<\/span><\/span><\/p>\n<p><span style=\"font-size: medium;\"><span style=\"font-size: small;\">variable<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"33\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Address3<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must<\/span> <span style=\"font-size: small;\">be<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">as<\/span> <span style=\"font-size: small;\">&#8220;Address3=&#8221;<\/span> <span style=\"font-size: small;\">if<\/span> <span style=\"font-size: small;\">an<\/span> <span style=\"font-size: small;\">empty<\/span><\/span><\/p>\n<p><span style=\"font-size: medium;\"><span style=\"font-size: small;\">variable<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"33\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Address4<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must<\/span> <span style=\"font-size: small;\">be<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">as<\/span> <span style=\"font-size: small;\">&#8220;Address4=&#8221;<\/span> <span style=\"font-size: small;\">if<\/span> <span style=\"font-size: small;\">an<\/span> <span style=\"font-size: small;\">empty<\/span><\/span><\/p>\n<p><span style=\"font-size: medium;\"><span style=\"font-size: small;\">variable<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"32\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">City<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must<\/span> <span style=\"font-size: small;\">be<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">as<\/span> <span style=\"font-size: small;\">&#8220;City=&#8221;<\/span> <span style=\"font-size: small;\">if an empty variable<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"33\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">State<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must<\/span> <span style=\"font-size: small;\">be<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">as<\/span> <span style=\"font-size: small;\">&#8220;State=&#8221;<\/span> <span style=\"font-size: small;\">if<\/span> <span style=\"font-size: small;\">an<\/span> <span style=\"font-size: small;\">empty<\/span> <span style=\"font-size: small;\">variable<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"32\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">PostCode<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must<\/span> <span style=\"font-size: small;\">be<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">as<\/span> <span style=\"font-size: small;\">&#8220;PostCode=&#8221;<\/span> <span style=\"font-size: small;\">if<\/span> <span style=\"font-size: small;\">an<\/span> <span style=\"font-size: small;\">empty<\/span><\/span><\/p>\n<p><span style=\"font-size: medium;\"><span style=\"font-size: small;\">variable<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"15\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">CountryCode<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must<\/span> <span style=\"font-size: small;\">be<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">as<\/span> <span style=\"font-size: small;\">&#8220;CountryCode=&#8221;<\/span> <span style=\"font-size: small;\">if<\/span> <span style=\"font-size: small;\">an empty<\/span><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table border=\"1\" width=\"627\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"15\">&nbsp;<\/td>\n<td width=\"85\">&nbsp;<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">variable<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"65\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">EmailAddress<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;EmailAddress=&#8221; if an empty<\/span> <span style=\"font-size: small;\">variable in the form. NOT included in the hash if not<\/span> <span style=\"font-size: small;\">present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"65\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">PhoneNumber<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;PhoneNumber=&#8221; if an empty<\/span> <span style=\"font-size: small;\">variable in the form. NOT included in the hash if not<\/span> <span style=\"font-size: small;\">present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"65\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">DateOfBirth<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8221; DateOfBirth =&#8221; if an empty<\/span> <span style=\"font-size: small;\">variable in the form. NOT included in the hash if not<\/span> <span style=\"font-size: small;\">present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"85\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">PrimaryAccountName<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must be included as &#8220;PrimaryAccountName=&#8221; if an<\/span> <span style=\"font-size: small;\">empty<\/span> <span style=\"font-size: small;\">variable<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form.<\/span> <span style=\"font-size: small;\">NOT<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">hash<\/span> <span style=\"font-size: small;\">if not present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"85\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">PrimaryAccountNumber<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must<\/span> <span style=\"font-size: small;\">be<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">as<\/span> <span style=\"font-size: small;\">&#8220;PrimaryAccountNumber=&#8221;<\/span> <span style=\"font-size: small;\">if an<\/span> <span style=\"font-size: small;\">empty<\/span> <span style=\"font-size: small;\">variable<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">form.<\/span> <span style=\"font-size: small;\">NOT<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">hash<\/span> <span style=\"font-size: small;\">if not present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"85\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">PrimaryAccountDateOfBirth<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must<\/span> <span style=\"font-size: small;\">be<\/span> <span style=\"font-size: small;\">included<\/span> <span style=\"font-size: small;\">as<\/span> <span style=\"font-size: small;\">&#8220;PrimaryAccountDateOfBirth=&#8221;<\/span> <span style=\"font-size: small;\">if<\/span> <span style=\"font-size: small;\">an empty variable in the form. NOT included in the<\/span> <span style=\"font-size: small;\">hash if not present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"242\" height=\"84\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">PrimaryAccountPostCode<\/span><\/span><\/td>\n<td width=\"85\">\n<p align=\"RIGHT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Yes<\/span><\/span><\/p>\n<\/td>\n<td width=\"297\">\n<p align=\"JUSTIFY\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Must<\/span> <span style=\"font-size: small;\">be included as &#8220;PrimaryAccountPostCode=&#8221; if<\/span> <span style=\"font-size: small;\">an empty variable in the form. NOT included in the<\/span> <span style=\"font-size: small;\">hash if not present in the form (only for backwards<\/span> <span style=\"font-size: small;\">compatibility)<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 class=\"western\"><\/h2>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Below is the order that the variables should be listed when creating the hash digest to check against the one in submitted in the form. The string to be hashed must be comprised of the variables listed in the order below in standard URL format (i.e. listed in name\/value pairs, delimited with an ampersand character&#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\/91"}],"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=91"}],"version-history":[{"count":1,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts\/91\/revisions"}],"predecessor-version":[{"id":92,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts\/91\/revisions\/92"}],"wp:attachment":[{"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/media?parent=91"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/categories?post=91"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/tags?post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}