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
trivedirujuta
Posts: 528
Registered: ‎10-06-2009
My Device: 9800,BB Dev Alpha,z10 limited edition
Accepted Solution

Payment service returns "successful purchase" without selecting payment method(in sandbox mode)

Hi,

 

I'm testing in-app purchase in my app(BB10). I have added my id in sandbox mode. I go through all prompts in payment and without selecting any payment method(creditcard/paypal),it returns successful. is it correct behaviour?

Rujuta Trivedi
Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: Payment service returns "successful purchase" without selecting payment method(in sandbox mode)

Hi Rujuta,

 

Sandbox mode should behave just like making a purchase from outside sandbox mode as far as the UI goes. What prompts do you receive?

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Developer
trivedirujuta
Posts: 528
Registered: ‎10-06-2009
My Device: 9800,BB Dev Alpha,z10 limited edition

Re: Payment service returns "successful purchase" without selecting payment method(in sandbox mode)

I sign with my BlackberryID,it displays purchase details like price etc,select method credit card/paypal and even if I don't select anything from method and click ok I get purchaseresponse success

Rujuta Trivedi
Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: Payment service returns "successful purchase" without selecting payment method(in sandbox mode)

There is no charge with sandbox testing, so the flow you are reporting sounds like it should be expected. In live mode testing a charge actually occurs so more validation would occur before returning a result.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Developer
trivedirujuta
Posts: 528
Registered: ‎10-06-2009
My Device: 9800,BB Dev Alpha,z10 limited edition

Re: Payment service returns "successful purchase" without selecting payment method(in sandbox mode)

So,my question is the behaviour is correct or not in sandbox mode?

Rujuta Trivedi
Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: Payment service returns "successful purchase" without selecting payment method(in sandbox mode)

Yes, it should be expected. 

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Developer
trivedirujuta
Posts: 528
Registered: ‎10-06-2009
My Device: 9800,BB Dev Alpha,z10 limited edition

Re: Payment service returns "successful purchase" without selecting payment method(in sandbox mode)

Ok Thanks:smileyhappy:

Rujuta Trivedi
Please use plain text.