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

Native Development

Reply
Contributor
Posts: 17
Registered: ‎07-01-2011
My Device: Playbook
My Carrier: DontKnow

Correct paymentservice.h file

[ Edited ]

Hi,

 

In my Blackberry NDK folder, I noticed two bps folders. One inside:

 

\bbndk-1.0\target\target-override\usr\include\bps

 

and the other inside:

 

\bbndk-1.0\target\qnx6\usr\include\bps

 

The first folder has a paymentservice.h which uses functions such as:

 

paymentservice_event_get_response_code()

 

and the second folder also has a paymentservice.h, but uses functions such as:

 

ps_event_get_response_code()

 

 

Are they equivalent? If not, which one should I be using and why? I got a sample from github and it uses paymentservice_event_get_response_code().

 

 

Thanks in advance.

Retired
Posts: 38
Registered: ‎10-26-2011
My Device: BlackBerry Bold 9900
My Carrier: Rogers

Re: Correct paymentservice.h file

The one in \bbndk-1.0\target\target-override\usr\include\bps is the correct one to use.