Billing Android

Hello

I try to get billing work. Since V2 bookstores are no longer available from Google I resorted to a wrapper on the github V2 library: https://github.com/robotmedia/AndroidBillingLibrary

Everything is ok when I use with Google play.

When I use with BBWorld for the purchase dialog box does not appear. The code that checks the billing is supported does not seem to work. I am in sandbox mode and from the setting/developer app in BBWorld. The goods are added etc.

If there is a referral code that works, I'm happy to spend that. I use this code to GitHub as it was the only way I could find stuff billing market V2.

Newspapers are:

I/BillingRequest (37949697): sending bundle Bundle [{API_VERSION = 1, PACKAGE_NAME = com.nbodyphysics.nball, BILLING_REQUEST = CHECK_BILLING_SUPPORTED}]

I/BillingRequest (37949697): answer a Bundle [mParcelledData.dataSize = 48]

I/NBallActivity (37949697): * billing is supported

D/billing (37949697): ask-1 of type check_billing_supported sent

I/NBallActivity (37949697): check billingSupported = true

I/BillingRequest (37949697): sending bundle Bundle [{API_VERSION = 1, PACKAGE_NAME = com.nbodyphysics.nball, BILLING_REQUEST = REQUEST_PURCHASE}]

I/BillingRequest (37949697): answer a Bundle [mParcelledData.dataSize = 208]

D/billing (37949697): application of 2 type REQUEST_PURCHASE sent

D/navigatorshell (37949673): request for payment

I'm a bit puzzled by the API_VERSION = 1, but when I changed that to 2 app doesn't detect billing taken care of.

To refer to an application talking to Google Play:

I / BillingRequest (2044): sending bundle Bundle [{BILLING_REQUEST = REQUEST_PURCHASE, = com.nbodyphysics.nball, API_VERSION = 2 PACKAGE_NAME}]

D/Finsky (1850): [7009] InAppBillingUtils.getPreferredAccount: com.nbodyphysics.nball: the first account - [L3TNJ0-jYYopp50Lsxxycmwq9Og]

D/Finsky (1850): [7009] InAppBillingUtils.getPreferredAccount: com.nbodyphysics.nball: the first account - [L3TNJ0-jYYopp50Lsxxycmwq9Og]

I / BillingRequest (2044): answer a Bundle [mParcelledData.dataSize = 208]

D/billing (2044): ask 5715815745718647738 sent REQUEST_PURCHASE type

D/Finsky (1850): [1] CarrierParamsAction.createCarrierBillingParameters: config carrier billing is null. Device is not targeted for 2 DCB.

D/billing (2044): received com.android.vending.billing.IN_APP_NOTIFY

D/billing (2044): Notification-903949946837880483 available

I / BillingRequest (2044): sending bundle Bundle [{BILLING_REQUEST = GET_PURCHASE_INFORMATION, NONCE = 5790625523383869766, = com.nbodyphysics.nball, API_VERSION = 2 PACKAGE_NAME}]

D/Finsky (1850): [7008] InAppBillingUtils.getPreferredAccount: com.nbodyphysics.nball: the first account - [L3TNJ0-jYYopp50Lsxxycmwq9Og]

D/Finsky (1850): [7008] InAppBillingUtils.getPreferredAccount: com.nbodyphysics.nball: the first account - [L3TNJ0-jYYopp50Lsxxycmwq9Og]

I / BillingRequest (2044): answer a Bundle [mParcelledData.dataSize = 92]

D/billing (2044): ask 6016901650873485619 sent GET_PURCHASE_INFORMATION type

D/Finsky (1850): [1] MarketBillingService.sendResponseCode: RESULT_OK response for request of 6016901650873485619 to com.nbodyphysics.nball.

D/billing (2044): received com.android.vending.billing.PURCHASE_STATE_CHANGED

Ok. I think I solved my case. I think I do too much of the verification procedure. Ultimately, the promotion of the security of the example of dungeons, that's what I had to modify:

(the variable that BB indicates that the application is running on a BlackBerry device, I check when my code starts to run)

If (!.) {TextUtils.isEmpty (signature))}

Becomes

If (!.) TextUtils.isEmpty (signature). {OF BB)

-------------------------------------------------------

and

checked = Security.verify (key, "signed data", signature);

Becomes

If {(BB)

checked = true;
} else {}
checked = Security.verify (key, "signed data", signature);
}

-----------

And that is it really. Other settings apply only to my particular application.

I hope this helps!

Tags: BlackBerry Developers

Similar Questions

  • Lollipop in App-billing v3 Test purchase does not have Android 5.0.

    I installed developer preview Android 5.0 on Nexus 7 (2013). ( L android Developer Preview |) Android developers )


    In App-billing-V3 test purchase is currently working on Nexus 7 with Android 4.4.2.

    But the Android returns error,

    14:17:53.126 11-11: D/Finsky (1403): PurchaseFragment.handleError [1]: Error: PurchaseError {type = subtype 3 = 12}

    14:17:53.126 11-11: D/Finsky (1403): PurchaseFragment.fail [1]: purchase failed: PurchaseError {type = subtype 3 = 12}

    and system dialog box below.

    This version of the application is not configured for billing by Google play. See the Help Center for more information


    Another application (do not use AdobeAIR) works very well on Android L...

    All solutions?

    Hello

    Could you please try initiating the in-app purchase now? The problem has been resolved by google for their purpose. Please let us know if still have problems you.

    Thank you

    Adobe Air

  • Android-In-App-billing: empty library

    What may be motivating an empty library in my Android App Viewer, if I publish folios as "trade retail/public.

    If the folios are public/free that they are displayed correctly, as soon as I put them on the retail trade, they are not shown anymore.

    I followed the steps correctly on http://helpx.Adobe.com/Digital-Publishing-Suite/KB/publishing-process-Android-Amazon-Mobil.html

    Not working in test mode / unpublished or as soon as the application is published.

    I checked the following:

    1. The shared secret Android is copied from Play-Dev to the Adobe account management
    2. The DPS-account is correct in the generator of DPS
    3. The App is published
    4. The in-App-purchase item is published on Play-Dev
    5. The Folio is published with the correct product ID
    6. "Renditions" folio have same name of publication, number of fiolio, date (I manually set it to a date in the past) and product ID
    7. I've recreated the App with the DPS generator
    8. I test on Asus Transformer TF 101, Nexus 7, Galaxy Tab 7 (the jtfw is nowhere)
    9. I created a testuser
    10. Each of these devices I reset several times and made the first devices user testuser

    Yet once again, the problem occurs only if I set the folios to retail. They work as long as they are free.

    It's my third App on Android and it is the first, I can't make it work with. Someone has an idea what stage I could be missing? I thank very you much in advance!

    Well finally after days of work I fixed it again with the oldest trick in the world (I always forget):

    I've recreated the application within the DPS App Builder by deleting the old and making a complete new instance.

    Now it's working. Thank you for reading!

  • I'm looking for a driver for HTC sense android phone to connect to my PC?

    I'm looking for a driver for HTC sense android phone to connect to my PC?

    Thank you very much

    Hello

    1. What is the status of the device in Device Manager?
    2 have you installed HTC sync?

    I suggest that you follow these steps and check if it helps.

    a. on your device, click 'Start' - 'settings' - 'Connection' - "USB to PC" and uncheck the box "Advanced network feature.

    b. now connect via USB and see if this fits the Bill.

  • E-mail .pdf attachment files will be open not [Android]

    Greetings,

    I've reached the limits of my capacity for mutual assistance and, at the risk of giving more information than necessary, I ask for help.

    I inherited an old, hand ASUS ME173X, HD - 7 tablet (Android Version 4.2.2) that I use for work.  In our office procedure, we have other people e-mail reports agencies us.  Get the emails very well, I'm not able to open attachments .pdf of enamel on the tablet.  I tried without success to the following:

    1. Open the attachment directly from the email by tapping it.
    2. Saved the file attachment / .pdf on the internal memory and tried to open it with the Adobe application.
    3. Saved the file attachment / .pdf on the external SD card and tried to open it with the Adobe application.
    4. Tried to open the file by using the file manager after you have saved the .pdf attachment.

    In each case above, I get the following message:

    "Please wait...".

    If this message is not subsequently replaced with the correct content of the document... "etc [he never]

    I know that the attachments are generated with Adobe Acrobat 7 or higher, but isn't sure what version for each of them.

    I could access the memory of the Tablet and SD card directly with my PC attached by USB and open these PDFs with Acrobat Pro 10, with no problems.  These are the same exact files of the tablet.  So I know that the files are not corrupt.  When I open the same email on my PC (MS Outlook), attachments open very well, so the problem seems to be with the tablet.

    I uninstalled the software Acrobat Reader and re-installed several times.  I have the latest version of Acrobat Reader 15.2.1, build 122070.

    I searched quite a bit for a few weeks and have found no solution.  I hope you can help me here.

    Thank you

    Bill


    [personal information (email address) by moderator]

    To see these files on Windows or Mac. It uses feaures not supported by any portable player. Not the most useful message, unfortunately.

  • a billing address does not match the error solution?

    After of countless attempts trying to fill the nagging billing address form to get the error message claiming the billing address does not match my debit MasterCard number. Finally, these steps worked for me and I hope they work for others. OK... here goes:

    First step: get a bank statement from the Bank for the billing address which is exact case-sensitive.

    Second step: make sure that Internet banking is activated using your bank teller, if need be.

    Step 3: Download browser CM off shop game Google you are Android phone. Go to www.adobe.com.

    Step 4: Connect to your Adobe ID and you will be greeted with the familiar Bee "Joe items combined in" or similar / can not remember and the shorter list of measures for may finally get a successful payment.

    Step 5: Enter the billing address of the instruction in step 1 and write everything as it appears but do not include the zip code or the State in the area of billing address page gastly. Fill in the rest - in fact we hope.

    BUT... There is a sine qua NON, I did not mention... Use the U.S. site (www.adobe.com) instead of your own region.

    Now, I'm thinking he animals with Exchange rates, but it's just a few extra dollars, for me, as I live in Australia.

    Good luck and I hope this works for you too! Thought I saw things after countless failures!

    Hi Simon,.

    Please contact support by calling/chat for billing queries.

    Contact the customer service

    * Be sure to stay connected with your Adobe ID before accessing the link above *.

    Kind regards

    Sheena

  • Google Play In - app billing Version 2 will be shut down in January 2015

    Hi, people

    I received the email below from Google. Adobe is following this update? What I have to do with anything?

    Hello

    From January 2015, we will finish in favour of the Version 2 In - app billing API. After this date, users are no longer able to make in-app purchases using your application until you upgrade your application to use the API Version 3.

    The list below contains the applications that we have detected who had a transaction on the API v2 in the last 3 months. This list may contain applications that you have already updated to version 3.

    air.com.editoraconfianca.revistacartacapital

    We recommend that you migrate your implementation of version 2 to version 3 as soon as possible in order to avoid any disruption your monetized app for the above applications. For applications in this list that have already been updated, please check your implementation.

    You can consult the following resources for more information:

    Concerning

    All DPS apps using the native Viewer Android already use v3 for billing. Historically, we never used v2 with the native application.

    Neil

  • multi Folio pricing in Android Market

    Hello

    I'm a little confused how I set the price for each edition of my magzine in the Android Market. I work with DPS Pro. After that I created my app Builder Viewer I download on the Android Market as free. Each of my folios I then publishes in the Public and retail sales. At no time - I wonder what I charge for these editions in my application. When they are pushed to my application there is a 'Buy' button but pressing that produced an error "the item you have requested is not available for purchase" any help would be appreciated.

    Thank you

    You need to set up the billing application on the Android market developers site. See the following article:

    http://kb2.Adobe.com/CPS/900/cpsid_90052.html

  • IMSG hacked account, sending a lot of international text in current bill

    So yesterday my pirate apple account (connected from a unknown macbook) and I noticed someone was frantically sends many messages from my phone, images which got also sent as normal text to an international number. After noticing, I quickly changed password. Checked my mobile BT phone bill, and he had already executed a bill for all these messages sent to international numbers. The appeal of BT until you see what they can do and they just said, you will have to pay for the Bill and that was that.

    What to do about this? my password was normally good security level and don't even know how he hacked. How would stop it doesn't happen because it looks just like any time I could just be landed with a massive Bill. Fortunately, I noticed pretty quickly this time, so the Bill does not accumulate to something that would be unfeasible. But with the telephone companies want to help at all, it seems extremely unfair!

    Try to use the two-step verification!

    Details here for Apple ID - Apple Support two-step verification

  • billing question

    I get an accusation.99 every month he said PLA itunes.com/bill

    Canyou help me understand what these fees are for.

    I am 82 years old and love my iphone...\

    I bought only one song...

    You

    Senior senior citizen

    The following contains information on how you can see your iTunes purchase history and determine the load of: see your purchase history in iTunes on Mac or PC - Apple Support store

    A possibility is that it is for iCloud storage (50GB plan is 99 ¢). If it turns out that, and if you don't need the storage additional iCloud, you can downgrade to the free 5 GB plan by following the instructions to upgrade to iCloud and downgrades - Support Apple storage

  • Hide, delete, or hide phone numbers, call from the family archives of bill and call?

    Help please?

    I contact a crisis for support lines. My spouse has realized this by looking at the numbers on our call records. How do I remove or hide this line number of crises, so I can always get support? I know phone burner apps but they seem to be focused on the person, I CALL not to get my number. * 67 for that. This is my husband, that I care to see I called the number. Y at - it an app that would work, where I can pay without any suspicious records, so that I can call the lines without worrying about being discovered?

    Thank you

    GracefulGratitude

    You can use something like Skype to make outgoing calls. They will not appear on your Bill as they use data rather than on the cellular voice network. You will need to supply a Skype account, but it is quite cheap; as 2 ¢ a minute.

    You can also get and use a Google Voice number, but the call to Google Voice will appear on the invoice.

  • My billing address is in the United Kingdom.  Currently, I try to order a book iphoto outside the United Kingdom project.  I get a message indicating the country not supported.  Any ideas please on how to proceed?

    I am trying to buy a photo book.

    I get a message saying that "orders must be shipped in your billing country.

    My ID apple is up to date and my billing address and House are in the United Kingdom.

    Please tell us how I can move forward. Thank you

    Concerning

    Christophe Clark

    Apple is no longer offer these services from iPhoto or Aperture, and have not changed since March 31.

    You need only generate a pdf and find a 3rd party printing service.

  • I need a copy of my invoice billing for a new I Mac in an apple store? iMac Apple year

    I need a copy of my invoice billing to an iMac purchased from apple & picked up on an Apple store?

    Try accessing your account on your country online store (for example icon basket in the top right of the screen) and see if you can print an invoice duplicate. If you can not try to contact the store

  • Send SMS with android phone and also using iPad

    I have a (Galaxy Note4) Android phone and an iPad (4th generation, just before the series of 'Air').

    I use a lot of text messaging and really wish I could get my texts on the two devices using the android phone number.  In the past, I used an application called "TextNow" which assigns you a unique number and number synchronization with two devices from the app store from Apple or Google Play. It worked well... I would get all my texts on two fairly transparent devices.

    I also watched Google Hangouts and the possibility of having multiple devices receiving the texts had been "fixed" in a recent update Hangouts. Thus, Hangouts no longer allows multiple devices of different platforms to access the texts on the same number.

    My question is... are at - it application in both the app store and google game that will allow you to send and receive texts using the mobile number rather that having to generate a new number?

    I'm not aware of something that doesn't require the other party to also have the same application, something like WhatsApp. The ability to text on the iPad is dependent on the connection device to an iPhone, because it uses the iPhone to send text. You can simply send the texts to the iPad.

  • Connect an iPod to an Android Ultra HD TV

    Is possible to connect an ipod touch 6G in os x 10.0.1 to Android from Sony TV.

    I would like to display or mirror of my photos on the big screen and maybe control my TV with iPod.

    So far I was able to get my ipod to connect using wi - fi or bluetooth connection it search but does not connect.

    Hope someone has a suggestion or can tell me if it is not possible to do.

    Iain

    You can get an Apple TV and that you connect to the Android TV and use AirPlay.

    You can also get a cable that connect to the lighting of the iPod port and television. See:

    On AV adapters digital Apple for iPhone, iPad and iPod touch - Apple Support

    Some applications can be supported using the dongle Chromecast connected TV to "throw" the apps screen on TV.

    I don't kknow not if your TV supports Chromecast directly without using the dongle Chromecast

Maybe you are looking for

  • AppTabs option does not display in the context menu.

    The instructions State: Right-click on the tab you want to turn it into an App tab and select Pin as App tab in the menu. But when I right click, the menu that does not have this option. Is it possible that one of my modules or plugins is the neutral

  • How to connect my iPod to a Bluetooth speaker if I don't Control Center in my settings?

    I have an old iPod touch, don't know what generation it is, but I have all of the elements in the Bluetooth settings. No there is no way to connect to a Bluetooth speaker?

  • table blink indicator

    Hello Basically I have two arrays of size even for the control and the indicator. If I activate some items in 'table', and I like to see "scoreboard" flashes When running. LabVIEW version: 8.6.1 I have attached some test cases for your reference. Can

  • At the same time Record several channels in DAQ

    I'm currently configured to play two channels in data acquisition using DAQ Assistant. I wonder what would be the best way to go on the sampling of these channels at the same time, or as close as possible. The vi that I currently use is attached. Tha

  • c:\\windows\system32\spool\DRIVERS\w32x86\3\cnmvs9g.dll

    Hello get this error after installing a canon on a computer printer hp laptop, it says c:\\windows\system32\spool\DRIVERS\w32x86\3\cnmvs9g.dll you do not have permission to access this file or something similar