### Manual Installation Guide Source: https://github.com/maib-ecomm/maib-payment-gateway-for-woocommerce/blob/main/README.md Step-by-step instructions for manually installing the Maib Payment Gateway Plugin for WooCommerce. ```html 1. Download the plugin from the GitHub repository. 2. Unzip the downloaded file. 3. If the plugin was downloaded from GitHub, rename the extracted folder to *maib-payment-gateway-for-woocommerce*. 4. Upload the *maib-payment-gateway-for-woocommerce* folder to the */wp-content/plugins/* directory. 5. Go to the **Plugins** menu in your WordPress dashboard and activate the plugin. ``` -------------------------------- ### WordPress Plugin Installation Source: https://github.com/maib-ecomm/maib-payment-gateway-for-woocommerce/blob/main/readme.txt Instructions for installing the Maib Payment Gateway for WooCommerce plugin via the WordPress dashboard or manually. ```html = Installation in dashboard = 1. Go to **Plugins > Add new**. 2. Search for the *Maib Payment Gateway for WooCommerce* plugin. 3. Click *Install Now* and wait until the plugin is installed successfully. 4. Click *Activate Now* to activate the plugin. = Manual installation = 1. Download the plugin from the WordPress or [GitHub](https://github.com/maib-ecomm/maib-payment-gateway-for-woocommerce) repository. 2. Unzip the downloaded file. 3. If the plugin was downloaded from GitHub, rename the extracted folder to *maib-payment-gateway-for-woocommerce*. 4. Upload the *maib-payment-gateway-for-woocommerce* folder to the */wp-content/plugins/* directory. 5. Go to the **Plugins** menu in your WordPress dashboard and activate the *Maib Payment Gateway for WooCommerce* plugin. ``` -------------------------------- ### Installation via FTP Source: https://github.com/maib-ecomm/maib-payment-gateway-for-woocommerce/blob/main/README.ro.md Instructions for installing the Maib Payment Gateway plugin for WooCommerce using FTP. This involves downloading, unzipping, renaming, uploading, and activating the plugin within the WordPress admin panel. ```bash 1. Download the plugin from the GitHub repository. 2. Unzip the downloaded file. 3. If downloaded from GitHub, rename the extracted folder to _maib-payment-gateway-for-woocommerce_. 4. Upload the _maib-payment-gateway-for-woocommerce_ folder to the _/wp-content/plugins/_ directory. 5. Navigate to the *Plugins* menu in the admin panel and activate the plugin. ``` -------------------------------- ### Debugging Information Source: https://github.com/maib-ecomm/maib-payment-gateway-for-woocommerce/blob/main/README.ro.md Guidance on how to enable and access plugin debug logs for troubleshooting. It also provides contact information for additional support, specifying the necessary details to include in support requests. ```text Enable debugging in the plugin settings and access the log file. For additional assistance, please contact the maib e-commerce support team by emailing ecom@maib.md. In your email, please include: - Merchant name - Project ID - Date and time of the transaction with errors - Errors from the log file ``` -------------------------------- ### Payment Method Activation Source: https://github.com/maib-ecomm/maib-payment-gateway-for-woocommerce/blob/main/README.ro.md Steps to activate and configure the Maib Payment Gateway within the WooCommerce settings. This includes enabling the payment method and accessing its administration settings. ```bash 1. Go to **WooCommerce > Settings > Payments**. 2. Activate the Maib Payment Gateway payment method. 3. Click _Manage_ to configure the necessary settings. ``` -------------------------------- ### Plugin Settings Configuration Source: https://github.com/maib-ecomm/maib-payment-gateway-for-woocommerce/blob/main/README.ro.md Details on the various settings available for the Maib Payment Gateway plugin, including enabling/disabling, display name, description, debug mode, payment types, order descriptions, API credentials, and order statuses. ```text 1. Enable/Disable 2. Title - The name of the payment method displayed to the Buyer on the Checkout page. 3. Description - The description of the payment method displayed to the Buyer on the Checkout page. 4. Debug Mode - Enables logging of error messages in the WooCommerce Logs system. To view debug messages, go to _View logs_ and select the _maib_gateway__ file with the desired date. 5. Payment Type - Direct Payments or 2-stage Payments. 6. Order Description - Information about the order displayed to the Buyer on the card data entry page. 7. Project ID - Your project ID in maibmerchants. 8. Project Secret - Your project password. Available after activating the Project. 9. Signature Key - The signature key for validating transaction status notifications on the Callback URL. Available after activating the Project in maibmerchants. 10. Order Status: Payment successful - The status of the order if the transaction was completed successfully. Default: Processing. 11. Order Status: 2-stage Payment authorized - The status of the order if the transaction was authorized successfully. Default: Pending. 12. Order Status: Payment failed - The status of the order if the transaction failed. Default: Failed. 13. Project Settings - Add the predefined links for Ok URL / Fail URL / Callback URL in the respective fields of the Project in maibmerchants. ``` -------------------------------- ### Maib E-commerce API Integration Source: https://github.com/maib-ecomm/maib-payment-gateway-for-woocommerce/blob/main/README.md Information regarding the integration with the maib e-commerce API, including links to documentation and requirements for testing and live transactions. ```APIDOC Maib E-commerce API Documentation: https://docs.maibmerchants.md/en Integration Steps and Requirements: https://docs.maibmerchants.md/en/integration-steps-and-requirements To test the integration, you will need access to a Test Project (Project ID / Project Secret / Signature Key). For this, please submit a request to the email address: ecom@maib.md. To process real payments, you must have the e-commerce contract signed and complete at least one successful transaction using the Test Project data and test card details. After signing the contract, you will receive access to the maibmerchants platform and be able to activate the Production Project. ``` -------------------------------- ### Maib Payment Gateway API Reference Source: https://github.com/maib-ecomm/maib-payment-gateway-for-woocommerce/blob/main/readme.txt Details on the Maib e-commerce API used for payment processing. This includes information on transaction types, currencies, and required credentials. ```APIDOC Maib e-commerce API: Features: * Two types of payments: Direct payments & Two-step payments (depending on your Project settings); * Three currencies: MDL / USD / EUR (depending on your Project settings); * Payment refund: Partial or full refund; * Admin order action: Complete Two-Step Payment; Test Project Data: * Project ID / Project Secret / Signature Key can be requested via ecom@maib.md. Test Card Data: * Cardholder: Test Test * Card number: 5102180060101124 * Exp. date: 06/28 * CVV: 760 Payment Types: * Direct payments: Amount is withdrawn immediately upon successful transaction. * Two-step payments: Amount is authorized and blocked on the customer's account. Withdrawal requires a separate action ('Finish two-step payment'). ``` -------------------------------- ### Two-Step Payment Completion Source: https://github.com/maib-ecomm/maib-payment-gateway-for-woocommerce/blob/main/README.ru.md Action to complete a two-step payment transaction from a created order. ```APIDOC CompleteTwoStepPayment: Action: Complete a two-step payment. Description: Allows for the completion of a previously authorized two-step transaction. Usage: Available as an action on orders with an authorized two-step payment status. ``` -------------------------------- ### Maib Payment Gateway Settings Source: https://github.com/maib-ecomm/maib-payment-gateway-for-woocommerce/blob/main/readme.txt Configuration options for the Maib Payment Gateway within WooCommerce. These settings control the gateway's behavior, appearance, and API integration. ```php 1. **Enable/Disable** Maib Payment Gateway method 2. **Title** - Title of the payment method displayed to the customer on the checkout page. 3. **Description** - Description of the payment method displayed to the customer on the checkout page. 4. **Debug Mode** - Save debug messages to the WooCommerce System Status logs. 5. **Transaction type** - Direct Payment or Two-Step Payments (depending on your Project settings). 6. **Order description** - Description of the order displayed to the customer on the card data entry page. 7. **Project ID** - Project ID from maibmerchants.md 8. **Project Secret** - Project Secret from maibmerchants.md. It is available after project activation. 9. **Signature Key** - Signature Key for validating notifications on Callback URL. It is available after project activation. 10. **Order status: Payment completed** - Order status when payment is successful. By default: Processing. 11. **Order status: Two-Step Payment authorized** - Order status when transaction is successfully authorized. By default: On hold. 12. **Order status: Payment failed** - Order status when payment is failed. By default: Failed. 13. **Project Settings** - Add links for Ok URL / Fail URL / Callback URL in the respective fields of the Project settings in maibmerchants.md. ``` -------------------------------- ### Maib Payment Gateway Settings Source: https://github.com/maib-ecomm/maib-payment-gateway-for-woocommerce/blob/main/README.md Configuration options for the Maib Payment Gateway plugin in WooCommerce. These settings control the gateway's behavior, appearance, and integration with the maibmerchants platform. ```php 1. Enable/Disable Maib Payment Gateway method 2. Title - Title of the payment method displayed to the customer on the checkout page. 3. Description - Description of the payment method displayed to the customer on the checkout page. 4. Debug Mode - Save debug messages to the WooCommerce System Status logs. 5. Transaction type - Direct Payment or Two-Step Payments (depending on your Project settings). 6. Order description - Description of the order displayed to the customer on the card data entry page. 7. Project ID - Project ID from maibmerchants.md 8. Project Secret - Project Secret from maibmerchants.md. It is available after project activation. 9. Signature Key - Signature Key for validating notifications on Callback URL. It is available after project activation. 10. Order status: Payment completed - Order status when payment is successful. By default: Processing. 11. Order status: Two-Step Payment authorized - Order status when transaction is successfully authorized. By default: On hold. 12. Order status: Payment failed - Order status when payment is failed. By default: Failed. 13. Project Settings - Add links for Ok URL / Fail URL / Callback URL in the respective fields of the Project settings in maibmerchants.md. ``` -------------------------------- ### Maib Payment Gateway Settings Source: https://github.com/maib-ecomm/maib-payment-gateway-for-woocommerce/blob/main/README.ru.md Configuration options for the Maib Payment Gateway plugin in WooCommerce. These settings control the payment method's behavior, appearance, and API integration. ```APIDOC MaibPaymentGatewaySettings: EnablePaymentMethod: boolean - Enable or disable the payment method. Title: string - The title of the payment method displayed to the customer. Description: string - The description of the payment method displayed to the customer. DebugMode: boolean - Enable or disable payment method debugging. Logs can be viewed via 'View logs' and selecting the maib_gateway__ log file. PaymentType: enum(Direct, Two-step) - Select the payment type: Direct payments or Two-step payments. OrderDescription: string - Information about the order displayed to the customer on the card input page. ProjectID: string - Your Project ID from maibmerchants. ProjectSecret: string - Your Project Secret, available after activating your Project. SignatureKey: string - Signature key for verifying transaction status notifications on the Callback URL. Available after activating your Project. OrderStatusPaymentCompleted: string - The order status when the transaction is successfully completed. Default: Processing. OrderStatusTwoStepPaymentAuthorized: string - The order status when the transaction is successfully authorized (for two-step payments). Default: On hold. OrderStatusPaymentFailed: string - The order status when the transaction fails. Default: Failed. ProjectSettings: OkURL: string - Link for Ok URL in maibmerchants project settings. FailURL: string - Link for Fail URL in maibmerchants project settings. CallbackURL: string - Link for Callback URL in maibmerchants project settings. ``` -------------------------------- ### Payment Refund Source: https://github.com/maib-ecomm/maib-payment-gateway-for-woocommerce/blob/main/README.ru.md Refund a payment through the standard WooCommerce refund function. ```APIDOC RefundPayment: Action: Initiate a payment refund. Description: Refunds can be initiated from a WooCommerce order. The refund amount can be less than or equal to the transaction amount. A refund is only possible once per successful transaction. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.