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

Payment Service

Reply
Developer
Posts: 828
Registered: ‎10-16-2012
My Device: Red Z10
My Carrier: Rogers

IAP disappears, & doesn't charge but works in test mode

I used this sample to setup the payment service, and in test mode everything appears to work & I get the success/error messages I setup.  But when testing my app in production mode after clicking purchase it says processing payment and then disappears without updating the succes code or producing an error message.  My paypal account has sufficent funds and wasn't charged

 

Not sure what's causing it to not work properly, everything appears to be correct to me

 

targeted platform version: 10.0.9.2372

I have verified that

id - matches
sku - matches
name - matches (has spaces if that makes a difference)
metadata - identical to name

it is non consumable with a static license

 

short description - identical to name

long description is a long description (210 characters)

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

Re: IAP disappears, & doesn't charge but works in test mode

How was your app installed to device?

Is your BBID listed as a sandbox account in the vendor portal?

What language was used to create the app?

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 828
Registered: ‎10-16-2012
My Device: Red Z10
My Carrier: Rogers

Re: IAP disappears, & doesn't charge but works in test mode

English only, my account is on the sandbox, but it is downloaded via app world (non sandbox)

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

Re: IAP disappears, & doesn't charge but works in test mode

If your account is in the sandbox then you wouldn't get charged, though you should still receive a valid response from the purchase attempt.

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 828
Registered: ‎10-16-2012
My Device: Red Z10
My Carrier: Rogers

Re: IAP disappears, & doesn't charge but works in test mode

in test mode it does as you said but in production instead of giving a response it just disappears about 1.5s after clicking upgrade, havent tried it with any other id than mine but at nearly 1k downloads over 2 days i'm sure someone has & currently there has been no successful purchase logged in the reports so I don't think it's the sandbox account

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

Re: IAP disappears, & doesn't charge but works in test mode

What programming language did you use?

Can you provide the content ID or URL of your app?

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 828
Registered: ‎10-16-2012
My Device: Red Z10
My Carrier: Rogers

Re: IAP disappears, & doesn't charge but works in test mode

[ Edited ]

the upgrade method is no longer live, i pulled it last night 

 

http://appworld.blackberry.com/webstore/content/33236896/

 

I used Cascades as the link to the example i followed shows

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

Re: IAP disappears, & doesn't charge but works in test mode

Which version has the IAP? I have 1.0.0.878 installed and cannot see a way to make a purchase...

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 828
Registered: ‎10-16-2012
My Device: Red Z10
My Carrier: Rogers

Re: IAP disappears, & doesn't charge but works in test mode

[ Edited ]

all versions prior to 1.0.0.878 had the upgrade button in the settings menu but I pulled it last night because I dont want something that isn't working to be live  I can add you to the sandbox and push a new release with the upgrade ability back, but I don't want to put it live again until I can verifiy it's working correctly

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

Re: IAP disappears, & doesn't charge but works in test mode

So by "pulled" you mean you added a new higher version? Smiley Tongue

 

I can't test if I don't have something to test, but can tell you that the Payment Service is working as expected, so this would likely be a coding error...

Garett
@garettBeuk
--
Goodbye everybody!