11
Web Server - Ask For Help / Redirect URL received after POST, how to handle (YOCO)
« Last post by JohanR on May 10, 2024, 02:31:13 AM »Hi,
I am currently trying to implement a new secure credit card payment system, YOCO
It's a 2 step process, initiated by a POST, with the bearer security, amount, currency and then on the success of the POST,
one of the return data fields is a redirect URL ,
which I must direct the user to.
This redirected URL is a page on the providor site, where the user will enter CC, Expiry etc,
on success/fail/cancel , one of my URL will be called
Question is how to handle the re-direct after the receipt of the successful POST?
TIA for any info
Johan
I am currently trying to implement a new secure credit card payment system, YOCO
It's a 2 step process, initiated by a POST, with the bearer security, amount, currency and then on the success of the POST,
one of the return data fields is a redirect URL ,
which I must direct the user to.
This redirected URL is a page on the providor site, where the user will enter CC, Expiry etc,
on success/fail/cancel , one of my URL will be called
Question is how to handle the re-direct after the receipt of the successful POST?
TIA for any info
Johan
12
The Rest - Ask For Help / NetTalk - NetWebClient and NetOAuth
« Last post by aflewel1 on May 09, 2024, 12:04:36 PM »Hi all!
Topic - NetWebClient and NetOauth
I have a program making calls to various API endpoints, all functioning correctly/acceptably. Now, I'm trying to retrieve tweets from Twitter. I have a developer's account and basic subscription access. I'm new to using Oauth1 for authentication. I've set statements up in Insomnia and am successfully retrieving tweets and other data. However, transitioning this all to Clarion is (for me) challenging with respect to Oauth1 (which I want to continue with for authentication).
I've shared screenshots here of the Insomnia GET request with some data obscured to demonstrate successful data retrieval. There's a screenshot of Clarion showing the code where I've populated oauth parameters. This area confuses me. I'm essentially fumbling with the oauth aspect.
I've also included a screenshot of the textual data returned.
Any feedback, guidance, or direction that could help get this ironed out would be greatly appreciated. While oauth is daunting for me, I'm hopeful someone can see where I'm off track.
Topic - NetWebClient and NetOauth
I have a program making calls to various API endpoints, all functioning correctly/acceptably. Now, I'm trying to retrieve tweets from Twitter. I have a developer's account and basic subscription access. I'm new to using Oauth1 for authentication. I've set statements up in Insomnia and am successfully retrieving tweets and other data. However, transitioning this all to Clarion is (for me) challenging with respect to Oauth1 (which I want to continue with for authentication).
I've shared screenshots here of the Insomnia GET request with some data obscured to demonstrate successful data retrieval. There's a screenshot of Clarion showing the code where I've populated oauth parameters. This area confuses me. I'm essentially fumbling with the oauth aspect.
I've also included a screenshot of the textual data returned.
Any feedback, guidance, or direction that could help get this ironed out would be greatly appreciated. While oauth is daunting for me, I'm hopeful someone can see where I'm off track.
13
Web Server - Ask For Help / EXCEPTION_ACCESS_VIOLATION - Error reading data at : 20202244h
« Last post by osquiabro on May 08, 2024, 01:47:39 PM »This is in a multihost app
This program has performed an illegal operation and will now be restarted.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Program : C:\Apps\IstprHost\IstprHost.exe
Version :
At : 17:06:55 on 2024/05/08
Workstation: : istpr
User Name: : Administrator
Reported error : EXCEPTION_ACCESS_VIOLATION - Error reading data at : 20202244h
Windows : Win 10 - 10.0.20348
Clarion : 0.9
Thread : 4 Field : 0 Event : 0 Keycode : 0
Error at address : 00FA0537h Line=3047 Proc=PROCESSREQUEST@F22NETWEBSERVERWORKERBASEsb Src=NetWeb.Clw
Stack Trace
0105B9D4h Line ?=135 no proc Src=xFiles.clw
[01] 00EC623Bh Line=66 Proc=WEBHANDLER@Fsb Src=IstprHost030.clw
[02] 7410E2FFh no line number no proc Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
74188C14h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
7416940Ah Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
[03] 7410DDF1h no line number no proc Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
74169420h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
74188C14h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
74188C94h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
7417D1D8h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
7417D1ECh Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
7417D208h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
7417D1FCh Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
7417D224h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
7417D218h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
[04] 77C97F4Dh no debug info, Module=C:\Windows\SYSTEM32\ntdll.dll 10.0.20348.2340 (WinBuild.160101.0800)
[05] 77C97F1Bh no debug info, Module=C:\Windows\SYSTEM32\ntdll.dll 10.0.20348.2340 (WinBuild.160101.0800)
Line=3047 in Netweb.clw NT 14.21
loop x = 1 to self.RequestData.DataStringTheory.records()
self.SessionId = self.RequestData.DataStringTheory.getline(x) !self.RequestData.SessionId
if self.SessionId <> ''
! test for web socket connections before deleting the session.
if not self.webserver &= null and not self.webserver.WebSocketServer &= null and |
self.webserver.WebSocketServer.IsWebSocketSession(self.SessionId) = 0
self.NotifyDeleteSession()
self.DeleteSession()
else
self.TouchSession()
End
End
end
in xfile 4.31 line 135
xFileBase.Construct PROCEDURE
CODE
This program has performed an illegal operation and will now be restarted.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Program : C:\Apps\IstprHost\IstprHost.exe
Version :
At : 17:06:55 on 2024/05/08
Workstation: : istpr
User Name: : Administrator
Reported error : EXCEPTION_ACCESS_VIOLATION - Error reading data at : 20202244h
Windows : Win 10 - 10.0.20348
Clarion : 0.9
Thread : 4 Field : 0 Event : 0 Keycode : 0
Error at address : 00FA0537h Line=3047 Proc=PROCESSREQUEST@F22NETWEBSERVERWORKERBASEsb Src=NetWeb.Clw
Stack Trace
0105B9D4h Line ?=135 no proc Src=xFiles.clw
[01] 00EC623Bh Line=66 Proc=WEBHANDLER@Fsb Src=IstprHost030.clw
[02] 7410E2FFh no line number no proc Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
74188C14h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
7416940Ah Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
[03] 7410DDF1h no line number no proc Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
74169420h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
74188C14h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
74188C94h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
7417D1D8h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
7417D1ECh Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
7417D208h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
7417D1FCh Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
7417D224h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
7417D218h Line ?=47 no proc Src=wxeh.cpp Module=C:\Apps\IstprHost\ClaRUN.dll 11.0.13630
[04] 77C97F4Dh no debug info, Module=C:\Windows\SYSTEM32\ntdll.dll 10.0.20348.2340 (WinBuild.160101.0800)
[05] 77C97F1Bh no debug info, Module=C:\Windows\SYSTEM32\ntdll.dll 10.0.20348.2340 (WinBuild.160101.0800)
Line=3047 in Netweb.clw NT 14.21
loop x = 1 to self.RequestData.DataStringTheory.records()
self.SessionId = self.RequestData.DataStringTheory.getline(x) !self.RequestData.SessionId
if self.SessionId <> ''
! test for web socket connections before deleting the session.
if not self.webserver &= null and not self.webserver.WebSocketServer &= null and |
self.webserver.WebSocketServer.IsWebSocketSession(self.SessionId) = 0
self.NotifyDeleteSession()
self.DeleteSession()
else
self.TouchSession()
End
End
end
in xfile 4.31 line 135
xFileBase.Construct PROCEDURE
CODE
14
Web Server - Ask For Help / Re: Webcam(79) example, give error with iPhone
« Last post by Robert Iliuta on May 08, 2024, 01:42:33 AM »Hallo Bruce,
>>yes, that tells you an error exists.
>>Now open the console in your Browser (F12) and see what the error actually is....
I can see that an error exits, but.. how can I do this (F12) on iPhone? on browser I know but on iPhone?
On my laptop (windows11) it works fine but on my iPhone no.
Please can you test and confirm it works on iPhone?
>>yes, that tells you an error exists.
>>Now open the console in your Browser (F12) and see what the error actually is....
I can see that an error exits, but.. how can I do this (F12) on iPhone? on browser I know but on iPhone?
On my laptop (windows11) it works fine but on my iPhone no.
Please can you test and confirm it works on iPhone?
15
Web Server - Ask For Help / Re: Barcode Scanner
« Last post by osquiabro on May 07, 2024, 03:19:19 AM »I can't believe that was the problem, but it was a copy from the other server where it does work or there was something in the cache because after ctrl-f5 it worked...
Seanh, thanks for the suggestion
Seanh, thanks for the suggestion
16
Web Server - Ask For Help / Re: disable moving columns
« Last post by osquiabro on May 07, 2024, 03:16:06 AM »all settings is off in webserver and Browse procedure, but i saw if a setting in websever layout Method is Flexbox always generate a column resizing, in table mode not generate but in my case use Flexbox.
Attached example
Attached example
17
Web Server - Ask For Help / Re: disable moving columns
« Last post by Bruce on May 06, 2024, 09:33:23 PM »You seem to have got "some of" the column resizing turned on for that browse, but not all of it.
I suggest you duplicate the effect in a shipping example and send it to me so I can see what combination of settings you have used, in the WebServer procedure, and the Browse procedure.
Cheers
Bruce
I suggest you duplicate the effect in a shipping example and send it to me so I can see what combination of settings you have used, in the WebServer procedure, and the Browse procedure.
Cheers
Bruce
18
Web Server - Ask For Help / Re: Here maps are slow with NT 14.21
« Last post by Bruce on May 06, 2024, 09:29:38 PM »No, sorry, I meant;
When implementing MapBox - did you write a derived class - derived from NetMaps, which just implemented the MapBox API's in place of the HERE Api's ?
Cheers
Bruce
When implementing MapBox - did you write a derived class - derived from NetMaps, which just implemented the MapBox API's in place of the HERE Api's ?
Cheers
Bruce
19
Web Server - Ask For Help / Re: Old wizard
« Last post by Bruce on May 06, 2024, 09:28:01 PM »noted.
20
E-Mail - Ask For Help / Supress display of error message when sending email
« Last post by hectorp on May 06, 2024, 07:39:00 PM »Hi
Using the email demo as a shell for a sending email service.
How can I suppress and log the error message so the service does not stop? The "suppress error messages" is on.
The "show message after..." option is off.
Attached is a screen with the error message I want to suppress.
TIA
NT 12.63
Using the email demo as a shell for a sending email service.
How can I suppress and log the error message so the service does not stop? The "suppress error messages" is on.
The "show message after..." option is off.
Attached is a screen with the error message I want to suppress.
TIA
NT 12.63