Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7696813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:52:02+00:00 2026-05-31T21:52:02+00:00

I am using PayPal Mobile Payments Library to implement PayPal for Android using Adobe

  • 0

I am using PayPal Mobile Payments Library to implement PayPal for Android using Adobe AIR.

When I am creating some PayPalPayment object for user to add an item to buy, how can I get that item in the callback function?

I want to be able to check is the transaction valid?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T21:52:03+00:00Added an answer on May 31, 2026 at 9:52 pm

    You can pass any additional custom data to identify your payment on your server side trow param:

    payment.setCustomID(“some extra not visible data you can pass and it will come back in ipn callback URL to your server”);

    // Create a basic PayPalPayment.
    PayPalPayment payment = new PayPalPayment();
    
    // Sets the currency type for this payment.
    payment.setCurrencyType(currency_type);
    
    // Sets the recipient for the payment. This can also be a phone number.
    payment.setRecipient(paypal_recipient);
    
    // Sets the amount of the payment, not including tax and shipping amounts.
    payment.setSubtotal(new BigDecimal(currency_cost));
    
    // Sets the payment type. This can be PAYMENT_TYPE_GOODS, PAYMENT_TYPE_SERVICE, PAYMENT_TYPE_PERSONAL, or PAYMENT_TYPE_NONE.
    payment.setPaymentType(PayPal.PAYMENT_TYPE_GOODS);
    
    // Sets the Custom ID. This is any ID that you would like to have associated with the payment.
    payment.setCustomID(transaction_id);
    
    // Sets the Instant Payment Notification url. This url will be hit by the PayPal server upon completion of the payment.
    payment.setIpnUrl(payment_url_callback);
    
    // Sets the memo. This memo will be part of the notification sent by PayPal to the necessary parties.
    payment.setDescription(product_description);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Paypal to handle automated recurring payments for my website. Users pay to
I'm using this django app to implement PayPal IPN. I'm testing it using PayPal's
I have an website on asp.net-mvc, I'm thinking of using paypal for payments, is
I am creating a store using Active Merchant and PayPal sandbox right now. It
I am using PayPal Website Payments Standard to accept payments on an online store.
I am using paypal to process payments on my site. Paypal returns the post
I am trying to implement a recurring subscription service on a website using PayPal
I'm using Paypal Digital Goods, it is good until now. When user click on
I want to know if i can integrate the paypal without using paypal library
I am using PayPal minicart on a BuyNow Page.But Problem is that User doesn't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.