Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Link Token #58

Open
CocoaJerry opened this issue Jul 8, 2022 · 3 comments
Open

Create Link Token #58

CocoaJerry opened this issue Jul 8, 2022 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@CocoaJerry
Copy link

CocoaJerry commented Jul 8, 2022

Can we optimize the Tokens create function to support more parameters?
image

@brentscheffler
Copy link
Contributor

Looks like they've really expanded the option set. This may take me a while to implement.

@brentscheffler brentscheffler added enhancement New feature or request help wanted Extra attention is needed labels Jul 8, 2022
@banyman
Copy link

banyman commented Jul 28, 2022

Hello.

I have an error for create link token.


use TomorrowIdeas\Plaid\Plaid;


$plaid = new \TomorrowIdeas\Plaid\Plaid("6..............572", 'd2db9e................", "sandbox");

$token = $plaid->tokens->create('client_name', 'en', ["US"], 22, ['auth']);

echo $token ;

[2022-07-28T13:01:13.333760+00:00] log.DEBUG: Slim Application Error Type: TypeError Code: 0 Message: TomorrowIdeas\Plaid\Resources\Tokens::create(): Argument #4 ($user) must be of type TomorrowIdeas\Plaid\Entities\User, int given, called in /home/finance/public_html/views/PlaidCreateLinkToken.php on line 21 File: /home/finance/public_html/vendor/tomorrow-ideas/plaid-sdk-php/src/Resources/Tokens.php Line: 30 Trace: #0 /home/finance/public_html/views/PlaidCreateLinkToken.php(21): TomorrowIdeas\Plaid\Resources\Tokens->create('client_name', 'en', Array, 22, Array) #1

If I use


$item = $plaid->createLinkToken('name of user', 'en', ['US'],'14',["auth"]);

print_r($item);

[2022-07-28T13:36:02.441234+00:00] log.DEBUG: Slim Application Error Type: Error Code: 0 Message: Call to undefined method TomorrowIdeas\Plaid\Plaid::createLinkToken() File: /home/finance/public_html/views/PlaidCreateLinkToken.php Line: 25 Trace: #0

@django23
Copy link

django23 commented Nov 1, 2023

Ain't this fixed with? #63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants