title: Paypal ios SDK not clearing previously used credit cards even after call to [PayPalMobile clearAllUserData]
body: <p>I'm integrating Paypal ios SDK version 2.1 into my app but have run into a problem.
  The SDK seems to keep past payment cards in memory even though i call <code>[PayPalMobile clearAllUserData]</code> after the payment has been completed.</p>
  
  <pre><code>@interface AirliftCartViewController : AirliftViewController &lt;AVCaptureMetadataOutputObjectsDelegate, UITableViewDelegate, AirliftCartTotalsChangeDelegate, PayPalPaymentDelegate&gt;
      @property (strong) AVCaptureSession * captureSession;
      @property (strong, nonatomic) UIView *cameraPreview;
      @property (nonatomic, strong, readwrite) PayPalConfiguration *payPalConfiguration;
      - (IBAction)initiateCreditCardCheckout:(id)sender;
  @end
  ...
  @implementation AirliftCartViewController
  
  - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil timeout:(NSUInteger)timeoutInSeconds screenName:(NSString *)screenName
  {
      self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil timeout:timeoutInSeconds screenName:@"AirliftCartView"];
      if (self) {
          // Custom initialization
          self.payPalConfiguration = [[PayPalConfiguration alloc] init];
          self.payPalConfiguration.rememberUser = NO;
      }
  
      return self;
  }
  
  
  
  - (void)payPalPaymentDidCancel:(PayPalPaymentViewController *)paymentViewController
  {
      NSLog(@"payment cancelled!");
      // The payment was canceled; dismiss the PayPalPaymentViewController.
      [paymentViewController dismissViewControllerAnimated:YES completion:^{
          // clear all paypal user information
          [PayPalMobile clearAllUserData];
      }];
  }
  
  - (void)payPalPaymentViewController:(PayPalPaymentViewController *)paymentViewController didCompletePayment:(PayPalPayment *)completedPayment
  {
      NSLog(@"Payment was successful");
      // Payment was processed successfully; send to server for verification and fulfillment.
      [self verifyCompletedPayment:completedPayment];
  
      // Dismiss the PayPalPaymentViewController.
      [paymentViewController dismissViewControllerAnimated:YES completion:^{
  
      // clear all paypal user information
      [PayPalMobile clearAllUserData];
  
      // emptycart
      [self.cartController emptyCart];
  
      // reset metadata
      [self.metaDataFound removeAllObjects];
  
  }
  
  - (IBAction)initiateCheckout:(id)sender {
      NSLog(@"checkout requested!");
      [PayPalMobile preconnectWithEnvironment:PayPalEnvironmentSandbox];
  
      // present paypal payment
      PayPalPaymentViewController * payPalVC = [[PayPalPaymentViewController alloc]
                                            initWithPayment:[self.cartController getPayPalPaymentFromCart]
                                            configuration:self.payPalConfiguration delegate:self];
  
      [self presentViewController:payPalVC animated:YES completion:^{
          [self.captureSession stopRunning];
          [self.cameraPreview removeFromSuperview];
      }];
  }
  
  
  @end
  </code></pre>
  
  <p>I present the PayPalPaymentViewController like this (so there's no strong reference to it that i can tell)</p>
  
  <p>Its not acceptable that any card information is kept retained for my app, any ideas anyone?</p>
  
  <p>Edit: Adding user steps as requested:</p>
  
  <ul>
  <li>the user selects products to buy and then clicks on checkout button which has initiateCheckout as its Action.</li>
  <li>this brings up the paypalpaymentviewcpntroller which shows the previously used card as the only payment option (the first time I launch the controller provides a choice of either logging into paypal or using a card)</li>
  </ul>
  
  <p>Edit 2: Added property declarations for <code>captureSession</code> and <code>cameraPreview</code> and expanded <code>init</code> definition</p>
  
  <p>Edit 3: Added screenshots</p>
  
  <p><img src="https://i.stack.imgur.com/Y49AB.png" alt="initial checkout">
  <img src="https://i.stack.imgur.com/OPRUx.png" alt="second checkout"></p>