gbeep/magento2-plugin

Gobeep extension for Magento 2

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

1.2.0 2020-10-26 16:28 UTC

This package is auto-updated.

Last update: 2024-04-09 21:36:42 UTC


README

Gobeep’s extension for Magento 2.x is designed to help clients who use the Magento platform to quickly and seamlessly generate links to validate game codes distributed by Gobeep gaming solution. And to (optionally) display the game on the frontend.

Installation

Using Zip file

  • Unzip the zip file in app/code/Gobeep
  • Enable the module by running php bin/magento module:enable Gobeep_Ecommerce
  • Apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush
Using composer
  • Install the module composer by running composer require gbeep/magento2-plugin
  • enable the module by running php bin/magento module:enable Gobeep_Ecommerce
  • apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Setup

After the extension has been installed, log in to the Magento Account, you'll find the Gobeep menu in the left sidebar.

Inputs

Name Type Description Default Required
enabled yes/no Whether extension is disabled or enabled No Yes
environment text Gobeep Environment stable No
region text Gobeep Region eu No
campaign_id text Campaign ID (used in Gobeep_Ecommerce_Block_Link block) Yes
cashier_id text Cashier ID (used in Gobeep_Ecommerce_Block_Link block) Yes
secret text Secret given by GoBeep for signing requests and verify incoming webhooks Yes
from_date date Start date (Date will be checked to determine if module is enabled or not) No
to_date date End date (Date will be checked to determine if module is enabled or not) No
eligible_days multiselect Days of the week when module is enabled No
cashier_image image Cashier link image (used in Gobeep_Ecommerce_Block_Link block) Yes*
cashier_external_image string Cashier link image URL (used in Gobeep_Ecommerce_Block_Link block) Yes*
campaign_image image Campaign link image (used in Gobeep_Ecommerce_Block_Link block) Yes*
campaign_external_image string Campaign link image URL (used in Gobeep_Ecommerce_Block_Link block) Yes*
notify yes/no Whether we should notify users when they are winning or they are refunded No
winning_email_template string Email Notification template (winning) No
refund_email_template string Email Notification template (refund) No

(*) Use one or another (external or internal)

Blocks

Link block

We recommend using the New Order email to integrate the cashier/campaign links. The \Magento\Sales\Model\Order object MUST be passed to the block when generating cashier links.

cashier link
{{block class="Gobeep\Ecommerce\Block\Link" area='frontend' template='Gobeep_Ecommerce::email/link.phtml' for='cashier' store_id=$order.store_id order_id=$order.increment_id order_amount=$order.grand_total}}
campaign link
{{block class="Gobeep\Ecommerce\Block\Link" area='frontend' template='Gobeep_Ecommerce::email/link.phtml' for='campaign' store_id=$order.store_id order_id=$order.increment_id}}

Transactional Email

If you want to use email notifications. Here's the list of templates. :warning: You should create a new template for all these transactional emails in the admin, there's no default template for them.

Name Type
Gobeep Ecommerce Status Refunded Refund email
Gobeep Ecommerce Status Winning Winning email

Support

For any technical issue with the module, please open an issue on Github.