Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 22.214.171.124 release ready!
Owner and Founder. Opencart
In this blog, we are going to learn how to integrate MYFatrooh Payment Gateway in Swift. However, in today’s world, we need to create the transaction from our mobile, for which we need to integrate the payment gateway which is available in that particular country.
MYFatrooh Payment gateway provides a bundle of payment gateway. In addition, it used in the countries mention below.
After that, please follow the below steps to integrate the MYFatrooh Payment gateway in your iOS project.
Please install the MYFatrooh pod in your iOS project.
Now import the MFSDK in your View Controller.
Now create your account in MYFatrroh Payment gateway using the link and generate the token key and base URL. After that initialize the MyFatrooh payment using token Key and Base Url.
We can now call the function to initiate the payment gateway.
Now we have to set up the function for setting up the card, payment gateway result, and generate an invoice.
However, please use the below code to set up the card info.
After that, we can use the below code for generating the invoice and navigating after the success and failure of the payment gateway.
We have integrated the payment gateway into our iOS application.
In addition, now you can use a wide variety of payment gateway methods in your iOS application with only one payment gateway integration. For more information on integration please refer to the MYFatrooh official website from here.
Please read my other blog from here.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.