{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/357","labels_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/357/comments","events_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/357/events","html_url":"https://github.com/paypal/PayPal-PHP-SDK/issues/357","id":96252164,"number":357,"title":"Updating PAYPAL API issues","user":{"login":"123bbuingbbuing","id":8032946,"avatar_url":"https://avatars.githubusercontent.com/u/8032946?v=3","gravatar_id":"","url":"https://api.github.com/users/123bbuingbbuing","html_url":"https://github.com/123bbuingbbuing","followers_url":"https://api.github.com/users/123bbuingbbuing/followers","following_url":"https://api.github.com/users/123bbuingbbuing/following{/other_user}","gists_url":"https://api.github.com/users/123bbuingbbuing/gists{/gist_id}","starred_url":"https://api.github.com/users/123bbuingbbuing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/123bbuingbbuing/subscriptions","organizations_url":"https://api.github.com/users/123bbuingbbuing/orgs","repos_url":"https://api.github.com/users/123bbuingbbuing/repos","events_url":"https://api.github.com/users/123bbuingbbuing/events{/privacy}","received_events_url":"https://api.github.com/users/123bbuingbbuing/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-21T07:48:21Z","updated_at":"2015-07-21T16:19:52Z","closed_at":"2015-07-21T16:19:52Z","body":"hi! i updated my paypal API because i used an outdated API with my project, sending payments to paypal works perfectly fine but when i have to do the payment execution where the paypal deducts the amount, it always give me a \"getTransactionFee() does exist\" response. So i updated my API with the newest release. But it still not work. it gives me null response so itried testing it with chrome's app Advance Rest Client. But it only give me this response and headers\r\n\r\nStatus\r\n500 Internal Server Error Show explanation Loading time: 6641\r\nRequest headers \r\nCSP: active\r\nOrigin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.134 Safari/537.36\r\nContent-Type: application/x-www-form-urlencoded \r\nAccept: */*\r\nAccept-Encoding: gzip, deflate\r\nAccept-Language: en-US,en;q=0.8,fil;q=0.6\r\nResponse headers \r\nDate: Tue, 21 Jul 2015 05:42:44 GMT \r\nServer: Apache/2.4.7 (Ubuntu) \r\nX-Powered-By: PHP/5.5.9-1ubuntu4.11\r\nContent-Length: 0 \r\nConnection: close\r\nContent-Type: text/html; charset=UTF-8 \r\n\r\n\r\nresponse: Response does not contain any data.\r\n\r\ni hope you could help me with this. it's my first time integrating Paypal's API with my website\r\n\r\n**UPDATE:** i am having problem with this part:\r\n\r\n```$paymentExecution = new PaymentExecution();\r\n$paymentExecution->setPayer_id( unserialize(  $_POST['PayerID'])  );```"},"comment":{"url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/comments/123390597","html_url":"https://github.com/paypal/PayPal-PHP-SDK/issues/357#issuecomment-123390597","issue_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/357","id":123390597,"user":{"login":"jaypatel512","id":1309895,"avatar_url":"https://avatars.githubusercontent.com/u/1309895?v=3","gravatar_id":"","url":"https://api.github.com/users/jaypatel512","html_url":"https://github.com/jaypatel512","followers_url":"https://api.github.com/users/jaypatel512/followers","following_url":"https://api.github.com/users/jaypatel512/following{/other_user}","gists_url":"https://api.github.com/users/jaypatel512/gists{/gist_id}","starred_url":"https://api.github.com/users/jaypatel512/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaypatel512/subscriptions","organizations_url":"https://api.github.com/users/jaypatel512/orgs","repos_url":"https://api.github.com/users/jaypatel512/repos","events_url":"https://api.github.com/users/jaypatel512/events{/privacy}","received_events_url":"https://api.github.com/users/jaypatel512/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T16:19:52Z","updated_at":"2015-07-21T16:19:52Z","body":"As shown in the sample here: http://paypal.github.io/PayPal-PHP-SDK/sample/doc/payments/ExecutePayment.html\r\n\r\nYou need to use `setPayerId` method for any SDK release after 1.*, as the `_` convention was deprecated and removed in 1.* versions.\r\n\r\nYou could also run the above sample using the instructions here: https://github.com/paypal/PayPal-PHP-SDK/wiki/Samples\r\n\r\nMore information: http://paypal.github.io/PayPal-PHP-SDK/\r\n"}}