Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8162829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T18:51:39+00:00 2026-06-06T18:51:39+00:00

I am working on a mobile ticket sales app. The system allows users to

  • 0

I am working on a mobile ticket sales app. The system allows users to pay for items using a 3rd party api (CardIO) saving all info to my server sitting happily up in the cloud.

The problem boils down to:
Because (1) the payment process occurs entirely on the phone, and (2) there is no API that allow my server to verify with the payment processor that the payment has actually occurred, I am left wondering how best to go about verifying that the user has indeed paid for the item before marking it as paid in my database on my server.

You see, a user could follow my api calls manually, log into their account, and then send the command to my server to mark a purchase as paid without having paid for the item.

So the question is:
How can I verify the payment has taken place either on my server, or through some sort of handshake or encryption with the mobile app?

My current approach:
I am sending the plaintext information needed via a SSL (HTTPS) call to the server. Along with this, I send a hash of that string and verify using the same algorithm on my server that the string sent matches the hash sent. The thought being, that I could then use some sort of secret key to generate this hash and then verify the plain text matches the hash on the server end as well to ensure that nothing has changed. My problem with this solution, is that I don’t think it is really that secure… Someone could, rather easily crack the algorithm, because they are given the encryption and the plain text.

Thanks for looking!

Stephen

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T18:51:41+00:00Added an answer on June 6, 2026 at 6:51 pm

    The short answer is that you can’t trust the client, period. Hack around it all you want — that’s no way to build transaction information.

    If your payment processor doesn’t have an API that you can rely on, then you need a better one… which solves your problems immediately and for the future.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a mobile phone app using jQuery mobile and phonegap. I'm using
I'm working on a mobile app using Phonegap (1.4.1) / JS (jQuery Mobile 1.0)
I'm working on a mobile app using jQuery Mobile and I would like to
Working on a mobile app that needs to use a public API for accessing
I'm working on a mobile web-app using sencha touch, HTML5 and phonegap as a
I am working for mobile app. I am showing popup with content, If content
Im working on a mobile optimised site. Im using media queries to detect the
I am working on a mobile app and I have an initial page that
I'm working on a mobile app, and it makes use of a server as
I'm working on a mobile phone web app and I have several text fields

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.