3 / 3
Jul 2012

Hi



trying to get set up as a "Google trusted store"



One piece of data they need is:



ORDER_EST_SHIP_DATE



Accepted Format: YYYY-MM-DD



Ship date promised to the customer.



If the order contains multiple items, select the earliest ship date. (For metrics calculation, Google considers the order shipped as soon as one item ships.)



If you message a range of days, please include the later end of the range. (e.g., 7 days if your range is 5-7 days).



The date provided here will be provided to the customer via email.**



So as an example, we need to ship within 3 days of the order - is there any way I can pass this back to Google (they want there "trusted code" on the thank you page as follows)



<!-- START Trusted Stores Order -->

<div id="gts-order" style="display:none;">



<!-- start order and merchant information -->

<span id="gts-o-id">MERCHANT_ORDER_ID</span>

<span id="gts-o-domain">MERCHANT_ORDER_DOMAIN</span>

<span id="gts-o-email">CUSTOMER_EMAIL</span>

<span id="gts-o-country">CUSTOMER_COUNTRY</span>

<span id="gts-o-currency">CURRENCY</span>

<span id="gts-o-total">ORDER_TOTAL</span>

<span id="gts-o-discounts">ORDER_DISCOUNTS</span>

<span id="gts-o-shipping-total">ORDER_SHIPPING</span>

<span id="gts-o-tax-total">ORDER_TAX</span>

<span id="gts-o-est-ship-date">ORDER_EST_SHIP_DATE</span>

<span id="gts-o-has-preorder">HAS_BACKORDER_PREORDER</span>

<span id="gts-o-has-digital">HAS_DIGITAL_GOODS</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">ITEM_NAME</span>

<span class="gts-i-price">ITEM_PRICE</span>

<span class="gts-i-quantity">ITEM_QUANTITY</span>

<span class="gts-i-prodsearch-id">ITEM_PRODUCT_SEARCH_ID</span>

<span class="gts-i-prodsearch-store-id">ITEM_PRODUCT_SEARCH_ACCOUNT_ID</span>

<span class="gts-i-prodsearch-country">ITEM_PRODUCT_SEARCH_COUNTRY</span>

<span class="gts-i-prodsearch-language">ITEM_PRODUCT_SEARCH_LANGUAGE</span>

</span>

<!-- end item 1 example -->

<!-- end repeated item specific information -->



</div>

<!-- END Trusted Stores -->



Thanks



Denis

  • created

    Jun '12
  • last reply

    Jul '12
  • 2

    replies

  • 1.1k

    views

  • 2

    users

  • 1

    link

I'll have to refer this to Development to see if and how we might be able to support this.

If all of this just needs to be posted in your thank-you pages, and you're using your standard E-junkie-generated thank-you pages (rather than redirecting to a thank-you page URL on your site), you could insert most of the required order details by using our template tags documented here:

http://www.e-junkie.com/ej/help.custom.thankyou-page.htm



The section for general order and merchant information would go in your Common Thank-you Page HTML field (Seller Admin > Account Preferences), and the section for item specific information would go in each product's Message (HTML) field. You would place the template tag where its information should be inserted, like so:



<span id="gts-o-id">[%txn_id%]</span>



When we generate the page to display to the buyer, that [%txn_id%] tag would be replaced with their order's actual Transaction ID before we send the page to their browser. You may need to use javascript to massage the data or provide data our system doesn't handle.



E.g., our 'txn_id' for Google Wallet/Checkout adds a prefix "gc-" to the standard Google checkout Order Number, so if they require the original Order Number in the line:

<span id="gts-o-id">MERCHANT_ORDER_ID</span>

...you'd need to put the [%txn_id%] inside some custom javascript that could remove the "gc-" prefix and insert the remaining ID in that span.



Since our system doesn't track ship dates, you could use custom javascript to calculate a date 5 (or however many) days past the current date and insert the resulting date in:

<span id="gts-o-est-ship-date">ORDER_EST_SHIP_DATE</span>



All that said, what happens if the buyer never clicks past the end of checkout to view their thank-you page at all? PayPal and Google Wallet/Checkout do not auto-redirect the buyer to any thank-you page after checkout, so if the buyer has no reason to do so (such as claiming a download), they might never trigger any tracking code placed in that page.



All that said, it seems like the requirements you posted above might be intended for use with a "licensed", full-featured ecommerce software package that gets installed on your server, which controls every step of the shopping and checkout experience as a self-contained solution operating entirely on your own server. E-junkie is a "hosted" service where we manage the shopping cart software for you on our own servers, and we hand-off checkouts entirely to a third-party payment processor such as PayPal or Google Wallet/Checkout, so we don't provide the degree of complete control that this Trusted Stores implementation might require.