1. Enrique Perez
  2. PowerBuilder
  3. Monday, 27 December 2021 20:25 PM UTC

Hi,

My next project at my company is to integrate processing credit card payments using Moneris.

Decision has been made to use Moneris iframe.

does anybody know how to use iframes from powerbuilder?

Powerbuilder version is 12.5 classic.

thanks

Enrique

 

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Monday, 27 December 2021 22:04 PM UTC
  2. PowerBuilder
  3. # 1

The Web Browser control in PB 12.5 is outdated Internet Explorer engine not secure for credit card processing.

The SOAP client in PB 12.5 doesn’t support TLS 1.2 not secure for credit card processing.

You should upgrade to PB 2019 R3 or newer and use the new HTTPClient to call API of the credit card processor.  https://docs.appeon.com/pb2021/objects_and_controls/HTTPClient_object.html

Comment
  1. Miguel Leeuwe
  2. Monday, 27 December 2021 22:54 PM UTC
Good point about the security requirements nowadays!
  1. Helpful
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Monday, 27 December 2021 22:25 PM UTC
  2. PowerBuilder
  3. # 2

It appears that Moneris also has a .NET API for eCommerce unified (whatever that is), details and code samples on GitHub:

https://github.com/Moneris

I'm doubtful that you will be able to interface a PB 12.5 application with this API. You will probably need to upgrade to PB 2021 to gain access to the latest PB/.NET interfacing functionality.

Good luck!

Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Monday, 27 December 2021 20:47 PM UTC
  2. PowerBuilder
  3. # 3

Seems to be very "web-based". I think your best shot is to contact Moneris and ask them if they have some kind of API, maybe a Soap interface, since you are using pb 12.5. The webbrowser control in pb 12.5 is outdated, so I'm not sure if that could still get things working for you.

regards

Comment
  1. Miguel Leeuwe
  2. Monday, 27 December 2021 20:55 PM UTC
On the other hand: Surely the people who decided that Moneris Iframe would be a proper solution to use with PB12.5 must have investigated if that would work. Maybe they could give you some guidelines?

These payment platforms often are a pain to get working. Not because of the platforms themselves, but more likely to misconfigurations, long waiting time on customer and support replies, etc.

regards and good luck.
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Monday, 27 December 2021 22:52 PM UTC
  2. PowerBuilder
  3. # 4

If you cannot upgrade to a higher version of powerbuilder, than you could build a solution in C# or using "PB .Net". Bruce Armstrong used to have some old presentations and videos on how to call .net from powerbuilder, but most of them are gone (at least I cannot find any, anymore).

See the attached file of one of his old presentations.

regards

Attachments (1)
Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 28 December 2021 00:19 AM UTC
  2. PowerBuilder
  3. # 5

I went to the Moneris website and searched for iframe and I didn't find anything. They do have a REST API.

For PB 12.5, I would try the XMLHttpRequest OLE object. I have an example app:

https://www.topwizprogramming.com/freecode_xmlhttp.html

 

Comment
  1. Enrique Perez
  2. Wednesday, 29 December 2021 21:58 PM UTC
Hi Roland



It is in Moneris developer website.

https://developer.moneris.com/search?q=Iframe

  1. Helpful
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.