Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
8
Erster Beitrag:
vor 1 Jahr, 1 Monat
Letzter Beitrag:
vor 1 Jahr, 1 Monat
Beteiligte Autoren:
Fabrice Harari, cardcoder, JP

[WB21] - Paypal

Startbeitrag von JP am 15.07.2016 08:39

Hi All

Is it possible to handle PayPal payments via WebDev 21 ? Searching help for PayPal returns nothing relevant.

Antworten:

Hi JP,

Yes it is possible - and works very well.

The only thing that I would say is that it is not quick BUT works very well.

I did it by creating an html script and filled it with the frames using &? to put the variables into the string.

use stringdisplay to show the html. I put a cmd_button, iframe, html in a cell .

Within paypal you can tell paypal which landing page to return to depending on the paypal result eg. payment good - payment successful page, payment cancelled / unsuccessful - payment successful page .

I hope that this helps,

Mike

von cardcoder - am 15.07.2016 08:50
Mike,

Thanks for the feedback. Not sure I understand how to do it :) but will start my project and see how it goes. Might need to hire some expert help on the payment part of it ...

von JP - am 15.07.2016 11:01
Hi JP

AFAIK, there is a component coming with webdev that manages different types of online payment, and paypal is one of them.

I never used it, as I already had coded my own when I needed it, and because it is limited to only basic options , but it should give you a good starting point.

Otherwise, you can read the paypal documentation (open a developer account for that). When I read it, there was 3500+ pages, and 4 different APIs to choose from. At least one SOAP and one REST in the lot.

If you go that route, you have access to everything (repeating payments, by example...)

Best regards

von Fabrice Harari - am 15.07.2016 12:10
Hi JP,

My sites are Webdev / PHP based.

I know Fabrice hates it with a passion but for small customers it is the only way to go.

Don't bother with the thousands of pages of Paypal developer!!! The website owner needs to register for paypal and then include the details of the website to successful / unsuccessful pages.

The webdev example is HORRIBLE and that is why I did my own. I have also made it so that a customer can choose Paypal and any other Payment method that they are signed upto.

If you want to send me a PM, then I can organise something with you. For the benefit of other viewers to the forum, it is quite complicated to explain in a few lines here.

Regards,

Mike

von cardcoder - am 15.07.2016 19:44
Hi Mike,

I don't hate anything... I just find the php mode to be limited in many ways, and to not have ANY advantage...

as for "...but for small customers it is the only way to go..." I disagree completely

If a customer can not afford a 5$/month webdev shared hosting, they won't be able to afford my services (or yours). And for a small customer, a 5$ webdev hosting is way enough.

Best regards

von Fabrice Harari - am 18.07.2016 14:02
Hi Fabrice,

I know that you are the guru with regards to Windev / Webdev, and I would never wish to contradict you with regard to the programming side of things. Your help has been most helpful to me in the past - and I would hope would continue into the future.

With regard to the real world and customers, when I get to a customer - they already have an internet presence and we are "tagging onto the back of their existing solutions".

If it is a case of "change to our way or else" - then I think I would be on a road to disaster.

I have to be flexible (within reason) to the needs of my current and potential customers, and I would suggest that this is the case in most of the IT world.

My 2 cents!!!

Regards,

Mike

von cardcoder - am 18.07.2016 18:08
Hi Mike,

now, THAT is a very different problem, and it has NOTHING to do with your previous statement "...but for small customers it is the only way to go..."

If your problem is marketing and sales, you are on your own. I was able to stop following my customers bad ideas quite some time ago, but I do remember the time when I went into trouble time after time because I needed the sale.

However what you are describing is independent of the size of the customer, and technically, may not even be necessary...

You will never be able to really MERGE a webdev site (php or not) into an existing one, it will always live on the side, and if that's the case, it could be a classic or awp site and still live side by side with the existing one (by example, a webdev classic site coexisting with a phpbb forum, with only one login for the both of them). No need to attach your hand behind your back with the php mode to do something like that.

AFAIK, the only reason for the existence of the PHP mode is customers who are IMPOSING php (some french administrations, by example), and at that point, it's a marketing decision to take, not a technical one.

Best regards

von Fabrice Harari - am 19.07.2016 12:38
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.