Need Help Posting a Value From Javascript To My API or to my iOS App (WKWebView)
Budget: $30 – $250 USD
Hi there. I have a Payments Form (that takes credit cards) in html and it generates a Nonce/Token (which represents the credit card and allows me to charge it one time for a payment a Customer owes). I want to try to get this Nonce/Token and either post it either
1) back to my iOS App (if I were to use this page in WKWebView for example) - mainly Swift and/or
2) pass the Nonce/Token along with some sort of Identifier to my Database (MySQL), so I can retrieve it and pay for the order behind the scenes (via my API).
I think I should be able to easily pass an Order ID to the Form, so once the Customer enters their Card Info, then maybe you can make it post that to my DB (so I'll at least have the Order ID AND the Nonce).
Anyway, you can test this with 4111 1111 1111 1111 12/22 123 12345
Look at the Console and you'll see the Nonce.
Here's the page (and the html file is attached also)
https://voicemenu.com/api/pay/simple.html
Thanks!
1) back to my iOS App (if I were to use this page in WKWebView for example) - mainly Swift and/or
2) pass the Nonce/Token along with some sort of Identifier to my Database (MySQL), so I can retrieve it and pay for the order behind the scenes (via my API).
I think I should be able to easily pass an Order ID to the Form, so once the Customer enters their Card Info, then maybe you can make it post that to my DB (so I'll at least have the Order ID AND the Nonce).
Anyway, you can test this with 4111 1111 1111 1111 12/22 123 12345
Look at the Console and you'll see the Nonce.
Here's the page (and the html file is attached also)
https://voicemenu.com/api/pay/simple.html
Thanks!