{"action":"created","issue":{"url":"https://api.github.com/repos/angelleye/paypal-php-library/issues/49","labels_url":"https://api.github.com/repos/angelleye/paypal-php-library/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/angelleye/paypal-php-library/issues/49/comments","events_url":"https://api.github.com/repos/angelleye/paypal-php-library/issues/49/events","html_url":"https://github.com/angelleye/paypal-php-library/issues/49","id":57106809,"number":49,"title":"Missing RequireInstantFundingSource in Adaptive::Preapproval","user":{"login":"luoshiben","id":8533657,"avatar_url":"https://avatars.githubusercontent.com/u/8533657?v=3","gravatar_id":"","url":"https://api.github.com/users/luoshiben","html_url":"https://github.com/luoshiben","followers_url":"https://api.github.com/users/luoshiben/followers","following_url":"https://api.github.com/users/luoshiben/following{/other_user}","gists_url":"https://api.github.com/users/luoshiben/gists{/gist_id}","starred_url":"https://api.github.com/users/luoshiben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luoshiben/subscriptions","organizations_url":"https://api.github.com/users/luoshiben/orgs","repos_url":"https://api.github.com/users/luoshiben/repos","events_url":"https://api.github.com/users/luoshiben/events{/privacy}","received_events_url":"https://api.github.com/users/luoshiben/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-09T23:28:16Z","updated_at":"2015-02-10T01:56:08Z","closed_at":null,"body":"This may be a recent addition by PayPal, but Adaptive Payments now includes the option to require the user to have an instant funding source on account, per documentation at: https://developer.paypal.com/webapps/developer/docs/classic/api/adaptive-payments/Preapproval_API_Operation/. This can be implemented by adding the following:\r\n\r\nAdaptive line  1372:\r\n```php\r\n$RequireInstantFundingSource = isset($PreapprovalFields['RequireInstantFundingSource']) ? $PreapprovalFields['RequireInstantFundingSource'] : '';\r\n```\r\n\r\nAdaptive (altered) line 1415:\r\n```php\r\n$XMLRequest .= $RequireInstantFundingSource != '' ? '<requireInstantFundingSource xmlns=\"\">' . $RequireInstantFundingSource . '</requireInstantFundingSource>' : '';\r\n```\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/angelleye/paypal-php-library/issues/comments/73630368","html_url":"https://github.com/angelleye/paypal-php-library/issues/49#issuecomment-73630368","issue_url":"https://api.github.com/repos/angelleye/paypal-php-library/issues/49","id":73630368,"user":{"login":"angelleye","id":629241,"avatar_url":"https://avatars.githubusercontent.com/u/629241?v=3","gravatar_id":"","url":"https://api.github.com/users/angelleye","html_url":"https://github.com/angelleye","followers_url":"https://api.github.com/users/angelleye/followers","following_url":"https://api.github.com/users/angelleye/following{/other_user}","gists_url":"https://api.github.com/users/angelleye/gists{/gist_id}","starred_url":"https://api.github.com/users/angelleye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelleye/subscriptions","organizations_url":"https://api.github.com/users/angelleye/orgs","repos_url":"https://api.github.com/users/angelleye/repos","events_url":"https://api.github.com/users/angelleye/events{/privacy}","received_events_url":"https://api.github.com/users/angelleye/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T01:56:08Z","updated_at":"2015-02-10T01:56:08Z","body":"Thanks for letting me know.  I'll get it added."}}