{"action":"created","issue":{"url":"https://api.github.com/repos/UltraCart/rest_api/issues/8","labels_url":"https://api.github.com/repos/UltraCart/rest_api/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/UltraCart/rest_api/issues/8/comments","events_url":"https://api.github.com/repos/UltraCart/rest_api/issues/8/events","html_url":"https://github.com/UltraCart/rest_api/issues/8","id":49944170,"number":8,"title":"PHP REST API Integration","user":{"login":"mtrusty","id":9937299,"avatar_url":"https://avatars.githubusercontent.com/u/9937299?v=3","gravatar_id":"","url":"https://api.github.com/users/mtrusty","html_url":"https://github.com/mtrusty","followers_url":"https://api.github.com/users/mtrusty/followers","following_url":"https://api.github.com/users/mtrusty/following{/other_user}","gists_url":"https://api.github.com/users/mtrusty/gists{/gist_id}","starred_url":"https://api.github.com/users/mtrusty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtrusty/subscriptions","organizations_url":"https://api.github.com/users/mtrusty/orgs","repos_url":"https://api.github.com/users/mtrusty/repos","events_url":"https://api.github.com/users/mtrusty/events{/privacy}","received_events_url":"https://api.github.com/users/mtrusty/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/UltraCart/rest_api/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"ucjonathan","id":5116030,"avatar_url":"https://avatars.githubusercontent.com/u/5116030?v=3","gravatar_id":"","url":"https://api.github.com/users/ucjonathan","html_url":"https://github.com/ucjonathan","followers_url":"https://api.github.com/users/ucjonathan/followers","following_url":"https://api.github.com/users/ucjonathan/following{/other_user}","gists_url":"https://api.github.com/users/ucjonathan/gists{/gist_id}","starred_url":"https://api.github.com/users/ucjonathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucjonathan/subscriptions","organizations_url":"https://api.github.com/users/ucjonathan/orgs","repos_url":"https://api.github.com/users/ucjonathan/repos","events_url":"https://api.github.com/users/ucjonathan/events{/privacy}","received_events_url":"https://api.github.com/users/ucjonathan/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2014-11-24T21:22:54Z","updated_at":"2015-03-25T17:57:51Z","closed_at":null,"body":"I was told by ultracart support to post this question here.\r\n\r\nI'm trying to do an integration that keeps our customers on our site, I'm using PHP for all the API calls except for posting the credit cards so my flow looks like this\r\n\r\nCreate/Populate Cart - PHP REST call\r\nUpload credit card to cart - JS JSONP call\r\nValidate - PHP REST call\r\nfinalizeOrder - PHP Rest call\r\n\r\nAfter the finalizeOrder I want to be able add upsell orders to the order, can finalizeAfter be used after calling finalzeOrder?  We need the credit card to be authorized for the initial sale amount right away, but we need to be able to keep the order open for subsequent upsells that may or may not be approved.\r\n"},"comment":{"url":"https://api.github.com/repos/UltraCart/rest_api/issues/comments/86149369","html_url":"https://github.com/UltraCart/rest_api/issues/8#issuecomment-86149369","issue_url":"https://api.github.com/repos/UltraCart/rest_api/issues/8","id":86149369,"user":{"login":"amitavmohanty","id":9553027,"avatar_url":"https://avatars.githubusercontent.com/u/9553027?v=3","gravatar_id":"","url":"https://api.github.com/users/amitavmohanty","html_url":"https://github.com/amitavmohanty","followers_url":"https://api.github.com/users/amitavmohanty/followers","following_url":"https://api.github.com/users/amitavmohanty/following{/other_user}","gists_url":"https://api.github.com/users/amitavmohanty/gists{/gist_id}","starred_url":"https://api.github.com/users/amitavmohanty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitavmohanty/subscriptions","organizations_url":"https://api.github.com/users/amitavmohanty/orgs","repos_url":"https://api.github.com/users/amitavmohanty/repos","events_url":"https://api.github.com/users/amitavmohanty/events{/privacy}","received_events_url":"https://api.github.com/users/amitavmohanty/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T17:57:51Z","updated_at":"2015-03-25T17:57:51Z","body":"Hi Perry,\r\n\r\nNeed you help...\r\n\r\nI am having the Login Failed issue when i Call FinalizeOrder from rest_proxy.php\r\n\"Login failed. Please make sure this IP has been authorized to access the system.\"\r\n\r\nI am using a special user for using the api and also This is working fine when i run the pages on my local server. But when i run on the remote server it causes the issue (both the servers have ssl).\r\n\r\nThe flow is:\r\nCreate / load cart\r\nAdd item to cart\r\nValidate\r\nFinalizeAfter\r\nFinalizeOrder\r\n\r\nAny idea why this is happening ?\r\n\r\nRegards\r\nAmitav Mohanty"}}