Razorpay is the only payments solution in India that allows businesses to accept,
process and disburse payments with its product suite.
It gives you access to all payment modes including credit card, debit card, netbanking,
UPI and popular wallets including JioMoney, Mobikwik, Airtel Money, FreeCharge, Ola Money and PayZapp.
Now we will try to integrate Razorpay in Yii2 application.
Aft
Date: December 28, 2021, 12:58 pm Author: Akram Hossain
Yii2 model scenarios can be used differently. Lets say, we have a model as Customer Which can be used to store customer sign-in inputs, but it can be also used for the customer sign-up purpose. In different scenarios, Yii2 model can be used in multiple business rules and logic.the email attribute may be required during customer sign-up, but not required customer sign-in.
Yii2 model uses the y
Date: December 17, 2015, 10:58 am Author: Akram Hossain
In many cases we need to submit form using jQuery ajax. Yii has built-in support for this funtionality.
In this blog post i will try to cover this topic.
In the view form section at first we need to call form widget
$form = $this->beginWidget('CActiveForm', array( 'id' => 'formId', 'enableAjaxValidation' => false,));
CActiveForm widget accepts multiple parameters, we will use two of
Date: March 3, 2015, 4:21 pm Author: Akram Hossain
In this blog post we will learn how to add jQuery UI date picker to Yii application.
To display jQuery UI date picker in the view page we need to call Yii built-in function widget.
This widget function accepts following parameters
Widget Name
Widget Options
Widget options also accepts multiple parameters it depends on widget class like
Model object
Attribute Name
Options
htmlOption
Date: October 27, 2014, 11:46 am Author: Akram Hossain
In this article we will learn how to load data into yii select box from database.
We will follow below steps
Create a function in model class
Call that function to view page to get the data
Lets say we have a table as pos_mac, now we will add a method named as getMacList() in POS_MAC model class.
This method will load the all table data of pos_mac. Yii CHtml::listData function convert thi
Date: October 16, 2014, 4:03 pm Author: Akram Hossain
In this post we will learn how to connect oracle database using PHP Yii framework.
Following steps we need to follow to accomplish this
Enable php_oci8.dll extension
Restart the apache server
Add connection string
DB username
DB Password
Adding charset(optional)
At first we need to enable php_oci8.dll extension. This extension is used to connect our application to Oracle Database.
We
Date: October 16, 2014, 4:00 pm Author: Akram Hossain