{"action":"closed","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/2234","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/2234/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/2234/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/2234/events","html_url":"https://github.com/Codeception/Codeception/issues/2234","id":98677202,"number":2234,"title":"Getting invalid cookie exception","user":{"login":"abaklanov","id":3156800,"avatar_url":"https://avatars.githubusercontent.com/u/3156800?v=3","gravatar_id":"","url":"https://api.github.com/users/abaklanov","html_url":"https://github.com/abaklanov","followers_url":"https://api.github.com/users/abaklanov/followers","following_url":"https://api.github.com/users/abaklanov/following{/other_user}","gists_url":"https://api.github.com/users/abaklanov/gists{/gist_id}","starred_url":"https://api.github.com/users/abaklanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abaklanov/subscriptions","organizations_url":"https://api.github.com/users/abaklanov/orgs","repos_url":"https://api.github.com/users/abaklanov/repos","events_url":"https://api.github.com/users/abaklanov/events{/privacy}","received_events_url":"https://api.github.com/users/abaklanov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Naktibalda","id":395992,"avatar_url":"https://avatars.githubusercontent.com/u/395992?v=3","gravatar_id":"","url":"https://api.github.com/users/Naktibalda","html_url":"https://github.com/Naktibalda","followers_url":"https://api.github.com/users/Naktibalda/followers","following_url":"https://api.github.com/users/Naktibalda/following{/other_user}","gists_url":"https://api.github.com/users/Naktibalda/gists{/gist_id}","starred_url":"https://api.github.com/users/Naktibalda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naktibalda/subscriptions","organizations_url":"https://api.github.com/users/Naktibalda/orgs","repos_url":"https://api.github.com/users/Naktibalda/repos","events_url":"https://api.github.com/users/Naktibalda/events{/privacy}","received_events_url":"https://api.github.com/users/Naktibalda/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-08-03T05:51:43Z","updated_at":"2015-08-05T07:52:14Z","closed_at":"2015-08-05T07:52:14Z","body":"Hello there.\r\n\r\nI'm trying to build an acceptance test for my local project using Codeception 2.1. Everything was doing fine until I got to submit a paypal form, a paypal button. Here's how it looks:\r\n```\r\n<form action=\"https://www.sandbox.paypal.com/cgi-bin/webscr\" method=\"post\" target=\"_top\">\r\n<input type=\"hidden\" name=\"cmd\" value=\"_s-xclick\">\r\n<input type=\"hidden\" name=\"hosted_button_id\" value=\"BUTTONID\">\r\n<input type=\"image\" src=\"https://www.sandbox.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif\" border=\"0\" name=\"submit\" alt=\"PayPal - The safer, easier way to pay online!\">\r\n<img alt=\"\" border=\"0\" src=\"https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif\" width=\"1\" height=\"1\">\r\n</form>\r\n```\r\n\r\nWhen I try to submit it, Codeception goes \r\n```\r\n* I submit form \"form:nth-child(3)\",\r\n  [Uri] https://www.sandbox.paypal.com/cgi-bin/webscr\r\n  [Method] POST\r\n  [Parameters] {\"cmd\":\"_s-xclick\",\"hosted_button_id\":\"BUTTONID\"}\r\n ERROR \r\n```\r\n\r\nAnd then fires up the following error:\r\n```\r\n[RuntimeException] Invalid cookie: The cookie value must not be empty\r\n```\r\n\r\nI do NOT set any cookie manually. You can see it in my cest file:\r\n```\r\n<?php\r\nuse \\AcceptanceTester;\r\n\r\nclass SubscriptionCest\r\n{\r\n    public function _before(AcceptanceTester $I)\r\n    {\r\n    }\r\n\r\n    public function _after(AcceptanceTester $I)\r\n    {\r\n    }\r\n\r\n    // Main function\r\n    public function run(AcceptanceTester $I)\r\n    {\r\n        $I->am(\"New user\");\r\n        $I->wantTo(\"purchase a membership\");\r\n        $I->amOnPage(\"/subscription\");\r\n        \r\n        $I->submitForm(\"form:nth-child(3)\", []);\r\n    }\r\n}\r\n```\r\n\r\nWhy am i getting this error?"}}