This is the Flip Payment Module for Magento 2, enabling seamless integration of Flip's payment services into your Magento store.
- Accept payments via Flip in Magento 2.
- Automatic payment status updates.
- Secure and reliable payment processing.
- Magento 2.4.x
- PHP 8.x
- Flip API Key (Get yours from Flip Dashboard)
- Download the module from GitHub Releases.
- Extract and copy the files into:
app/code/Flip/Payment/
- Run the following Magento CLI commands:
bin/magento module:enable Flip_Payment bin/magento setup:upgrade bin/magento cache:flush
- Log in to Magento Admin Panel.
- Navigate to:
Stores → Configuration → Sales → Payment Methods. - Find Flip for Business and expand the settings.
- Configure the following:
- Is Live Mode: Choose No for Test Mode/Sandbox, or Yes for Production
- Flip Business ID: Input Your Flip Business ID
- API Secret Key: Your Flip API Key
- Validation Key: Your Flip Validation Key
- Click Save Config and Flush Cache.
Once configured, customers will see Flip Online Payment as a payment option during checkout. Orders paid via Flip will automatically update their status in Magento.
To ensure payment status updates are received by your Magento store, you need to set up the Webhook URL on the Flip Dashboard. The Webhook Notification URL allows Flip to send real-time updates to your Magento store regarding the status of transactions processed through the payment extension. This ensures that your store reflects accurate transaction statuses for completed, pending, or failed payments. Follow these steps:
-
Log in to your Flip Dashboard at Flip Dashboard.
-
Navigate to the Callback section.
-
Scroll down to the Accept Payment section.
-
Enter the following Callback URL:
https://yourstore.com/flip/payment/callback
Replace
yourstore.com
with your actual Magento store domain. -
Click Save and Test Callback button.
This URL will handle Flip's payment callback notifications, ensuring that payment status is updated in your Magento store after a transaction is completed.
- Ensure Webhook URL is set in Flip dashboard:
https://yourstore.com/flip/payment/callback
- Make sure your API Key and Validation Key is correct.
- Run:
If disabled, enable it using:
bin/magento module:status | grep Flip_Payment
bin/magento module:enable Flip_Payment
Try clearing the Magento cache:
bin/magento cache:flush
bin/magento cache:clean
This project is licensed under the MIT License.
We welcome contributions! Please fork the repository and submit a pull request.