Skip to content

Laravel Error: IuguObjectNotFound #63

@paulocosta94

Description

@paulocosta94
<?php
namespace App\Http\Controllers;
use Iugu; // Import the Iugu class
use Iugu_Customer; // Import the Iugu_Customer class

class TestController extends Controller {

    public function index() {

        Iugu::setApiKey('API_KEY_HERE');
        Iugu_Customer::create(
           [
                'email' => 'exemple@gmail.com',
                'name' => 'John'
            ]
        );
    }

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions