Skip to content

Instantly share code, notes, and snippets.

@rmpugh
Last active July 11, 2018 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rmpugh/c27f87ef67a9f2287082e16288f105fc to your computer and use it in GitHub Desktop.
Save rmpugh/c27f87ef67a9f2287082e16288f105fc to your computer and use it in GitHub Desktop.
<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