Android App Development
iOS App Development
Flutter 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 126.96.36.199 release ready!
Hi guys, today we will learn about how to implement Tap Payment Gateway for an iOS application in Swift.
Let us know first what is the Payment gateway.
A payment gateway bridges the gap between customers, banks and online business. It safely and securely passes all the sensitive information such as customer’s credit card numbers and so on, from one end to the other. It is used for online transactions with the customer. It is a merchant service provided by an e-commerce application service provider that authorizes credit card or direct payments processing for e-businesses, online retailers, bricks and clicks, or traditional brick and mortar.
Now we can start the steps to integrate the payment gateway.
To integrate goSellSDK into your Xcode project using CocoaPods, specify it in your Podfile:
and then run this command in the terminal
To set it up, add the following line of code somewhere in your project and make sure it will be called before any usage of goSellSDK, otherwise, an exception will be thrown.
a) Using StoryBoard
b) Using code
You have to implement SessionDataSource and SessionDelegate in the viewController where you have set up the Play button. Create an extension of the controller and add this code.
You can handle payment success and failure by adding paymentSucceed method and paymentFailed method.
You can handle Session by adding sessionHasStarted, sessionCancelled and sessionHasFailedToStart method.
In viewDidload add the following code and call, updatePayButtonAmount and setData method
(i)You can test the payment gateway using the Test key and Test card Number which you can get from below URL.
(ii) You have to also register the bundle identifier with the Tap support team.
So please follow the above step to integrate the Tap payment gateway and if you have any issue or suggestion you can leave your query/suggestion in the comment section.
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.
i followed your steps and while clicking button nothing happens
check over here as per the official git hub repo –> https://github.com/Tap-Payments/gosellSDK-ReactNative
Error show on console.
We've bought a Shopware Extension which is a hybrid App, which we can now offer in the Google Play Store and the IOS App Store. I'am still impressed how fast and how sharp the support team leads us through every process of the App-Store clarification. Very fast and useful response.
Founder, Das Apartment Living
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.