So, we can get the badge to validate on the website. Next is to get google to validate the code on the "order confirmation page" it says
https://support.google.com/trustedstoresmerchant/answer/6063087?p=ordercode&rd=1
Here's how my code looks
<!-- START Google Trusted Stores Order --> <div id="gts-order" style="display:none;" translate="no"> <!-- start order and merchant information --> <span id="gts-o-id"><%=getCurrentAttribute('SalesOrder','tranid','')%></span> <span id="gts-o-domain">my website</span> <span id="gts-o-email"><%=getCurrentAttribute('customer','tobeemailed','')%></span> <span id="gts-o-country"><%=getCurrentAttribute('customer','Country','')%></span> <span id="gts-o-currency">USD</span> <span id="gts-o-total"><%=getCurrentAttribute('SalesOrder','total','')%></span> <span id="gts-o-discounts"><%=getCurrentAttribute('SalesOrder','discounttotal','')%></span> <span id="gts-o-shipping-total"><%=getCurrentAttribute('SalesOrder','altshippingcost','')%></span> <span id="gts-o-tax-total"><%=getCurrentAttribute('SalesOrder','taxtotal','')%></span> <span id="gts-o-has-preorder">N</span> <span id="gts-o-has-digital">N</span> <!-- end order and merchant information --> <!-- start repeated item specific information --> <!-- item example: this area repeated for each item in the order --> <span class="gts-item"> <span class="gts-i-name"><%=getCurrentAttribute('SalesOrder','displayname','')%></span> <span class="gts-i-price"><%=getCurrentAttribute('SalesOrder','Ratesalespricehtml','')%></span> <span class="gts-i-quantity"><%=getCurrentAttribute('SalesOrder','quantitycommitted','')%></span> <span class="gts-i-prodsearch-store-id">my store id</span> <span class="gts-i-prodsearch-country">US</span> <span class="gts-i-prodsearch-language">en</span> </span> <!-- end item 1 example --> <!-- end repeated item specific information --> </div> <!-- END Google Trusted Stores Order -->Now, I'm placing this on the page where you "review and submit" your order. And when you're live on the web page, the prompt by google does not appear; and my code is outputting an error like this."[Error processing dynamic tag getCurrentAttribute('SalesOrder','total','') : unknown record type body]"This very same thing occurred when I put the code on the "thank you" page, after submitting your order.