Skip to content

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

@maya-hamdan

Description

@maya-hamdan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions