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

Shippo Error You must pass an array as the first argument to Shippo API #1

Open
maya-hamdan opened this issue Aug 24, 2020 · 0 comments

Comments

@maya-hamdan
Copy link

this error keeps showing, im using shippo in laravel app and i generated a test api key
i put in my env :
SHIPPO_PRIVATE=shippo_test_cc2023********************************************
and I called it in my shippo class like so:
public function __construct() { // Grab this private key from .env and setup the Shippo api Shippo::setApiKey(env('SHIPPO_PRIVATE')); }

what Im I doing worng please help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant