- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
获取秘钥链接httpsbalipaycomorderserviceIndexhtm.doc
获取秘钥链接/order/serviceIndex.htm
/**
* 文件名 : PartnerConfig_h 作者 :京-慕落城-手游 创建日期 : 2014-5-17
*/
//
// id
// 1.用您的签约支付宝账号登录支付宝网站()
// 2.点击“商家服务”(/order/myorder.htm)
// 3.点击“查询合作者身份(pid)”、“查询安全校验码(key)”
//
#ifndef MQPDemo_PartnerConfig_h
#define MQPDemo_PartnerConfig_h
//合作身份者id,以2088开头的16位纯数字
#define PartnerID @//开发者自行填写
//收款支付宝账号
#define SellerID @//开发者自行填写
//安全校验码(MD5)密钥,以数字和字母组成的32位字符
#define MD5_KEY @
//商户私钥,自助生成
#define PartnerPrivKey @//此处开发者要填写自己生成的私钥!!!!
//支付宝公钥
#define AlipayPubKey @MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB
#endif
/**
* 文件名 : AppDelegate.m 作者 :京-慕落城-手游 创建日期 : 2014-5-17
*/
#import AppDelegate.h
#import ViewController.h
#import AlixPayResult.h
#import DataVerifier.h
#import PayViewController.h
@implementation AppDelegate
- (void)dealloc
{
#if ! __has_feature(objc_arc)
[_window release];
[_viewController release];
[super dealloc];
#endif
}
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
#if ! __has_feature(objc_arc)
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
#else
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
#endif
// Override point for customization after application launch.
#if ! __has_feature(objc_arc)
self.viewController = [[[ViewController alloc] initWithNibName:@ViewController bundle:nil] autorelease];
#else
self.viewController = [[ViewController alloc] initWithNibName:@ViewController bundle:nil];
#endif
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application
{
// Sent when the application is about to move from active to inactive state. This can occur for certa
文档评论(0)