1. Daniel Vivier
  2. PowerBuilder
  3. Thursday, 23 February 2023 04:16 AM UTC

Has anybody accessed Stripe directly from PB? Currently we are doing all of our Stripe access via Java services on our server, called from PB, which use the Stripe Java API. But it would be nice to be able to do some simple things directly from PB, especially if anybody had worked up an API. (They have a .NET API but no ActiveX one.)

Thanks - Dan Cooperstock

Daniel Vivier Accepted Answer Pending Moderation
  1. Thursday, 23 February 2023 15:20 PM UTC
  2. PowerBuilder
  3. # 1

I've considered both of these approaches but they would both be significantly more work than using a good API like the Java one, which has complete JavaDocs. (The .NET API doesn't seem to have complete docs for any .NET language directly.)

 

Thanks, though - Dan.

Comment
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Thursday, 23 February 2023 15:07 PM UTC
  2. PowerBuilder
  3. # 2

use their rest api and the HTTP client

Stripe API reference – curl

Comment
  1. Kevin Ridley
  2. Thursday, 23 February 2023 15:27 PM UTC
Totally agree with Mike.,
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Friday, 24 February 2023 02:55 AM UTC
Yes, makes no sense to try to add another layer of complexity either Java or .NET to broker the REST API call when you can just directly consume it from PowerBuilder.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 23 February 2023 04:56 AM UTC
  2. PowerBuilder
  3. # 3

Hi Daniel;

  If you are on a current version of PB, your Apps can now consume & call a .Net Assembly DLL directly. That might interface directly with their .Net API. You would need to study their interface for this compatibility.

FYI: https://docs.appeon.com/pb2019r2/whats_new/ch01s03.html

Regards ... Chris 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.