title: how to pass the amount to pay and how to get transaction_id in in-app-payments sdk?
body: <p>I am new to square payment. I want to integrate square payment gateway in my Android app. I tried the in-app-payments-sdk. But I couldn't find how to pass the amount to pay and how to get transaction_id in in-app-payments sdk. I am only able to input card details and getting a &quot;nonce&quot; in OnActivityResult. Do I have to use other APIs like Orders API or Payments API? Please help.</p>