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
            ->currency('EUR')
            ->source($request->stripeToken)
            ->description("My Order")
            ->pay();
    if (!$payment) {
        return redirect()->route('laralum_public::shop.orders')->with('error', __('laralum_shop::shop.buy_error'));
    }
    

Did you know?

Laralum is found to be the only CMS that still gives you the ability to manage the views and the website the way you like, without any problems with the correct functionality of it.


Donations

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

Laraketai

Snow McFox