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 3.0.3.7 release ready!
Deniel Kerr
Owner and Founder. Opencart
Top Partners
Today, we are going to learn how to integrate Paymob Payment Gateway in Swift with the SDK approach.
Before, implementing the payment gateway first we will learn what is a payment gateway?
A payment gateway is a technique used by merchants to accept credit or debit card purchases from customers.
Paymob provides a list of payment methods.
Many others
Let’s start the integration
Please follow the below steps in your iOS project
Step -1:-
Please install the paymob pod in your project
AcceptCardSDK is available through CocoaPods. To install it, simply add the following line to your Podfile:
After that change the general settings of the project, under libraries and frameworks “Do not embed” to “Embed and Sign”
Step -2:-
Now, import the AcceptSDK in viewcontroller
Step -3:-
Create payment
We need a valid payment key is required to start the payment
Step – 4:-
Add the delegate to the class, and add the protocol stubs
And if you already have a saved token
Conclusion:
In this blog, we have learned about the integration of the Paymob payment gateway integration by using SDK.
For other blogs Please click here
If you have any issues or suggestions you can leave your query/suggestion in the comment section.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Great Product, Great Team, and Great Support Service. And if you want to add more features to the product, they can submit any idea that comes to your mind. They really care about their clients and we are really happy and honored to deal with Webkul.
Osama
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.