Flutter JazzCash Online Card Payment Using Redirect Method
This blog is all about Setting up JazzCash card payment in a flutter
1) The first step is to create the flutter project with the java code option
2) The 2nd Step is to create the function named "start" in main.dart and assign it a simple button
Function Code is given below
3) The 3rd Step is to go to MainActivity.java and paste the following code:
4) The 4th Step is to create a new file named PaymentActivity.java and paste the following code:
5) The 5th Step is to create a new file named activity_payment.xml and paste the following code:
6) The 6th Step is to replace all credentials with your's in MainActivity.java and remember that the retuned URL should same as on the portal And then Run the App
Post a Comment