{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/PayPal-iOS-SDK/issues/257","labels_url":"https://api.github.com/repos/paypal/PayPal-iOS-SDK/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-iOS-SDK/issues/257/comments","events_url":"https://api.github.com/repos/paypal/PayPal-iOS-SDK/issues/257/events","html_url":"https://github.com/paypal/PayPal-iOS-SDK/issues/257","id":57436386,"number":257,"title":"Brazilian accounts can not pay with the IOS SDK ","user":{"login":"tony0121","id":8613552,"avatar_url":"https://avatars.githubusercontent.com/u/8613552?v=3","gravatar_id":"","url":"https://api.github.com/users/tony0121","html_url":"https://github.com/tony0121","followers_url":"https://api.github.com/users/tony0121/followers","following_url":"https://api.github.com/users/tony0121/following{/other_user}","gists_url":"https://api.github.com/users/tony0121/gists{/gist_id}","starred_url":"https://api.github.com/users/tony0121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tony0121/subscriptions","organizations_url":"https://api.github.com/users/tony0121/orgs","repos_url":"https://api.github.com/users/tony0121/repos","events_url":"https://api.github.com/users/tony0121/events{/privacy}","received_events_url":"https://api.github.com/users/tony0121/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paypal/PayPal-iOS-SDK/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-12T09:31:44Z","updated_at":"2015-02-23T19:34:03Z","closed_at":null,"body":"Hi team,\r\nRecently I use 2 brazilian sandbox accounts(1 for Biz and another for person) for testing. However, when we try to check out (in sandbox mode), we always have the following error :\r\n\"PayPal SDK: Request has failed with error: PAYMENT_CREATION_ERROR - There was a problem setting up this payment. Please visit the PayPal website to check your account. (422) | PayPal Debug-ID: 1a3143b608c96 [sandbox, PayPal iOS SDK 2.8.3]\"\r\nBut other personal account (non Brazil) is OK. Is there any restriction in place preventing Brazilian accounts to make mobile payments ?"},"comment":{"url":"https://api.github.com/repos/paypal/PayPal-iOS-SDK/issues/comments/75614523","html_url":"https://github.com/paypal/PayPal-iOS-SDK/issues/257#issuecomment-75614523","issue_url":"https://api.github.com/repos/paypal/PayPal-iOS-SDK/issues/257","id":75614523,"user":{"login":"techilm","id":731513,"avatar_url":"https://avatars.githubusercontent.com/u/731513?v=3","gravatar_id":"","url":"https://api.github.com/users/techilm","html_url":"https://github.com/techilm","followers_url":"https://api.github.com/users/techilm/followers","following_url":"https://api.github.com/users/techilm/following{/other_user}","gists_url":"https://api.github.com/users/techilm/gists{/gist_id}","starred_url":"https://api.github.com/users/techilm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techilm/subscriptions","organizations_url":"https://api.github.com/users/techilm/orgs","repos_url":"https://api.github.com/users/techilm/repos","events_url":"https://api.github.com/users/techilm/events{/privacy}","received_events_url":"https://api.github.com/users/techilm/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T19:34:03Z","updated_at":"2015-02-23T19:34:03Z","body":"Hello, \r\n\r\nThank you for looking into this issue. We are also affected when trying (in sandbox mode) to make payments in BRL.\r\n\r\nBoth the buyer's and seller's accounts are Brazilian ones, with BRL as main currency, but the payment always fails with the same error: \r\n**PayPal SDK: Request has failed with error: PAYMENT_CREATION_ERROR - There was a problem setting up this payment. Please visit the PayPal website to check your account. (422) | PayPal Debug-ID: 69b0aaefce332 [sandbox, PayPal iOS SDK 2.8.3]**\r\n\r\nAs a side note, we noticed that payments work with non Brazilian buyer accounts (and their main currency is not BRL), even though the PayPal SDK mentions that BRL payments are only available between two BRL accounts...\r\n\r\n(The debug id mentioned above is the last one we encountered).\r\n\r\nKind Regards."}}