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
New Contributor
noamt
Posts: 5
Registered: ‎12-12-2012
My Device: BB 10
My Carrier: 4164799648

Payment Service Subscriptions

Hi, 

 

Is there any documentation on the following questions regarding using the payment service for subscriptions.

 

What options are available when you setup a subscription?

Can subscriptions auto-renew?  If they do auto-renew how does our service become aware of a payment?

 

Thanks!

 

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

Re: Payment Service Subscriptions

Subscriptions will automatically renew at the end of each period. The application can query the status of the subscription using the APIs if needed. 

 

Most of this is covered in the Payment docs:

https://developer.blackberry.com/cascades/documentation/device_platform/paymentservice/selling.html#...

 

Let me know if there is anything you need more information regarding.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
New Contributor
noamt
Posts: 5
Registered: ‎12-12-2012
My Device: BB 10
My Carrier: 4164799648

Re: Payment Service Subscriptions

Thanks for the reply.

 

When a subscription auto-renews, how are we notified that the payment went through or failed? 

Are there notifications that we can configure to be sent to our server?

 

 

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

Re: Payment Service Subscriptions

You can add this logic into your app. Check for subscription status and notify your server, if needed, if the status changes.

 

Your app has access to the status of the subscription at all times.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
New Contributor
noamt
Posts: 5
Registered: ‎12-12-2012
My Device: BB 10
My Carrier: 4164799648

Re: Payment Service Subscriptions

But when the subscription auto-renews the user will not have the application open.  

 

Does that mean the only way to track the subscription is for the user to open the application and for the client application to query the payment service?

 

If this is the case, we would not be able to allow users to pay for subscriptions to digital goods that can be consumed both on the device or through another device or a web browser.

 

 

 

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

Re: Payment Service Subscriptions

You are correct. 

 

In your case if you have another payment service that exists today for your other offerings then you are free to sell digital goods and subscriptions through that service rather than using the Payment SDK. The only caveat is that the user experience may degrade as the payment steps will be different than through any other BlackBerry app and it may require another account to be created.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
New Contributor
noamt
Posts: 5
Registered: ‎12-12-2012
My Device: BB 10
My Carrier: 4164799648

Re: Payment Service Subscriptions

Hi Garett,

 

Is there a way to programitcally retrieve a list of transactions from the vendor portal?  

 

Thanks,

Noam

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

Re: Payment Service Subscriptions

From the application or your own server? The app can definitely retrieve a list of past purchased goods.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
New Contributor
noamt
Posts: 5
Registered: ‎12-12-2012
My Device: BB 10
My Carrier: 4164799648

Re: Payment Service Subscriptions

I mean qeury for all transactions for all users, both from the client application and from our server?

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

Re: Payment Service Subscriptions

From the client, yes, just use the standard APIs. There are no server APIs available to query this information.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.