cashier-mollie | Laravel Cashier provides an expressive , fluent interface | Web Framework library

 by   laravel PHP Version: v1.16.2 License: MIT

kandi X-RAY | cashier-mollie Summary

kandi X-RAY | cashier-mollie Summary

cashier-mollie is a PHP library typically used in Server, Web Framework, Laravel applications. cashier-mollie has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Laravel Cashier provides an expressive, fluent interface to subscriptions using Mollie's billing services.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              cashier-mollie has a low active ecosystem.
              It has 362 star(s) with 67 fork(s). There are 15 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 27 open issues and 182 have been closed. On average issues are closed in 41 days. There are 6 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of cashier-mollie is v1.16.2

            kandi-Quality Quality

              cashier-mollie has 0 bugs and 0 code smells.

            kandi-Security Security

              cashier-mollie has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              cashier-mollie code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              cashier-mollie is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              cashier-mollie releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              cashier-mollie saves you 1882 person hours of effort in developing the same functionality from scratch.
              It has 4195 lines of code, 547 functions and 110 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed cashier-mollie and discovered the below as its top functions. This is intended to give you an instant insight into cashier-mollie implemented functionality, and help decide if they suit your requirements.
            • Process the payment
            • Restart a new billing cycle .
            • Populate a plan .
            • Create an action collection .
            • Handle a webhook request
            • Get tax details .
            • Execute the subscription
            • Redeem a coupon .
            • Get the discount order items .
            • Add an amount for the owner .
            Get all kandi verified functions for this library.

            cashier-mollie Key Features

            No Key Features are available at this moment for cashier-mollie.

            cashier-mollie Examples and Code Snippets

            No Code Snippets are available at this moment for cashier-mollie.

            Community Discussions

            Trending Discussions on cashier-mollie

            QUESTION

            Laravel override a package event
            Asked 2020-Jan-06 at 16:13

            Is it possible to override a package provided event?

            For example

            Package "laravel/cashier-mollie" which is installed via composer into the vendor dir has an event laravel\cashier-mollie\src\Events\OrderPaymentFailed

            What I want to do is update a specific field in my database when this event is fired.

            Any ideas?

            ...

            ANSWER

            Answered 2020-Jan-06 at 16:13

            You can add your own Listener for the event in app/Providers/EventServiceProvider.php

            Source https://stackoverflow.com/questions/59615173

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install cashier-mollie

            First, make sure to add the Mollie key to your .env file. You can obtain an API key from the Mollie dashboard:.
            Once you have pulled in the package:.
            Run php artisan cashier:install.
            Add these fields to your billable model's migration (typically the default "create_user_table" migration): $table->string('mollie_customer_id')->nullable(); $table->string('mollie_mandate_id')->nullable(); $table->decimal('tax_percentage', 6, 4)->default(0); // optional $table->dateTime('trial_ends_at')->nullable(); // optional $table->text('extra_billing_information')->nullable(); // optional
            Run the migrations: php artisan migrate
            Ensure you have properly configured the MOLLIE_KEY in your .env file. You can obtain an API key from the Mollie dashboard: MOLLIE_KEY="test_xxxxxxxxxxxxxxxxxxxxxx"
            Prepare the configuration files: configure at least one subscription plan in config/cashier_plans.php. in config/cashier_coupons.php you can manage any coupons. By default an example coupon is enabled. Consider disabling it before deploying to production. the base configuration is in config/cashier. Be careful while modifying this, in most cases you will not need to.
            Prepare the billable model (typically the default Laravel User model): Add the Laravel\Cashier\Billable trait. Optionally, override the method mollieCustomerFields() to configure what billable model fields are stored while creating the Mollie Customer. Out of the box the mollieCustomerFields() method uses the default Laravel User model fields: public function mollieCustomerFields() { return [ 'email' => $this->email, 'name' => $this->name, ]; } Learn more about storing data on the Mollie Customer here. Implement Laravel\Cashier\Order\Contracts\ProvidesInvoiceInformation interface. For example: /** * Get the receiver information for the invoice. * Typically includes the name and some sort of (E-mail/physical) address. * * @return array An array of strings */ public function getInvoiceInformation() { return [$this->name, $this->email]; } /** * Get additional information to be displayed on the invoice. Typically a note provided by the customer. * * @return string|null */ public function getExtraBillingInformation() { return null; }
            Schedule a periodic job to execute Cashier::run(). $schedule->command('cashier:run') ->daily() // run as often as you like (Daily, monthly, every minute, ...) ->withoutOverlapping(); // make sure to include this

            Support

            Please see CONTRIBUTING for details.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link