rally / adobe-commerce-core
Rally Checkout Adobe Commerce Extension
Installs: 276
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
pkg:composer/rally/adobe-commerce-core
Requires
- php: ~8.1.0||~8.2.0
- magento/framework: *
README
An Adobe Commerce (Magento 2+) extension for the Rally Checkout.
Rally Checkout Adobe Commerce module
Rally\Checkout module allows merchant to register sale transaction with the customer. Module implements consumer flow that includes such actions like providing shipping and billing information and confirming the purchase.
Structure
Learn about a typical file structure for a Magento 2 module.
Installation
This module modifies the following tables in the database which configured to DBMS=MySQL and ENGINE=InnoDB:
quote- adds columnshipping_coststo save PPO item(s) shipping costs.sales_order- adds columnsshipping_costsandreview_transactionto save PPO item(s) shipping costs.quote_item- adds columnis_ppoto set flag for PPO item(s).sales_order_item- adds columnis_ppoto set flag for PPO item(s).
For information about module installation in Magento 2, see Enable or disable modules.
Configuration
To configure extension please navigate to Magento 2 Admin Panel > Stores > Rally > Checkout
- Enable Rally Checkout -
rally_checkout/general/enabled(Yes/No) - Enable Sandbox mode -
rally_checkout/general/sandbox(Yes/No) - Automatically Load JS SDK -
rally_checkout/general/load_sdk(Yes/No) - API key -
rally_checkout/general/api_key(Encrypted Input) - Client ID -
rally_checkout/general/client_id(Input)
Observer
This module observes the following events:
-
etc/events.xmlsales_order_creditmemo_save_afterevent inRally\Checkout\Observer\RefundOrderWebhookObserverandRally\Checkout\Observer\OrderStatusWebhookObserverfiles.sales_order_invoice_save_afterevent inRally\Checkout\Observer\OrderStatusWebhookObserverfile.sales_order_shipment_save_afterevent inRally\Checkout\Observer\OrderStatusWebhookObserverfile.sales_order_save_afterevent inRally\Checkout\Observer\OrderUpdateWebhookObserverfile.admin_sales_order_address_updateevent inRally\Checkout\Observer\OrderUpdateWebhookObserverfile.catalog_product_attribute_update_beforeevent inRally\Checkout\Observer\ProductMassUpdateAfterObserverfile.checkout_submit_all_afterevent inRally\Checkout\Observer\InventoryUpdateAfterObserverfile.ppo_order_update_afterevent inRally\Checkout\Observer\InventoryUpdateAfterObserverfile.rally_create_guest_accountevent inRally\Checkout\Observer\GuestToCustomerObserverfile.
-
/etc/adminhtml/events.xmladmin_system_config_changed_section_rally_checkoutevent inRally\Checkout\Observer\RallyConfigSaveObserverfile.admin_system_config_changed_section_generalevent inRally\Checkout\Observer\StoreConfigSaveObserverfile.catalog_product_delete_after_doneevent inRally\Checkout\Observer\ProductDeleteAfterObserverfile.catalog_category_delete_after_doneevent inRally\Checkout\Observer\CategoryDeleteAfterObserverfile.catalog_category_save_afterevent inRally\Checkout\Observer\CategoryUpdateAfterObserverfile.catalog_product_save_afterevent inRally\Checkout\Observer\ProductUpdateAfterObserverfile.
Layouts
This module introduces the following layouts in the view/frontend/layout and view/adminhtml/layout directories:
-
view/frontend/layout:default
-
view/adminhtml/layout:sales_order_view
Events
The module dispatches the following events:
-
ppo_order_update_afterevent in the\Rally\Checkout\Model\OrderManager::savemethod. Parameters:ppo_itemsis an order items data (arraytype)
-
rally_create_guest_accountevent in the\Rally\Checkout\Model\OrderManager::processOrdermethod. Parameters:orderis an order object (\Magento\Sales\Model\Orderclass)