Revision 0590a948
Von admin vor mehr als 2 Jahren hinzugefügt
- ID 0590a948ff86be008664e8434a9a0a6b6a19df07
- Vorgänger e9f166f1
src/libs/plugins/backends/aqpaypal/provider_getstm.c | ||
---|---|---|
AB_Transaction_SetStatus(j, AB_Transaction_StatusError);
|
||
return GWEN_ERROR_INVALID;
|
||
}
|
||
|
||
GWEN_Buffer_AppendString(tbuf, "&startdate=");
|
||
GWEN_Date_toStringWithTemplate(da, "YYYY-MM-DDT00:00:00Z", tbuf);
|
||
//testing: GWEN_Buffer_AppendString(tbuf, "&enddate=2016-01-01T00:00:00Z");
|
||
|
||
da=AB_Transaction_GetLastDate(j);
|
||
if (da) {
|
||
GWEN_Buffer_AppendString(tbuf, "&enddate=");
|
||
GWEN_Date_toStringWithTemplate(da, "YYYY-MM-DDT23:59:59Z", tbuf);
|
||
}
|
||
|
||
/* send and receive */
|
||
AB_Transaction_SetStatus(j, AB_Transaction_StatusSending);
|
||
... | ... | |
AB_Transaction_SetStatus(j, AB_Transaction_StatusError);
|
||
return GWEN_ERROR_GENERIC;
|
||
}
|
||
|
||
GWEN_Buffer_free(tbuf);
|
||
|
||
/* handle response */
|
Auch abrufbar als: Unified diff
aqpaypal: Set enddate if given.
Maybe paypal restricts the number of transactions returned in
"transactionSearch" call?