MOLPay Payment Gateway For Swift

Updated 26 March 2021


MOLPay Payment Gateway For Swift

In this Blog , we are going to learn about how to implement the MOLPay Payment Gateway in your iOS Application. In addition I am explain the method and workflow of the payment Gateway in Swift.

Payment Gateways are use in all the Application in which there is requirement of the Transaction. With the Passage of time now companies are using digital transaction and with their requirement we need to implement the available payment gateway in the Application. In this Blog, we will learn about MOLPay Payment Gateway

Let’s start with the Integration of the payment gateway in your iOS Application. Please follow the steps below for integration.

Step -1

Go to the Link and create your account in the MOLPay Platform.

Step – 2

After Creating your Account , login in into your account and generate the test credentials for the Payment gateway.

Step – 3

Now Follow the Below Procedure for the integration of the Payment Gateway in your iOS Application.

Please follow the installation Procedure Below :

Step -A

Please create a Pod file and write the required pod “pod ‘MOLPayXDK'” for the MOLPay payment Gateway.

Step – B

Now import the MOLPay Sdk framework into your iOS Application project.



Step – C

Now go to the ViewController where you want to integrate the payment Gateway in your iOS Application i.e on Checkout View Controller in your iOS Application.

Step – D

Create an instance of the MOLPayLib() in the view Controller Class

Step – E

Now we call the start molpay Method. Therefore, it will initialise the Payment Gateway SDK.

Step – F

In this method we are assign the delegate of the MOLPayLib to viewController and parsing the required field for the Payment gateway.

Step – G

For instance this is Deep Linking method provided in the demo App by the MOLPay payment Gateway Team. However, for more information on Deep Linking Press here.

Step – H

After that close button this method will trigger

Step – I

In addition, use this extension with the method of transaction Result


In this Blog we have learned about MOLPay Payment Gateway. Please visit here for the demo Application for MOLPay Payment gateway in swift. Thanks for reading this Blog. You can also check my other Blog from here.

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home