iOS E-Commerce App, Swift - Help add page(s) from a Sample App to My App
Budget: $30 – $250 USD
Hi there. I want to add the 2 credit card pages from the attached Sample App (made by the famous payments company Square) to my iOS app (basically I have to replace the Old Credit Card form with their New Credit Card Form).
Their new credit card form (in this sample app) basically generates a payment (ie. credit card nonce/token), so that Customers can pay for purchases with a secure credit card.
This sample app is super easy. It took me 5 minutes to setup and it easily generates a nonce that displays in the XCode Console and I also found the code that actually turns the nonce into a variable (so we can pass it easily to an API call).
So, once we add the necessary code, controllers, etc from the Sample App to MY App, then I need help getting my payment process to work with it (since I'm basically updating my credit card form). I think all we would have to do is pass the nonce/token to a Payments API Call (along with the OrderID that my App already generates and passes to the old credit card form).
Note: The Sample App actually has a CURL example that posts to the Payments API. So, I think there are probably 2 easy ways to get Orders working with this new Credit Card Form.
1) Either we can pass the Order ID from my existing process along with the Nonce/Token from this new Credit Card form to the CURL Payments API. Or,
2) We can pass the Order ID from my existing process along with the Nonce/Token from this new Credit Card form to one of my existing API Calls, which all sort of look like this:
Alamofire.SessionManager.default.requestWithoutCache(url, method: .post, parameters: params).responseJSON { [weak self] response in
We have to do this via AnyDesk or Screenshare because a) I can't share the source and b) it would take way too long getting it all to work on your system anyway.
Thanks!
Their new credit card form (in this sample app) basically generates a payment (ie. credit card nonce/token), so that Customers can pay for purchases with a secure credit card.
This sample app is super easy. It took me 5 minutes to setup and it easily generates a nonce that displays in the XCode Console and I also found the code that actually turns the nonce into a variable (so we can pass it easily to an API call).
So, once we add the necessary code, controllers, etc from the Sample App to MY App, then I need help getting my payment process to work with it (since I'm basically updating my credit card form). I think all we would have to do is pass the nonce/token to a Payments API Call (along with the OrderID that my App already generates and passes to the old credit card form).
Note: The Sample App actually has a CURL example that posts to the Payments API. So, I think there are probably 2 easy ways to get Orders working with this new Credit Card Form.
1) Either we can pass the Order ID from my existing process along with the Nonce/Token from this new Credit Card form to the CURL Payments API. Or,
2) We can pass the Order ID from my existing process along with the Nonce/Token from this new Credit Card form to one of my existing API Calls, which all sort of look like this:
Alamofire.SessionManager.default.requestWithoutCache(url, method: .post, parameters: params).responseJSON { [weak self] response in
We have to do this via AnyDesk or Screenshare because a) I can't share the source and b) it would take way too long getting it all to work on your system anyway.
Thanks!