Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Posts: 14
Registered: ‎09-27-2012
My Device: Curve 9220
My Carrier: Telcel
Accepted Solution

Payment Error: "The Item you requested is invalid"

 

 

Hi we have this issue on an already approved App and set for sale. When trying to buy the approved digital good we got the error. This was discussed here.

 

http://supportforums.blackberry.com/t5/Payment-Service/Error-quot-The-Item-you-requested-is-invalid-...

 

Basically in an app called Bikini.com that was created in webworks for BB 10 devices. It was tested on a BB Z10 device with OS 10.1 and also with a Alpha device with the same OS version.

 

In this app we have a digital good that is also approved on the portal vendor and all the values are set correctly in the app. It downloads and installs perfectly, but when requesting the purchase of the digital good the app asks for my BB ID credentials and after giving them the app shows a text box Saying Payment Error The item you requested is invalid.

 

Can any body advice on this matter.

Contributor
Posts: 14
Registered: ‎09-27-2012
My Device: Curve 9220
My Carrier: Telcel

Re: Payment Error: "The Item you requested is invalid"

I have tried to purchase the digital good with both options, PayPal and Credit Card. Both settings are correct.

 

In both cases the response is the same "The Item you requested is invalid"

Highlighted
Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Payment Error: "The Item you requested is invalid"

What is the error code provided with that message?

 

Could you let mke know the call being made to make the purchase as well as all parameters?

What is the SKU and content ID of the digital goods attempting to be purchased?

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 14
Registered: ‎09-27-2012
My Device: Curve 9220
My Carrier: Telcel

Re: Payment Error: "The Item you requested is invalid"

 

Here is the info.

 

The error id that I get is: undefined. And the function that shows it is the showErrorOfAPICall from the blackberry.payment.purchase billing API.

 

The digital good information is:

 

SKU: bps30d7dfreebb10

Content id: 38115891

 

This is how I call the blackberry.payment.purchase code

 

try {
        console.log("About to call the blackberry.payment.purchase");
        blackberry.payment.purchase({
                "digitalGoodID"   : "38115891",
                "digitalGoodSKU"  : "bps30d7dfreebb10bb10",
                "digitalGoodName" : "Bikini.com BB10 Premium Subscription",
                "metaData"        : "Bikini.com BB10 App is the worlds biggest beach party with videos, photos, bikini news and sightings in your pocket.",
                "purchaseAppName" : "Bikini.com",
                "purchaseAppIcon" : "images/icon.png"
            }, checkIfBilled, showErrorOfAPICall);
    } catch (e) {
        console.log ("Error" + e);
    }

 

Thanks in advance for the help.

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Payment Error: "The Item you requested is invalid"

Hi there,

 

I checked with the BlackBerry World folks and there is no digital good with content ID 38115891 for the app Bikini.com. Perhaps that's the ID for the digital good for the premium version?

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 14
Registered: ‎09-27-2012
My Device: Curve 9220
My Carrier: Telcel

Re: Payment Error: "The Item you requested is invalid"

 

We have review this and we are sorry for using wrong parameters.

 

We are making changes and compiling a new app to send for approval.