iOS 7 StoreKit中的payment.applicationUsername用于应用程序内购买 [英] payment.applicationUsername in iOS 7 StoreKit for In-App Purchases

查看:1189
本文介绍了iOS 7 StoreKit中的payment.applicationUsername用于应用程序内购买的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在WWDC视频使用应用内购买商店套件中,发言人描述了将payment.applicationUsername添加为客户帐户名称的哈希值。

In the WWDC video "Using Store Kit for In-App Purchases", the speaker describes adding a payment.applicationUsername as a hash of the customer account name.

payment.applicationUsername = hash(customerAccountName);

我无法在任何地方找到相关文档。我不认为customerAccountName与GUID相同,那么我们在哪里获取此信息?

I cannot find documentation on this anywhere. I don't think the customerAccountName is the same as the GUID, so where would we obtain this information?

推荐答案

customerAccountName 值,哈希函数可以从开发人员到开发人员不同。 Apple在应用程序内购买编程指南中提供了一个很好的哈希函数示例,标题为请求付款,检测不规则活动。

The "customerAccountName" value, and the hash function can be different from developer to developer. Apple provides a good example of a hash function in the In-App Purchase Programming Guide, in the section entitled Requesting Payment, Detecting Irregular Activity.

https://developer.apple.com/library/ios/documentation/NetworkingInternet /Concept/StoreKitGuide/Chapters/RequestPayment.html

这篇关于iOS 7 StoreKit中的payment.applicationUsername用于应用程序内购买的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆