FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
AWP Context - restoring stored variables on a callback
AWP Context - restoring stored variables on a callback
Iniciado por Gautam, 06,ago. 2015 10:48 - 4 respuestas
Conéctese…
Gautam
#1
Miembro registrado
67 mensajes
Publicado el 06,agosto 2015 - 10:48
In Webdev, You store AWP Context using DeclareAWPContext(var1, var2, etc). How do you then restore these variables?
I have a website that connects to a payment gateway.
I am sending the ordernumber and amount through to the payment gateway and upon successful payment, the payment gateway calls back an AWP page in my project showing the user that the payment was successful.
At this point, I want to call back the main dynamic page without asking the user to re-login so I need to restore the variables that were stored earlier using the declarecontext function.
I think I have to use the IdentifierAWPContext command but not sure how to use it. The online help is very thin on this.
Can anyone help me please?
Gautam
Informar
0
0
Leonardo Aviles
#2
Publicado el 02,septiembre 2020 - 02:43
Hi, i have the same problem. Did you work the call back from the payment gateway ?
How???
Thanks
Leonardo
Informar
0
0
Argus
#3
Publicado el 02,septiembre 2020 - 16:42
I do not use the awp context thingy... Instead I:
- store everything I need in the DB, using an unique ID.
- I PASS that unique ID to the payment system (they all have a way of doing that)
- the payment system sends that ID back to me with their payment answer/IPN
- I read the DB with that ID to know what to do
Informar
0
0
Gautam
#4
Miembro registrado
67 mensajes
Publicado el 02,septiembre 2020 - 18:03
Hi Leonardo
I solved the problem in the same manner as described by Argus - using the Pageparameter function to catch the UniqueID returned by the payment.
Thanks Argus!
Informar
0
0
Leonardo Aviles
#5
Publicado el 15,septiembre 2020 - 03:25
Thanks Argus and Gautam !!!
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto