Skip to main content

Flip for Business Payment Extension for Magento 2

Elevate your Magento store with Flip for Business, Innovative payment product designed for seamless transactions in Indonesia. Flip for Business Payment Extension for Magento 2 is a robust plugin that integrates Flip's secure and efficient payment processing directly into your Magento e-commerce site. With this plugin, you can offer your customers a smooth, reliable payment experience without ever leaving your store.

Key Features

  • Seamless integration with Magento
  • Support for various payment methods including Virtual Account, Flip bank transfers and e-wallets, retail
  • Real-time payment status updates
  • Customizable payment interface
  • Secure transaction processing
  • Support for both Test Mode and Live Mode environments

Requirements

  • Magento 2.4.x or higher
  • PHP 8.x or higher
  • Flip API Secret Key Test Mode (Sandbox) for testing. Live Mode for Production
  • Download Flip for Business Payment Extension for Magento 2: flipforbusiness-checkout.zip file

How to Install

A. Manual Installation

  1. Download the module from GitHub Releases.
  2. Extract and copy the files into:
    app/code/FlipForBusiness/Checkout/
  3. Run the following Magento CLI commands:
    bin/magento module:enable FlipForBusiness_Checkout
    bin/magento setup:upgrade
    bin/magento cache:flush

Configuration

  1. Log in to Magento Admin Panel.
  2. Navigate to:StoresConfigurationSalesPayment Methods.
  3. Find Flip for Business and expand the settings.
  4. 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
  5. Click Save Config and Flush Cache.

Usage

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.


Set up Payment Callback URL on Flip Dashboard

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:

  1. Log in to your Flip Dashboard at Flip Dashboard.

  2. Navigate to the Callback section.

  3. Scroll down to the Accept Payment section.

  4. Enter the following Callback URL:

    https://yourstore.com/flipforbusiness/payment/callback

    Replace yourstore.com with your actual Magento store domain.

  5. 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.


Troubleshooting

1. Payments Not Updating

  • Ensure Webhook URL is set in Flip dashboard:
     https://yourstore.com/flipforbusiness/payment/callback
  • Make sure your API Key and Validation Key is correct.

2. "Module Not Found" Error

  • Run:

    bin/magento module:status | grep FlipForBusiness_Checkout

    If disabled, enable it using:

    bin/magento module:enable FlipForBusiness_Checkout

3. Cache Issues

Try clearing the Magento cache:

bin/magento cache:flush
bin/magento cache:clean

Contributing

We welcome contributions! Please fork the repository and submit a pull request.