phpgoutteamazonsellercentral

How to login to Amazon SellerCentral using Goutte


Is there a way to login to seller central using Goutte? I tried this but it keeping saying password wrong (I tried manually and it works fine):

$client = new Client();
$crawler = $client->request('GET', 'https://sellercentral.amazon.com');
$form = $crawler->selectButton('sign-in-button')->form();
$crawler = $client->submit($form, array('username' => 'test@test.com', 'password' => '123456'));

Thanks


Solution

  • Figure out that I can't do that using Goutte, it's too limited.

    Used phantomjs with casperjs.