搜尋套件、儲存庫與 APP 分類

套件詳情v1.0.0

flutter_paymob_egypt

輕鬆透過 Paymob 在您的 Flutter 應用中接受信用卡付款。

AndroidiOSmacOSWindows
近 30 天下載
56
喜歡數
25
Pub 分數
145

安裝套件

flutter pub add flutter_paymob_egypt

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Flutter 套件,可實現 Paymob 支付網關的無縫整合,以便在 Flutter 應用中接受信用卡支付。它支援 Android、iOS、macOS 和 Windows 多個平台,讓開發者能以最少的設定實作安全的支付處理。該套件透過直覺的 API 簡化支付流程、權杖化與交易管理。非常適合電商應用、數位服務,以及任何需要本地埃及支付解決方案的應用。

適用情境

  • 電子商務行動應用程式
  • 數位服務訂閱
  • 應用內購買
  • 線上票務系統
  • 行動錢包整合

主要特色

  • 支援 Paymob 刷卡付款
  • 跨平台相容性
  • 安全憑證化
  • 簡單的 API 結合
  • 即時交易狀態更新

適合對象

  • Flutter 開發者在埃及開發應用程式
  • 需要本地支付受理的業務
  • 需要符合 PCI 標準的支付處理應用程式
  • 新創企業整合快速支付解決方案
  • 使用 Paymob 作為支付提供商的開發者

使用建議

  • 需要 Paymob 帳戶和 API 金鑰
  • 僅限 Paymob 支援的付款方式
  • 需要對網路問題進行適當的錯誤處理
  • 依賴於 Paymob 伺服器的可用性
  • 金融類應用可能需要額外的合規檢查

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Flutter Paymob Egypt

Easily accept payments Cards through Paymob in your Flutter app.

🚀 Installation

To install the Flutter Payment Egypt Package, follow these steps

  1. Add the package to your project's dependencies in the pubspec.yaml file:

    dependencies:
      flutter_paymob_egypt: ^0.0.9
    
  2. Run the following command to fetch the package:

    flutter pub get
    

Usage

  1. Import the package into your Dart file:

    import 'package:flutter_paymob_egypt/flutter_paymob_egypt.dart';
    
  2. Navigate to the Paymob Egypt View with the desired configuration:

    FlutterPaymobPayment(
    cardInfo: CardInfo(
      apiKey: "YOUR_API_KEY", // from dashboard Select Settings -> Account Info -> API Key
      iframesID: '123456', // from paymob Select Developers -> iframes
      integrationID: '123456', // from dashboard Select Developers -> Payment Integrations -> Online Card ID 
    ),
    totalPrice: 100, // 100 EGP --required pay with Egypt currency
    successResult: (data) {
        // Handle successful payment
    },
    errorResult: (error) {
        // Handle payment error
    });
    
    
Test Card

For testing payments, you can use the following Paymob test card:

  • Card Number: 5123 4567 8901 2346

⚡ Donate

If you would like to support me, please consider making a donation through one of the following links:

Thank you for your support!

所屬分類

依賴

依賴清單 2 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。