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" | |
} |
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", | |
"account":{ | |
"id":"321", | |
"name":"Company Ltd", | |
"monthly_value":"99.99", | |
"is_paying":"true"}, | |
"vendor":{ | |
"id":"01234567-89ab-...."}, |
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
vendor-id: "vendor-12345" | |
secret-key: "secret-12345" | |
input: {"account":{"id":"a123456","is_paying":"true","monthly_value":"99.99"}, | |
"vendor":{"id":"vendor-12345"}, | |
"user":{"full_name":"Dan Test","email":"dan@example.com","id":"u123459"}, | |
"return_url":"http://example.com"} | |
snippet expected: |
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
snippet = { | |
"account" => { | |
"id" => "a123456", | |
"is_paying" => "true", | |
"monthly_value" => "99.99" | |
}, | |
"vendor" => { | |
"id" => "vendor-12345" | |
}, | |
"user" => { |