Download the PHP package payfabric/module-payment without Composer
On this page you can find all versions of the php package payfabric/module-payment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download payfabric/module-payment
More information about payfabric/module-payment
Files in payfabric/module-payment
Package module-payment
Short Description PayFabric Payment Gateway
License OSL-3.0 AFL-3.0
Informations about the package module-payment
PayFabric Gateway Plugin for Magento 2.4.3 or Higher
Requires Magento version 2.4.3 or higher.
Requires an active PayFabric account. Development can be done on a PayFabric Sandbox account. PayFabric is an EVO Payments processing platform.
Description
PayFabric gateway extension allows you to add PayFabric payment processing capabilities into Magento 2.4.3 or higher without any custom coding.
Display Modes
The plugin offers three modes to present the Hosted Payment Page:
- Dialog
- Iframe
- Redirect
Alternative Payment Methods
| Alternative Payment Methods supported by each display mode: | Payment Method | Dialog | Iframe | Redirect |
|---|---|---|---|---|
| Apple Pay | ✔ | ✘ | ✘ | |
| Google Pay | ✔ | ✘ | ✔ | |
| PayPal/Venmo | ✔ | ✘ | ✘ |
Installation
Before installing please take a full backup of your website.
Manual Installation
- Download the extension zip file.
- Unzip the extension and upload the PayFabric folder to your Magento root directory app/code (create folder if not exists) via FTP/SSH.
-
Enable the extension and clear the static view files by running the command:
-
Register the extension and initiate the database migrations by running the command:
-
Recompile the Magento project by running the command:
- Clear the Magento store’s cache by running the command:
Install with Composer
-
Run from Magento root folder:
-
Enable the extension and clear the static view files by running the command:
-
Register the extension and initiate the database migrations by running the command:
-
Recompile the Magento project by running the command:
- Clear the Magento store’s cache by running the command:
Configuration
In the PayFabric Portal, prepare a device with a default gateway configured.
- Go to Settings > Dev Central > Device Management to create a device to obtain the Device ID and Password.
- Go to Settings > Gateway Account Configuration, click '+ New Gateway Account' if the payment gateway account is not associated to an existing PayFabric account, and then set the default gateway under Default Gateway Settings. Please refer to the user guide in PayFabric.
- If you enable the eCheck Gateway Account, you can customize the eCheck payment UI to default the Entry Class to ‘WEB’ and hide it by adding the following custom JS in the PayFabric theme (please refer to PayFabric Themes):
In your Magento account:
- Go to STORES > Configuration > Sales > Payment Methods to enter your gateway and device data.
-
Select your Display Mode. When using "Iframe" as your Display Mode, you must create a theme to add the following custom JS and configure this theme as default theme in the PayFabric Portal (please refer to PayFabric Themes). Please don't do that for other display modes which will affect your payment UI.
- Next, select your Payment Action. Select "Sale" for a normal website purchase transaction. This is the default option and automatically executes both the authorization and capture for the transaction. The funds from this transaction will be included in your next batch settlement.
- If you choose "Authorization", see the Capture instructions below.
- Click "Save Config".
- Go to System > Cache Management to flush Magento cache.
- When using "Authorization" as your Payment Action, you must “Capture” the transaction when the sale has been completed. If you do not “Capture” the Authorization, no funds will be settled as the transaction is not complete.
- To capture an authorized transaction: Click on the "Invoice" button at the top right side.
- On the Invoice page, scroll down to the bottom, choose "Capture Online" from the dropdown menu, and click on the "Submit Invoice" button.
- When using "Authorization" as your Payment Action, you may “Void” a transaction when the order has been cancelled before being captured. Click on the "Void" or "Cancel" button at the top right side.
- To refund a sale or captured transaction directly on Magento: Open the invoice of the captured order.
- Then click on "Credit Memo" on the top right side menu.
- On the credit memo page, click "Refund".
Support
Have a question or need help? Contact [email protected]