banking icon indicating copy to clipboard operation
banking copied to clipboard

Transactions Issue

Open roversodev opened this issue 1 year ago • 7 comments

The code doesn't catch the transactions from Plaid:

An error occurred while getting the account: TypeError: transactions is not iterable.

In your deployed app, it doesn't appear though.

roversodev avatar Nov 11 '24 13:11 roversodev

hello, I found this solution #69

amjarmed avatar Nov 19 '24 21:11 amjarmed

Thanks!

roversodev avatar Nov 22 '24 17:11 roversodev

bro,still after doing #69 steps ,error is there any solutions?

MehtaAbhii avatar Nov 24 '24 11:11 MehtaAbhii

For anyone still facing this issue, feel free to check my final project for a working solution: here.

In my implementation, I used products: [Products.Auth, Products.Transactions] to resolve the problem.

If this solution works for you, please consider giving the repository a ⭐, and follow me if you want to.

amjarmed avatar Nov 24 '24 15:11 amjarmed

Yeah ,worked fine thanks a bunch.

MehtaAbhii avatar Nov 25 '24 13:11 MehtaAbhii

Screenshot 2024-11-28 003712 ca Screenshot 2024-11-28 003748 n help from this error

AnilkumarKotyada avatar Nov 28 '24 06:11 AnilkumarKotyada

i was having the same issue ADDITIONAL_CONSENT_REQUIRED , client does not have user consent to access the PRODUCT_TRANSACTIONS , its seems plaid added extra security to the user of US and CA , i addded ES in the env and in the createLinkToken client_name:${user.firstName} ${user.lastName}, products: ["auth", "identity", "transactions"] as Products[], language: "en", country_codes: ["US", "ES"] as CountryCode[], }; same in env PLAID_COUNTRY_CODES=US,CA,ES

in the app/root pass the objects like this

<RecentTransactions accounts={accountsData} transactions={account?.transactions} appwriteItemId={appwriteItemId} page={currentPage} /> </div> <RightSidebar user={loggedIn} transactions={account?.transactions} banks={accountsData?.slice(0, 2)} /> make sure in both transactions is account?.. and not accounts?... also i reaplaced the variable sharableId to shareableId in all the project as well in the appwrite in the bank db, then created a new user and finally was able to fetch the transaction data

PhatDoge avatar Nov 30 '24 07:11 PhatDoge