Payment InApp

Hello

I'm having the following problem: My App uses In - app payment...

void MyThread::purchaseResponse() {

bb::platform::PurchaseReply *reply = qobject_cast<
bb::platform::PurchaseReply*>(sender());

Q_ASSERT(reply);

//emits error signal upon errors.
if (reply->isError()) {
//do some error handling
qDebug() << "Purchase response error. Code(" << reply->errorCode()
<< ") Text(" << reply->errorText() << ")";

}
reply->deleteLater();
}

and if I get an error, I want to make an error management, but I still have the error Code 4. In the case where this has to do with the Test Mode - find some enumerations or documentation?

Thank you

Peter

I found what may be useful.  You can ask questions here because one of the RIM with a payment experience is to look at this forum:

http://supportforums.BlackBerry.com/T5/payment-service/payment-service-error-codes/m-p/2119233/highl...

Tags: BlackBerry Developers

Similar Questions

  • Android - response Inapp purchase

    Hi, I have recently run my android with peripheral BB10 inapp purchase project. In the blackberry Developer Portal, they cleary mentioned, we can use the same procedures of payment inapp android.  I had a doubt, the json response, coming to the android market and Blackberry app world are the same or different? Is the change in terminology as "ItemId" reflects in json response?  Is that I need to change any part of code to integrate the inapp purchase?

    Answer from Android market look like,

    { "nonce" : 1836535032137741465,
      "orders" :
        [{ "notificationId" : "android.test.purchased",
           "orderId" : "transactionId.android.test.purchased",
           "packageName" : "com.example.dungeons",
           "productId" : "android.test.purchased",
           "developerPayload" : "bGoa+V7g/yqDXvKRqq+JTFn4uQZbPiQJo4pf9RzJ",
           "purchaseTime" : 1290114783411,
           "purchaseState" : 0,
           "purchaseToken" : "rojeslcdyyiapnqcynkjyyjh" }]
    }
    

    Can anyone answer, how will be the response of blackberry?

    Thank you

    Thanks for the reply, my question is, how will the answer? JSON response is same as android or any terminology ((i.e.) itemId) difference in the response. I want to just change the code and test in sandbox mode.

    Help, please. Thanks in advance.

  • How can I get the AppStore to accept my mode of payment again?

    II had my iPad since the first iteration of the retina display. Ive been using the card visa even control for one or two years. Now from two days ago, iTunes does not accept payment of this card. I can't help thinking that I can be blocked due to a malfunction on the software of my financial institution. I contacted my Bank and they said that my account was working. Now, because my mode of payment is denied, and I need to find a new payment method, I can is more updated my applications or inapp purchase. This painful and embarrassing. Any info you could give me in this regard would be appreciated. Thank you.

    Have you tried recording on the account, not when trying to download something and see if you get the "none" option so that you can remove the card - if you can you should then be able to download updates to your applications.

    You can also try leaving the payment details screen and then go back in and try to go into the details of the map from scratch and see if he is then admitted. But if it is a debit card, which, I guess that's as you call it a "visa check card", then it can no longer be accepted, not all debit cards seem to still not work - if that is the case you will need to use another card, or if they are available in your country use iTunes gift cards as payment.

  • payment and free applications

    Could you please explain why I am forced to give my payment details when downloading free apps.

    I read one of your advice that told me to go to any payment.

    This created a problem where Apple could not take my payment for the storage of data.

    I'm afraid that in this time where we are regularly be warned of not not to give our bank details

    Apple's app Store has a policy to give your details to anyone and then see if you can go in the app

    and clearly your details.

    even if we do and are not able to remove details or remove the application that they have our details.

    What bothers me, because if you select 'none' for details of the Bank you can always download the application - so the argument of the evidence of what country you are, makes no sense.

    I hope that apple can now take my payment of storage - but you'll stop select new applications.

    Please tell us how can I pay to Apple, but no one else has my contact information.

    Thank you

    Hello

    Follow the instructions here, as the case may be:

  • Payment of iTunes

    Hello did play Royal clash, and I wanted to make purchases inapp, so I tried to link my credit card to my account but my country was not on the list so I used another country to deny, and it worked, it was connected properly, my credit card is international to make it work

    When I tried to make purchases, it did not work, had an error message, I tried three times and he took money from me, $ 0.99 each time, but without adding it to the game as inapp purchase, what can I do to get my money back please?

    Use the "contact us" at the bottom of this page to speak with a representative of Apple.

    On in-app purchases - Apple Support

  • Family shared &amp; Apple pay payments

    I got iCloud family configured sharing with my partner for some time, with my main flow configured as a shared payment card. I changed since that to my debit card to our account to join.

    I pay Apple set up on my iPhone and only linked it to my main debit card - it is the card available only to pay Apple.

    If I'm shopping in the App Store / iTunes - what card would be charged?

    It will be any method of payment you have linked to iTunes - payment methods that you can use in the iTunes Store, the App Store and the iBook Store - Apple Support

  • Billing and terms of payment

    I use an Ipad 4th generation of IOS 10.

    Today I was downloading a free app, I entered my password, and then it told me to update my payment method. He said credit card cannot be in the past. I don't understand, because my credit card expires in 2 years. I have $ 13 million in my iTunes account, and it's a free app. This happens whenever I go to download a new application.

    Could you please help me?

    If you have a card on your account, there must be a card valid and accepted by the validation of the iTunes Store, regardless of whether you only download free items or have a balance on your account.

    The error messages show if you view the details of payment from your account, or have you tried to see if you can remove the card: change or delete your Apple ID - Apple Support payment information ?

  • I have an Apple gift card account and want to use it, but I always get sent to my account where the payment is listed as a Visa card I have more. How can I change the billing to my gift card, I no longer the card and do not know the pin code

    How can I change my payment with a Visa card, I no longer use my gift card account. I don't have the gift card so I don't know the PIN code. I have the amount of the card on account, what should I do?

    Hi Nancy, there.

    Looks like you are trying to update your iTunes billing information, but he continues to ask you for a credit card security code, you have more. You may be able to change the option to zero rather than use the "Use your Mac or PC" section of this article:

    Modify or delete your Apple ID payment information

    If for some reason you can't, this article explains why this may be the case:

    If you don't see anything or can't select

    You may need to reach out to our iTunes support staff directly if you cannot get a resolution with these resources:

    the iTunes Store support

    Thank you for using communities of Apple Support.

  • I no longer buy with my credit card! Me says "rejected payment method.

    Hello

    I can't buy apps and games with my Visa card. Says "rejected payment mode" and I don't have ANY other means of payment.

    Please do the necessary as quickly as possible!

    Thank you mauruuru.

    To solve your problem with your credit card you will have to talk to your bank.

  • How do I change the store without payment

    How can I change the store without payment?

    How can I return my app purchases after change store?

    Thank you for helping

    1. you can not. It is a security measure to prevent people to arbitrarily change the country.

    2. open a session in the iTunes App Store with the same Apple ID, go to the application page and choose to buy it. you realize that you have purchased the app and will not charge you again. This does not apply to music and video purchases.

    (144368)

  • Hey, need help. I get this in my iPhone that 'there is a problem of billing with a previous purchase. Please update your payment method"in any way I can remove my visa card from iTunes

    Hey, need help. I get this in my iPhone that 'there is a problem of billing with a previous purchase. Please update your payment method"anyway I can remove my visa card from iTunes?

    You must pay your debt first.

  • iCloud payment

    Hello

    My iCloud account is full, I want to upgrade to 50 GB and it's impossibble to pay.

    I have a Visa Debit card that I know works for sure. Also for payments abroad, online and so on. Despite this, I got the message that my card info Visa is diminished in recent weeks every time I tried. I know for a fact that I put good info - it works everywhere else.

    The bad news is that now my iPhone has drowned at Sea last week (attempted to dry in a bowl of rice, and then with the hair dryer, nothing done...: (so now I REALLY need some help with the upgrade.) Really worried that I lost a lot of info from the account had plenty.

    How can I get assistance from Apple with the payment? I can't find someone to talk to him.

    I live in Sweden.

    Thank you

    Best

    ASA

    HEY

    FOLLOW http://www.apple.com/shop/account/home

  • Payment deducted when adding credit card

    Hello

    I've updated payment information on my iTunes account and as soon as the card has been authorised I received a message from my Bank stating that a transaction was performed on iTunes and the money was deducted. According to the info I found on Apple support pages, he says that it's just a payment hold transaction that is made to check if the account has money or is valid or not. This means that the amount will be automatically credited to my account within the next few days?

    Thank you!!

    Yes.

  • i-cloud payment history

    Where can I find historical payment i-cloud storage?

    Control iTunes purchases I think.

  • Do I have an annual plan or a one time payment for iCloud?

    I'm a guy who pays and forget. I don't want a commitment for months together don't forget pay my iCloud storage. Instead of having a monthly fee, we a payment option a moment or an annual fee?

    Unless you are currently on an annual plan, it will be billed each month; No new annual plan can be created. If you wish, you can use the iTunes Store Gift cards to pay for storage.

    (144096)

Maybe you are looking for

  • How can I connect August Smart Lock for my Apple TV generation 3?

    I bought in August with capacity HomeKit Smart Lock.   I read that the lock can be coupled to an Apple TV Generation 3 or 4 so that the lock can be controlled remotely.  However, I can't find the instructions on how to proceed.  My Apple TV 3 can not

  • Apple care warranty

    just bought the macbook pro through education online store for my daughter and told me that she would get 3 years free warranty, but when we put in the serial number on the apple site it just says: 1 year warranty. any help would be great

  • Dynamically change the number of sub-panels

    Hello I have a computer where usually 4 testplaces of production are connected to. I want to have a main VI indicating the status of the 4 different testplaces, that I can do with 4 separate sub-panels - no problem. The issue is that I would be flexi

  • How to do this: Photoviewer, Windows cannot save changes to the image due to a problem with the properties of the file!

    Hi, I'm trying to post a photo, but whenever I have try rotation to the right, it says something like: can't save changes to the image due to a problem with the properties of the file. My laptop is MS, but the photos were taken on the Iphone. How to

  • HP laptop computer 15

    I have a 15 HP laptop and I have no idea how to open the disk drive, I need help!