Note that there are some explanatory texts on larger screens.

plurals
  1. POPaypal iphone timeout error again and again
    primarykey
    data
    text
    <p>I am creating an simple app, and integrating paypal library downloaded from </p> <p><a href="https://www.x.com/developers/paypal/products/mobile-payment-libraries" rel="nofollow">Paypal Library Link</a> </p> <p>after adding to my project, I just write few lines of code in my ViewController.m</p> <pre><code>// 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]; obj.recipient=@"veer.developer@gmail.com"; obj.paymentCurrency=@"USD"; obj.description=@"Teddy Bear"; obj.merchantName=@"Veer"; obj.subTotal = [NSDecimalNumber decimalNumberWithString:@"10"]; [payObject checkoutWithPayment:obj]; } </code></pre> <p>I am facing two major issue, </p> <ol> <li>Most of time it doesn't enable the button of paypal, and gives error</li> <li>If it does enable button, as I click it, and enter the email id and password, it gives error always like below</li> </ol> <p>"Your Session has time out. Your payment has not been processed. Please try sending again"</p> <p>I am unable to understand the issue over here, Even I have valid email account for sandbox</p> <p>Can any one explain me the real issue and it solution, </p> <p>Thanks in Advance </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload