fix(core): update
This commit is contained in:
@ -16,7 +16,10 @@ tap.test('should create a valid paypal instance', async () => {
|
||||
});
|
||||
|
||||
tap.test('should get an access token', async () => {
|
||||
const transactions = await paypal.PayPalTransaction.getTransactionFor30days(testPayPalInstance, smarttime.ExtendedDate.fromHyphedDate('2020-05-01').getTime());
|
||||
const transactions = await testPayPalInstance.getTransactionsFromTo(
|
||||
smarttime.ExtendedDate.fromHyphedDate('2020-01-01').getTime(),
|
||||
smarttime.ExtendedDate.fromHyphedDate('2020-08-01').getTime(),
|
||||
);
|
||||
console.log(transactions);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user