iphone - How to develop a payment verification for in-app purchase? -


i have developed iphone application rejected. application offer sms transmission service. on website each user has account , can buy credits on website able send sms.

the reason rejections app uses external service, website. have use in-app purchase credits.

so extend api. if purchase takes place in-app web server needs know there purchase , type of purchase. done using http-post.

i build simple url , register purchase in user-account, since can verify purchase performed correctly in app store. prevent hacking , security reason think there has kind of encryption.

e.g. if payment process in app successful send http-post webserver. contains encrypted key can encrypted webserver.

what think this? how can make api safe regarding in-app purchase , security algorithm use?

any other suggestions or ideas?

you should server product model, rather trying invent way app on device tell server credit purchased after fact. section on verifying store receipts come in handy; in short, app transmits contents of transactionreceipt server (ideally via https). server base64-encodes it, embeds in simple json object, , posts apple status , verified purchase information.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -