2
을 내 프로젝트에 추가 한 후페이팔 아이폰 시간 초과 오류 또 다시
에서 다운로드 페이팔 라이브러리를 간단한 응용 프로그램을 작성하고, 통합하고, 난 그냥 내 ViewController.m의 코드 몇 줄 쓰기 나는 두 가지 주요 문제,
- 대부분의 시간을 직면하고
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. - (void)viewDidLoad { [PayPal initializeWithAppID:@"APP-80W284485P519543T" forEnvironment:ENV_SANDBOX]; //We have successfully initialized and are ready to pay UIButton *button = [[PayPal getInstance] getPayButtonWithTarget:self andAction:@selector(payWithPayPal) andButtonType:BUTTON_278x43 andButtonText:BUTTON_TEXT_PAY]; [self.view addSubview:button]; [super viewDidLoad]; } - (void) payWithPayPal { NSLog(@"VEER SUTHAR"); PayPal *payObject=[PayPal getInstance]; PayPalPayment *obj=[[PayPalPayment alloc]init]; [email protected]"[email protected]"; [email protected]"USD"; [email protected]"Teddy Bear"; [email protected]"Veer"; obj.subTotal = [NSDecimalNumber decimalNumberWithString:@"10"]; [payObject checkoutWithPayment:obj]; }
그것은는
아래의 "세션처럼 항상 오류를 제공, 페이팔의 버튼을 가능하게하고, 내가 그것을 클릭하는 버튼을 활성화하고 이메일 ID와 비밀번호를 입력 않는 경우 오류를
을 시도하십시오
어느 한 나에게 실제 문제와 그 해결책 사전에
감사를 설명 할 수 PayPal로 작업 할 때 그것이 나에게 더 안정적이었다 어떤 이유