Created
April 2, 2015 19:29
-
-
Save sparkweb/92012734196537603390 to your computer and use it in GitHub Desktop.
FoxyShop Reverse Login - Button Version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if is_anonymous == 0 %} | |
{% set timestamp = checkout_date|date_modify("+5 minutes")|date("U") %} | |
<script type="text/javascript"> | |
jQuery(".fc-receipt-action--continue a.fc-button").attr("href", "http://YOURSITE.COM/foxycart-checkout-complete/?fc_auth_token={{ generate_sso_token(timestamp) }}×tamp={{ timestamp }}&foxycart_customer_id={{ customer_id }}"); | |
</script> | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment