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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Native Development

Reply
Contributor
pbcoder
Posts: 17
Registered: ‎07-01-2011
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.

Please use plain text.
BlackBerry Development Advisor
jhoffmann
Posts: 38
Registered: ‎10-26-2011
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.

Please use plain text.