Last active
July 11, 2018 12:50
-
-
Save rmpugh/c27f87ef67a9f2287082e16288f105fc to your computer and use it in GitHub Desktop.
This file contains 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
<script> | |
var receptiveAppSettings = { | |
"return_url":"http://example.com/user/123", | |
"settings": { | |
"user": { | |
"find_by": "email" | |
}, | |
"account": { | |
"find_by": "name" | |
} | |
}, | |
"account":{ | |
"id":"321", | |
"name":"Company Ltd", | |
"monthly_value":"99.99", | |
"is_paying":"true"}, | |
"vendor":{ | |
"id":"01234567-89ab-...."}, | |
"user":{ | |
"id":"123", | |
"email":"joe@example.com", | |
"full_name":"Joe Bloggs", | |
"allowed_products":[{"name": 'MyProduct', "id":'my_product_external_id'}] | |
} | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment