sdk-php-shop
sdk-php-shop copied to clipboard
Invalide Page Token TransactionLineRequest
Hi,
We always get the error "Invalide Page Token" when we try to seek through results
$request = new \Mirakl\MMP\Shop\Request\Payment\Transaction\TransactionLineRequest();
$request->setDateCreatedFrom(new \Datetime('-1 Month'));
$result = $api->getTransactionLine($request);
$request = new \Mirakl\MMP\Shop\Request\Payment\Transaction\TransactionLineRequest();
$request->setPageToken($result->getNextPageToken());
$result = $api->getTransactionLine($request);
is there any magic to to that?