nasarbashag/yii2-nasarbashag-myfatoorah

This is myfatoorah package by nasarbashag for you

v1.0.0 2024-01-25 03:23 UTC

This package is auto-updated.

Last update: 2024-04-25 03:55:19 UTC


README

Introduction

Yii2 MyFatoorah is a Yii2 extension that allows you to easily integrate the MyFatoorah payment gateway into your Yii2 applications. This package simplifies the process of handling payments through MyFatoorah, providing a seamless experience for Yii2 developers.

The Yii2 package for integrating the MyFatoorah payment gateway with Yii2 is currently in progress, showcasing promising developments in the realm of online payment processing within Yii2-based applications. The package is meticulously designed to seamlessly integrate the advanced features of the MyFatoorah payment gateway into Yii2 projects, providing developers with a robust and efficient solution for handling online transactions. Despite being a work in progress, the initial stages of development have successfully addressed the crucial functionality of initiating and executing payments, ensuring that users can securely and effortlessly complete transactions through the MyFatoorah gateway within their Yii2 applications.

The package leverages Yii2's powerful framework to create a streamlined and user-friendly experience for developers, enabling them to effortlessly incorporate MyFatoorah's payment capabilities into their projects. The integration of initiation and execution of payments reflects a key milestone in the package's development, showcasing the commitment to delivering a comprehensive solution for Yii2 developers seeking to integrate the MyFatoorah payment gateway. As development progresses, users can anticipate further refinements, additional features, and an overall polished package that facilitates a seamless integration process, ultimately enhancing the overall payment processing experience within Yii2 applications.

Installation

You can install this package using Composer:

composer require nasarbashag/yii2-nasarbashag-myfatoorah

Add default values in params.php

....
 "nbMyFatoorah" => [
        'Token' => "Occaecat non adipisicing velit officia reprehenderit non non ea velit ad minim.",
        'Url' => "Occaecat non adipisicing velit officia reprehenderit non non ea velit ad minim.",
        'SuccessUrl' => "Occaecat non adipisicing velit officia reprehenderit non non ea velit ad minim.",
        'ErrorUrl' => "Occaecat non adipisicing velit officia reprehenderit non non ea velit ad minim.",
        'Currency' => "Occaecat non adipisicing velit officia reprehenderit non non ea velit ad minim.",
    ],
...

Initiate payment

$initPayment = new Embed();
$result = $initPayment->initiatePayment(amount: 100.00, currentcyIso : "KWD");
// this result will all the payment methods