How to Generate Shopify Abandoned Cart “key” Parameter? (Email Hash?)












0














I’m looking at abandoned checkouts ion Shopify and hoping to create my own links. I see the Checkout object has a token to construct a URL like this:



shop.com/{{ checkout.id }}/checkouts/{{ token }}



That’s great. However, looking in Shopify admin I can see the links sent to customers also have a key URL parameter that seems to be some kind of email hash, since when you click on the full link, you are taken to the Checkout in a logged-in state… Since I have the Customer emails, does any one know how to create that hash?










share|improve this question



























    0














    I’m looking at abandoned checkouts ion Shopify and hoping to create my own links. I see the Checkout object has a token to construct a URL like this:



    shop.com/{{ checkout.id }}/checkouts/{{ token }}



    That’s great. However, looking in Shopify admin I can see the links sent to customers also have a key URL parameter that seems to be some kind of email hash, since when you click on the full link, you are taken to the Checkout in a logged-in state… Since I have the Customer emails, does any one know how to create that hash?










    share|improve this question

























      0












      0








      0







      I’m looking at abandoned checkouts ion Shopify and hoping to create my own links. I see the Checkout object has a token to construct a URL like this:



      shop.com/{{ checkout.id }}/checkouts/{{ token }}



      That’s great. However, looking in Shopify admin I can see the links sent to customers also have a key URL parameter that seems to be some kind of email hash, since when you click on the full link, you are taken to the Checkout in a logged-in state… Since I have the Customer emails, does any one know how to create that hash?










      share|improve this question













      I’m looking at abandoned checkouts ion Shopify and hoping to create my own links. I see the Checkout object has a token to construct a URL like this:



      shop.com/{{ checkout.id }}/checkouts/{{ token }}



      That’s great. However, looking in Shopify admin I can see the links sent to customers also have a key URL parameter that seems to be some kind of email hash, since when you click on the full link, you are taken to the Checkout in a logged-in state… Since I have the Customer emails, does any one know how to create that hash?







      hash shopify shopping-cart checkout email-integration






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 21 '18 at 17:26









      Rick Davies

      417617




      417617
























          1 Answer
          1






          active

          oldest

          votes


















          0














          The answer my friend, is blowing in the wind...



          https://help.shopify.com/en/api/reference/orders/abandoned_checkouts



          You can clearly see how to deal with that hash right there!






          share|improve this answer





















          • Dave! {{ token }}?key={{ hash }} ... how do I generate the hash? That docs page does not seem to have info on that
            – Rick Davies
            Nov 22 '18 at 21:18










          • Why re-invent the wheel? Why not just use the URL from Shopify? Why do you have to make your own? "abandoned_checkout_url": "snowdevil.ca/orders/14168/68778783ad298f1c80c3bafcddeea? recovered=1" The recovery URL that's sent to a customer so they can recover their checkout.
            – David Lazar
            Nov 22 '18 at 23:33












          • That's not in the Checkout object on the client side : ) { "apiHost": "shop.myshopify.com", "geolocatedAddress": { }, "i18n": { }, "locale": "en", "page": "show", "requiresShipping": true, "step": "shipping_method", "token": "abc123", "AddressFormat": { } }
            – Rick Davies
            Nov 24 '18 at 0:18












          • You are free to send me your problem via an email, and I will do my best to spell out a working solution Rick!
            – David Lazar
            Nov 24 '18 at 2:42











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53417576%2fhow-to-generate-shopify-abandoned-cart-key-parameter-email-hash%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          The answer my friend, is blowing in the wind...



          https://help.shopify.com/en/api/reference/orders/abandoned_checkouts



          You can clearly see how to deal with that hash right there!






          share|improve this answer





















          • Dave! {{ token }}?key={{ hash }} ... how do I generate the hash? That docs page does not seem to have info on that
            – Rick Davies
            Nov 22 '18 at 21:18










          • Why re-invent the wheel? Why not just use the URL from Shopify? Why do you have to make your own? "abandoned_checkout_url": "snowdevil.ca/orders/14168/68778783ad298f1c80c3bafcddeea? recovered=1" The recovery URL that's sent to a customer so they can recover their checkout.
            – David Lazar
            Nov 22 '18 at 23:33












          • That's not in the Checkout object on the client side : ) { "apiHost": "shop.myshopify.com", "geolocatedAddress": { }, "i18n": { }, "locale": "en", "page": "show", "requiresShipping": true, "step": "shipping_method", "token": "abc123", "AddressFormat": { } }
            – Rick Davies
            Nov 24 '18 at 0:18












          • You are free to send me your problem via an email, and I will do my best to spell out a working solution Rick!
            – David Lazar
            Nov 24 '18 at 2:42
















          0














          The answer my friend, is blowing in the wind...



          https://help.shopify.com/en/api/reference/orders/abandoned_checkouts



          You can clearly see how to deal with that hash right there!






          share|improve this answer





















          • Dave! {{ token }}?key={{ hash }} ... how do I generate the hash? That docs page does not seem to have info on that
            – Rick Davies
            Nov 22 '18 at 21:18










          • Why re-invent the wheel? Why not just use the URL from Shopify? Why do you have to make your own? "abandoned_checkout_url": "snowdevil.ca/orders/14168/68778783ad298f1c80c3bafcddeea? recovered=1" The recovery URL that's sent to a customer so they can recover their checkout.
            – David Lazar
            Nov 22 '18 at 23:33












          • That's not in the Checkout object on the client side : ) { "apiHost": "shop.myshopify.com", "geolocatedAddress": { }, "i18n": { }, "locale": "en", "page": "show", "requiresShipping": true, "step": "shipping_method", "token": "abc123", "AddressFormat": { } }
            – Rick Davies
            Nov 24 '18 at 0:18












          • You are free to send me your problem via an email, and I will do my best to spell out a working solution Rick!
            – David Lazar
            Nov 24 '18 at 2:42














          0












          0








          0






          The answer my friend, is blowing in the wind...



          https://help.shopify.com/en/api/reference/orders/abandoned_checkouts



          You can clearly see how to deal with that hash right there!






          share|improve this answer












          The answer my friend, is blowing in the wind...



          https://help.shopify.com/en/api/reference/orders/abandoned_checkouts



          You can clearly see how to deal with that hash right there!







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 21 '18 at 20:33









          David Lazar

          5,51331426




          5,51331426












          • Dave! {{ token }}?key={{ hash }} ... how do I generate the hash? That docs page does not seem to have info on that
            – Rick Davies
            Nov 22 '18 at 21:18










          • Why re-invent the wheel? Why not just use the URL from Shopify? Why do you have to make your own? "abandoned_checkout_url": "snowdevil.ca/orders/14168/68778783ad298f1c80c3bafcddeea? recovered=1" The recovery URL that's sent to a customer so they can recover their checkout.
            – David Lazar
            Nov 22 '18 at 23:33












          • That's not in the Checkout object on the client side : ) { "apiHost": "shop.myshopify.com", "geolocatedAddress": { }, "i18n": { }, "locale": "en", "page": "show", "requiresShipping": true, "step": "shipping_method", "token": "abc123", "AddressFormat": { } }
            – Rick Davies
            Nov 24 '18 at 0:18












          • You are free to send me your problem via an email, and I will do my best to spell out a working solution Rick!
            – David Lazar
            Nov 24 '18 at 2:42


















          • Dave! {{ token }}?key={{ hash }} ... how do I generate the hash? That docs page does not seem to have info on that
            – Rick Davies
            Nov 22 '18 at 21:18










          • Why re-invent the wheel? Why not just use the URL from Shopify? Why do you have to make your own? "abandoned_checkout_url": "snowdevil.ca/orders/14168/68778783ad298f1c80c3bafcddeea? recovered=1" The recovery URL that's sent to a customer so they can recover their checkout.
            – David Lazar
            Nov 22 '18 at 23:33












          • That's not in the Checkout object on the client side : ) { "apiHost": "shop.myshopify.com", "geolocatedAddress": { }, "i18n": { }, "locale": "en", "page": "show", "requiresShipping": true, "step": "shipping_method", "token": "abc123", "AddressFormat": { } }
            – Rick Davies
            Nov 24 '18 at 0:18












          • You are free to send me your problem via an email, and I will do my best to spell out a working solution Rick!
            – David Lazar
            Nov 24 '18 at 2:42
















          Dave! {{ token }}?key={{ hash }} ... how do I generate the hash? That docs page does not seem to have info on that
          – Rick Davies
          Nov 22 '18 at 21:18




          Dave! {{ token }}?key={{ hash }} ... how do I generate the hash? That docs page does not seem to have info on that
          – Rick Davies
          Nov 22 '18 at 21:18












          Why re-invent the wheel? Why not just use the URL from Shopify? Why do you have to make your own? "abandoned_checkout_url": "snowdevil.ca/orders/14168/68778783ad298f1c80c3bafcddeea? recovered=1" The recovery URL that's sent to a customer so they can recover their checkout.
          – David Lazar
          Nov 22 '18 at 23:33






          Why re-invent the wheel? Why not just use the URL from Shopify? Why do you have to make your own? "abandoned_checkout_url": "snowdevil.ca/orders/14168/68778783ad298f1c80c3bafcddeea? recovered=1" The recovery URL that's sent to a customer so they can recover their checkout.
          – David Lazar
          Nov 22 '18 at 23:33














          That's not in the Checkout object on the client side : ) { "apiHost": "shop.myshopify.com", "geolocatedAddress": { }, "i18n": { }, "locale": "en", "page": "show", "requiresShipping": true, "step": "shipping_method", "token": "abc123", "AddressFormat": { } }
          – Rick Davies
          Nov 24 '18 at 0:18






          That's not in the Checkout object on the client side : ) { "apiHost": "shop.myshopify.com", "geolocatedAddress": { }, "i18n": { }, "locale": "en", "page": "show", "requiresShipping": true, "step": "shipping_method", "token": "abc123", "AddressFormat": { } }
          – Rick Davies
          Nov 24 '18 at 0:18














          You are free to send me your problem via an email, and I will do my best to spell out a working solution Rick!
          – David Lazar
          Nov 24 '18 at 2:42




          You are free to send me your problem via an email, and I will do my best to spell out a working solution Rick!
          – David Lazar
          Nov 24 '18 at 2:42


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53417576%2fhow-to-generate-shopify-abandoned-cart-key-parameter-email-hash%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          404 Error Contact Form 7 ajax form submitting

          How to know if a Active Directory user can login interactively

          TypeError: fit_transform() missing 1 required positional argument: 'X'