Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FoxyShop Reverse Login - Button Version
{% 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) }}&timestamp={{ 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
You can’t perform that action at this time.