Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 10 Monaten, 2 Wochen
Letzter Beitrag:
vor 10 Monaten, 2 Wochen
Beteiligte Autoren:
André Labuschagné, Fabrice Harari

WB - PageParameters

Startbeitrag von André Labuschagné am 13.07.2017 10:51

Hi All

I am battling to get my head around the PageParameters function.

I am sending a request to a payment provider. The request is in a form with fields and instructions wrapped in html code. That is all working. My success, cancel and url return pages are working. The url return page [a notification page] returns the variables and status of the request. It is also coming back in a form. I am using PageParameter[1..22] to read the return variables but it is all returning no values.

How does one read this html return form?



Hi André,

first, you should forget this idea of a FORM... It is extremely misleading.
Second, the answer depends on the payment provider and what it is sending back. Is it post? Get?

Finally, and example: For paypal (I'm using it on my web site), I'm doing:
gpgaspar_TransactionToken is ANSI string = PageParameter(cstPaypalTransactionToken)
with cstPaypalTransactionToken = "tx" (it's a constant)

So, I'm using the NAME of the parameter and it's working fine... in GET mode. If the provider is sending in POST mode, then the syntax is different (see help).

If I remember correctly (it was quite some time ago), I chose this method because the ORDER of parameters received was not the same as described in the SDK documentation (filled with error) -AND- depending on cases, some parameters may not be here.

Best regards

von Fabrice Harari - am 13.07.2017 11:47
Hi Fabrice

They say is a POST.

Will look at the help.


von André Labuschagné - am 13.07.2017 12:40
Hi Fabrice

PageParameter("TheToken") sorted it.

Thanks a ton.


von André Labuschagné - am 13.07.2017 13:50
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.