How to inegrate paypal with iphone?
<p>I am trying to integrate paypal with iphone n i m getting the error related to .o files of mobile payment library..want to know the complete procedure for integating paypal with iphone..and i m trying dis coding for paypal </p>

<pre><code>- (void)viewDidLoad 
{
    [super viewDidLoad];
    [PayPal initializeWithAppID:@"APP-80W284485P519543T" forEnvironment:ENV_SANDBOX];
}


-(IBAction)payPal:(id)sender
{
    PayPal *payObject=[PayPal getInstance];
    PayPalPayment *obj=[[PayPalPayment alloc]init];
    obj.recipient=@"priyankasaroha@gmail.com";
    obj.paymentCurrency=@"USD";
    obj.description=@"Teddy Bear";
    obj.merchantName=@"Priyanka";
    obj.subTotal = [NSDecimalNumber decimalNumberWithString:@"10"];    
    [payObject checkoutWithPayment:obj];
}
</code></pre>
