How to Generate Shopify Abandoned Cart “key” Parameter? (Email Hash?)
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
add a comment |
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
add a comment |
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
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
hash shopify shopping-cart checkout email-integration
asked Nov 21 '18 at 17:26
Rick Davies
417617
417617
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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!
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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!
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
add a comment |
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!
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
add a comment |
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!
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!
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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