Payments usage

The most important feature out of the box is the payment class.

  • Laralum\Payments\Payment

    This class contains the logic to process payments.

    Example usage:

    $payment = new Payment();
    $payment->ammount(12000) // in cents
            ->description("My Order")
    if (!$payment) {
        return redirect()->route('laralum_public::shop.orders')->with('error', __('laralum_shop::shop.buy_error'));

Did you know?

Laralum is translated with aitor24/laralang, a translation package able to autogenerate php translations files.


Please consider donating if you liked the project, we currently have no funding and we're spending a lot of time maintaining and developing this project.

The creators

Èrik Campobadal Forés

Aitor Riba Archilla

Major Contributors

Krishan König


Snow McFox