title: Paypal SDK getting error when passing more than one purchaseUnits for OrderRequest in iOS SDK
body: <p>My code for paypal sdk is like below</p>
  <pre><code>func makePaypalPayment(amount:String,userEmail:String,eChitthiAmount:String) {
           Checkout.start(
              createOrder: { createOrderAction in
              // This order is for eChitthi
              let amountForeChitthi = PurchaseUnit.Amount(currencyCode: .usd, value: eChitthiAmount)
              let purchaseUnitForeChitthi = PurchaseUnit(amount: amountForeChitthi)
              
              // This order is for user
              let amount = PurchaseUnit.Amount(currencyCode: .usd, value: amount)
              let payeeDetail = PurchaseUnit.Payee(emailAddress:userEmail)
              let purchaseUnit = PurchaseUnit(amount: amount,payee: payeeDetail)
              let order : OrderRequest = OrderRequest(intent: .capture, purchaseUnits: [purchaseUnit,purchaseUnitForeChitthi])
              createOrderAction.create(order: order)
              
          }, onApprove: { approval in
              approval.actions.capture { (response, error) in
                  print(&quot;Payment successfully&quot;)
              }
          }, onCancel: {
              print(&quot;Order is cancelled.&quot;)
          }, onError: { error in
              print(&quot;Order have some error.&quot;)
          }
      )
  }
  </code></pre>
  <p>Here I want to make two transaction for one payment. Like user want to transfer $100 to his friend then 1% charge will be gone to application's owner.</p>
  <p>So I my scenario If userA want to transfer $100 to userB then total amount $101 will be cut from userA's paypal account and $100 will goes to userB's account and $1 goes to application's owner account. For that I created two <strong>PurchaseUnit</strong> object and passed both into OrderRequest. Because of that getting <strong>The operation couldn’t be completed. (OrderActionError error 202.)</strong></p>
  <p>I am using SDK : PayPalCheckout (0.73.0)</p>
  <p>Language : Swift</p>
  <p>Help (I have implemented code from this document) - <a href="https://developer.paypal.com/docs/business/native-checkout/ios/programmatically-start-sdk/" rel="nofollow noreferrer">https://developer.paypal.com/docs/business/native-checkout/ios/programmatically-start-sdk/</a></p>
  <p>Any help will be appreciate. Thanks.</p>