hypernova/magento2-cloud-invoice

A Magento 2 module that stores invoices in your favorite cloud storage service

1.4.0 2022-12-15 01:25 UTC

This package is auto-updated.

Last update: 2024-03-30 00:21:13 UTC


README

Store Magento2 invoices into your favorite cloud storage platform.

Supports

  • Google Drive
  • WebDAV (Nextcloud, ownCloud)

Requirements

Google Drive

Installation

composer require hypernova/magento2-cloud-invoice

Configuration

  1. Go to Stores -> Configuration -> Sales -> Cloud Invoice
  2. Enable desired cloud platforms
  • For Google Drive, upload your service account credentials that you are able to download right after creating a service account in Google Developer Console. Filename is typically something like My_Project-f324uf89f3r8yfwe.json. Also, specify Google Accounts that you want to share the invoices with.

Usage

Create an invoice normally via your order screen. As you create the invoice, it will be automatically uploaded to Google Drive and shared with the Google Accounts you specified in the configuration step.

Crontab

This module can run via crontab. Go to Stores -> Configuration -> Sales -> Cloud Invoice -> Cron settings to activate it.