Agreement_transaction_list empty without changes

edoardo_cortese
Contributor
Contributor

Yesterday 22 march i noticed that my api calls to billing agreement api return the "agreement_transaction_list" object completely empty. I've no made changes to my code:

$params = array('start_date' => date('Y-m-d', strtotime('-15 years')), 'end_date' => date('Y-m-d', strtotime('+5 days')));

try {
    $result = Agreement::searchTransactions($subscription_agreement_id, $params, $apiContext);
} catch (PayPal\Exception\PayPalConnectionException $ex) {
    error_log($ex->getData());
    echo $ex->getData();
    exit;
} catch (Exception $ex) {
    error_log($ex);
    echo $ex;
    exit;
}

echo $result;

And the result (same for all customers):

{
    "agreement_transaction_list": []
}

Any idea?

Thanks

Login to Me Too
1 REPLY 1

IVicki77
Member
Member
I keep getting “Things don’t appear to be working at the moment” when I go to pay an invoice. Any idea what’s going on and how I can fix it? Please help, I’ve tried everything. 😩😩😩
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.