Skip to content

Trying to access array offset on value of type null #73

Description

@mostafafallahi

سلام . خسته نباشید ببخشید این کد منه

$invoice = (new Invoice)->amount($amount);

        return Payment::callbackUrl(route('cart.verify'))->purchase(
            $invoice,
            function($driver, $transactionId) use($cart,$request) {
                $cart->update(['transaction_id'=>$transactionId,'amount'=> $amount ]);
            }
        )->pay();

ولی ارور
Trying to access array offset on value of type null
میده در صورتی فایل کانفیگ هم مشکلی نداره
1
2
مشکلش چیه ؟

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions